Questions tagged as 'c#'

2
answers

Problems with slowness SQL LINQ C # Entity FrameWork

I'm using Entity frameWork, I have a list of objects (data taken from the database) with Client data, public virtual DbSet<clientes> clientes {get;set;} public IEnumerable<clientes> FindAll() { db.Configuration.LazyLoadingEnabl...
asked by 06.11.2015 / 22:13
1
answer

How to connect to SQL Server with VB.NET?

I have tried some five tutorials. See the code in C # string minhaString = "Server=.\sqlexpress;Trusted_Connection=true;" + "Timeout=10;" + "Database =bdcadastro;"; SqlConnection minhaConexao...
asked by 11.11.2015 / 00:36
1
answer

Use lambda expressions to refine the parameters of a for in C #

Good afternoon! I would like to ask a question, I am developing a collection code and at a certain point if it takes a for iterate the values in the list and then save the information in an item ... Until then, however, the problem arises bec...
asked by 13.11.2018 / 14:43
2
answers

Slow AJAX Problems in ASP .NET MVC C #

I'm having a slow response problem from my AJAX. I use the following code to search and return a list of results: Javascript function enviaBusca(url) { var resultado = $('#resultados'), mensagem = $('#mensagem'), palavra...
asked by 09.11.2018 / 16:48
1
answer

How do I show and select one of the digital certificates on my computer

In my work environment I have some certificates and I need to select one of them, I would like to know via VN.Net or C # code how do I display a list and choose the digital certificate that I need without having to assign this list of certificat...
asked by 05.02.2015 / 13:18
1
answer

How do I read a DataGrid, line by line?

I have a% wpf (%) being populated by an external data source. I need to rotate the entire grid, referring to the values of each row, column by column. How can this be done? What is the "heart" of data in a grid? Can I transform the data...
asked by 26.06.2014 / 21:16
1
answer

How to instantiate an object of this class in C #

I'm reading Caelum's handout on C # and object orientation, and I put the following code in Conta.cs : namespace Banco { class Conta { public int numero; public string nome; public double saldo; public...
asked by 13.11.2014 / 15:48
1
answer

Read a value inside a complex JSON in C #

Good morning everyone! I am new to C # and am having a hard time getting a value inside a complex Json. Json is this: { "id": "58e50b82-50b1-4f29-a2e8-a9a544013255", "timestamp": "2018-06-20T18:00:12.935Z", "lang": "pt-br", "result":...
asked by 25.06.2018 / 14:45
2
answers

VBA Migration to C # - V10 (CustomerID)

I needed help in validating a small customization of VBA for C #. In this case does CDU_CabVar1 not get the value of the CabecDoc.ModoPag field? The messages appear with correct value but the field does not get the value when the c...
asked by 04.07.2018 / 10:58
2
answers

Develop for iOS using C # in Visual Studio

I already developed in Java / Android, and wanted to develop for iOS, however the cost of having a Mac is expensive, I already have an iPhone. I saw that it was possible to develop using C # in Visual Studio for iOS. So, is Xamarin worth it?...
asked by 13.08.2014 / 02:17