Questions tagged as 'c#'

2
answers

Insert with monthCalendar in MySql database and C #

I need to make a insert of date with monthCalendar in C# in database MySQL , except that the date format of MySQL is ( yyyy-MM-dd ) and I've already modified the code: I changed the input mode (% with%)...
asked by 06.11.2016 / 12:51
1
answer

ASP NET MVC 5 Dapper with SQL Server?

I'm creating an application with ASP.NET MVC5 , DAPPER , C# E SQL SERVER . The problem is that in the data listing, you are bringing the empty fields, except the ID field, which comes to zero (0). If anyone kno...
asked by 06.11.2016 / 18:50
1
answer

POST is not receiving JSON

I need some help with running a POST. Well, when I try to call my API ( link ) to execute a Post, I can not pass the JSON for her. The following is the API used: // POST: api/Teste public void Post([FromBody]string json) { ClassRetorn...
asked by 11.10.2016 / 04:51
2
answers

WinForms C # - Display upload form

I have a main WinForms and would like it to appear as long as the asynchronous task is processing, a new form (with GIF ) would only close when processing is finished. frmProcessor _frmProcessor = new frmProcessor();...
asked by 13.10.2016 / 18:39
1
answer

Understanding structures in the AssemblyInfo.cs file

Taking a look at the AssemblyInfo.cs file of a C # project I came across some structures that I am not recognizing. These are the lines: [assembly: AssemblyTitle("")] [assembly: AssemblyDescription ( "" )] [assembly: AssemblyConfigurati...
asked by 02.10.2016 / 00:08
1
answer

calling Enum by value [duplicate]

I created an enum: public enum EnumTipoBoleto { VazioErro=0, ConfigInicial = 1, Mensalidade = 2, Outros =3, DifMensal =4 } Now in some places I have the number and want to convert to enum...
asked by 30.09.2016 / 15:23
1
answer

Client Search by Name / Phone / Cpf JavaScript / C #

I have a page that lists the client, and I need to do a search by names, I have the method that does the research the problem and how to integrate it with the front end, looked for examples on the internet but I think my lack of notion let me un...
asked by 26.09.2016 / 15:23
1
answer

How to count how many instances of a program are running from a shared folder?

I'm developing an application that runs from a shared folder. In the same folder is the Access database. To avoid conflicts in Access, it will only be allowed to be run by only one user at a time, so two users on different machines are not allow...
asked by 22.09.2016 / 15:14
1
answer

Firebird Utilities in C #

How do I use library resources Firebird in C# : FbValidation , FbLog and FbStatistical ? I did not find any documentation of Firebird that could help me.     
asked by 22.09.2016 / 00:53
1
answer

Executing Query with SUM in HQL?

I'm trying to use SUM to add an attribute of an entity using HQL of NHibernate , but every time I run query returns empty. I'm following the example here but I still could not do it. How to do this? I'm trying...
asked by 05.10.2016 / 12:41