Questions tagged as 'c#'

0
answers

C # - how to create a Population Pyramid Chart?

Good morning, I'm having a hard time creating a population pyramid chart, which would look something like this: Does anyone know a way to create something similar?     
asked by 16.01.2018 / 14:25
0
answers

C # Windows Forms - Integrated Database

I will develop a Desktop application, and this application will access Local Database, my question is: If I make an application that accesses SQL Server normally, when I generate the release version, will I have to install SQL Server on my cl...
asked by 15.01.2018 / 17:27
0
answers

Insert with compound objects

I get this json { "Name": "Teste", "ExpirationDate": "/Date(1515703416000-0200)/", "Program": { "Id": 1 }, "Resource":{ "Id": 1 }, "InsertDate": "/Date(1515703416000-0200)/", "InsertUserId": 8, "LastUpdateDate...
asked by 15.01.2018 / 15:16
1
answer

Installing RestSharp on PCamar Projects Xamarin.Forms

How do I install RestSharp in a PCL project (Xamarin.Forms). You are giving this error while installing:    The 'RestSharp 106.3.0-alpha0002' package could not be installed.   You are trying to install this package on a project that is intend...
asked by 14.01.2018 / 01:07
1
answer

comr radiobutton problem asp mvc

Good evening, I'm trying to popular varis radiobutton according to the value contained in my database, but I'm not able to do it. Here is the view with the radiobutton @model GuialetoLMS.Models.GuialetoModel @foreach (var choice in Model.Ve...
asked by 13.01.2018 / 01:49
0
answers

Website slowness when using SignalR for notifications

Good morning, I'm developing a site to run in local intranet format on IIS . With asp.net ADO technologies in the WebForms format, I'm using the SignalR library to monitor a simple table in SQL Server Express vi...
asked by 13.01.2018 / 13:21
0
answers

Which is faster? Search given on the Bank or reading a cookie?

Well, in your opinion, what would be best in this situation? I'm working on an Asp MVC and Entity Framework site. I have a table of federative units where I have (simplifying) 3 columns Id, StateName, StateName. Example: 1, Minas Gerais, Mina...
asked by 13.01.2018 / 18:11
1
answer

Validator console

Good evening, I need to program a user validator in C # (I own Visual studio). In the console style. I need a value of "id=" in the URL to be changed from a .txt list. link idatualnalista & pc = 05 If you have such a message on th...
asked by 12.01.2018 / 07:37
1
answer

How to pass a value to a list and leave it static?

I have a list of objects that I'm filling it in as follows: var props = type.GetRuntimeProperties(); var obj = new T(); for (int i = 0; i < readerCache.Count; i++) { var prop = props.Single(x => x.GetColumnName().ToLower() == reade...
asked by 11.01.2018 / 23:20
0
answers

Modify database access data in the app.config file after running the project "publish"

Hello, I created an application in C # and for access to the database I did the following: In the app.config file I have created the following: <add name="MyDatabase" connectionString="server=192.168.10.100;user id=usuario;password=senh...
asked by 10.01.2018 / 22:45