Questions tagged as 'c#'

1
answer

Error passing parameters from the grid view of a form in the combo box

Good morning, I have a form where I consult my budgets and in it I have a grid view . When I double click on the grid line it opens another form. But I do not see the data that is in the line of my grid view the first item in my...
asked by 19.12.2016 / 13:27
1
answer

Voice Recognition without Grammar

I have an example of using Microsoft Speech Api, however all examples of Speech Recognition use Grammar for recognition only of what was pre-defined, I would like to know if I always have to use Grammars or if there is any way to recognize plain...
asked by 17.06.2017 / 16:13
0
answers

Error using dictionary in an IQueryable.Select () method to design chosen columns at runtime

The code fragment below is intended to use the Select () method to perform generic column projections on a query, according to a list of given column names. The program works fine if all the columns are of type 'string', but triggers the excepti...
asked by 16.06.2017 / 21:32
1
answer

JSON conversions

I am a beginner in C # and ASP.NET, and I have doubts about JSON and dictionaries I have a serialized dictionary that has been stored in the database with: var json = new System.Web.Script.Serialization.JavaScriptSerializer() .Serialize(fil...
asked by 05.09.2016 / 16:19
0
answers

String conversion error in JSONArray - Android Volley Method

My application receives a JSONString via web service from a C # API, as listed below: [{ "LimiteCredito": 123.00, "PessoasFuncionarioId": 16, "Id": 12, "Nome": "Cliente PF A", "DataEdicao": "\/Date(1485019536610-0200)\/", "UsuarioAlteracaoId":...
asked by 21.02.2017 / 15:04
0
answers

ENTITY truncating decimal value when doing SELECT

I have the following situation, When executing a query using LINQ, I have the following return 5178560,00 but if I run the same query, directly in SQL SERVER, it returns me 5179975,00 . It is not a display problem ... it already brings...
asked by 17.02.2017 / 19:59
1
answer

Add the same column by different criteria?

I'm trying to create a report using ReportViewer that makes a SUM in the same column by different criteria. My query works fine in PHPMyAdmin but in QueryBuilder the ReportViewer does not work and returns an error. How to solve...
asked by 29.09.2016 / 06:10
0
answers

Error running DotNet on Mac [closed]

Good evening, I installed the .Net Core as per instructions: link I created the project directory and when will I execute (via terminal), as command: dotnet new I get the error below:    Unhandled Exception: System.TypeInitializatio...
asked by 02.10.2016 / 23:57
1
answer

Retrieving a WindowsServices through an ASP.NET application

I have Windows Service that at certain time it does a scan on the machine and performs a backup, to a folder on a server in the network. The Service is running on the machines perfectly and running the backups without errors. Howeve...
asked by 04.10.2016 / 21:50
1
answer

Organize EDMX Classes

I have a DB First project that uses an EDMX to map the database. The tables have standard columns that exist in all of them and I could organize and leave the code much more generic if I could implement interfaces in it with these properties, bu...
asked by 30.09.2016 / 21:25