Questions tagged as 'c#'

1
answer

How to apply a mask in these cases?

How to put mask on item @item.CPFCNPJDevedor ? @foreach (var item in Model.Result) { <tr> @if (Permissoes.Where(x => x.Acao == "EditChassiCrvGravame" || x.Acao == "...
asked by 07.05.2015 / 22:08
3
answers

Error updating data

I have a base repository where I only run CRUD. When working with one die at a time, it works normally. However, I needed to make a modification and send several records to be edited at once. But in doing so, I get an error. When you c...
asked by 12.05.2015 / 17:00
1
answer

How to debug ASP.NET applications or Webservices in IIS

I need to debug my application that consumes a Webservice and would like to be able to debug Webservice in a Visual Studio window and the application in another, but I can not make local connection of the Android emulator to the local machine....
asked by 23.04.2015 / 13:36
1
answer

How to show "wait, loading data" using asynchronous programming?

How can I use async programming with Async and Await so that it appears in the middle of the "Wait for data loading" grid while searching for data in the database and populating with the DataTable in the Grid? Programming in Windows Form and...
asked by 30.04.2015 / 22:20
1
answer

Reporting

Good Night, it must be simple, but I'm breaking my head and it's not going. I made a report of the college project "Pieces in Stock" and it is working perfectly. When I ran the tests the DateTime with the time was reset, then I set the...
asked by 04.05.2015 / 03:38
1
answer

Reset to self-increment

I have a problem with my base fingers. I have the sending code as auto increment but whenever I delete a sending code the value does not reset or is not restarted is always increasing. I wanted to know how to reset the number ... for example...
asked by 23.05.2015 / 16:22
2
answers

Right-click options menu in selected row in datagrid

Hello, I have the following problem: I have several records in datagrid and I want the moment I select a record and right click on it, a menu with options for the selected line appears. The only options in this menu are delete, details and...
asked by 26.05.2015 / 15:38
2
answers

Send Email Login and Password C # windows Form

I saw how to send email when the user forgets the password and put up a different code but all gave errors. I think something was missing and could anyone help me? follow the codes if (txtLogin.Text != "") { Usuario...
asked by 24.05.2015 / 16:37
1
answer

Better performance on a system in WPF

How to leave a system in high performance? Follow a pattern of MVVM projects? I have the following XAML, but when I run it hangs at the time of passing the focus to other textBox . Why? My system gets very slow, I do not understan...
asked by 26.05.2015 / 14:38
1
answer

Open form maximized in full screen

I have a main form which contains all the system options and I would like to know how to open this maximized on the whole screen, if possible, adapting the different resolutions. FORM IMAGE CODE namespace Projeto_Funcionario { publi...
asked by 30.03.2015 / 02:21