Questions tagged as 'c#'

1
answer

I can not find the reason for FormatExcpetion

Good evening guys, with a little problem in a basic test program that I'm doing, could anyone help me?    Error: The input string was not in an incorrect format. (FormatException)       in System.Number.StringToNumber (String str, NumberStyl...
asked by 23.03.2016 / 03:43
1
answer

ASP.NET vs Intraweb

As I come from PHP and I'm starting now with ASP.NET and I'm really raw, I'm going to need to argue about .NET for one of the owners of the company, and it develops in IntraWEB. For my vision of WEB, the structure of .NET is much better to work...
asked by 18.01.2016 / 14:09
2
answers

Problem with Jquery dialog

I have a ListView that creates some buttons dynamically according to IdPassoWorkflow, and according to the step I need presents a message to the user confirms whether or not to execute the action, except that the Jquery dialog wind...
asked by 01.12.2015 / 18:56
2
answers

ID is null, when I enter the details through the index

When I enter the registration details by the ID index it is always null.    link Driver Details: public ActionResult Detalhes(int? id) { var disponibilidade = db.Disponibilidade.Where(d => d.DisponibilidadeID ==...
asked by 15.12.2015 / 20:53
1
answer

What does "Inconsistent modifiers style" mean in Resharper?

Resharper is suggesting the following code change: Note: The classe Pagamento has public methods. Why the suggestion internal and not public ?
asked by 06.12.2015 / 15:48
2
answers

How to close splash screen?

I've developed a splash screen for my application. It is working perfectly, it opens and directs to Form2 . But I realized that when I close Form2 , I have to stop debugging through Visual Studio, as it looks like splash is active...
asked by 24.08.2015 / 14:26
1
answer

SQLite deployment along with .Net application

I finished the C # app with SQLite, but I saw that I need to send it along with the base and the SQLite DLL. What SQLite DLL files do I need to append and what folder do I have to play these files? The installation of the program will be done...
asked by 20.08.2015 / 15:19
1
answer

RDLC report in an internal project folder?

I created a system with C # and WinForms and to create my reports I created an internal folder in the project with the name of reports , in this folder I create the RDLC for display in ReportViewer and it works fine when I'm develop...
asked by 30.09.2016 / 08:50
3
answers

What is the difference between SmtpClient.SendAsync and SmtpClient.Send () using Thread?

What is the difference between using SmtpClient.SendAsync() and creating threads and running SmtpClient.Send() for sending messages? Is there a lot of difference in performance or resource consumption?     
asked by 05.10.2016 / 15:07
1
answer

Understanding directive #line

I'm trying to understand the #line directive. I read in this documentation and I was able to understand the applicability of #line hidden but not #line [any_numer]. Taking as an example a App.g.i.cs file that is...
asked by 29.09.2016 / 17:56