Questions tagged as 'c#'

2
answers

Xamarin WebView Keyboard above the site

I have a project in xamarin forms, with a webview inside it. When clicking on any input the keyboard appears, however it overlays the input of the html page. Does anyone know how to solve it?     
asked by 24.11.2017 / 17:52
2
answers

E-mail sending C # Error Invalid HELO name

My doubts are as follows, in the system I develop you have the option to send direct mail from the system, such as NFe emails and files. I use the following setting to send the email. MailMessage mensagemEmail = new MailMessage(); mensagemEma...
asked by 20.11.2017 / 17:11
1
answer

Wait 3 seconds when you click close the console

How can I make it wait 3 seconds to close the console? Thread.Sleep(3000) I just do not know how to apply to the console. Can you explain? He would press the X button to close the console and wait for 3 seconds to close     
asked by 19.11.2017 / 23:10
2
answers

Change column data [closed]

How can I change the column data? I wanted to change some bits to false but I do not know how. using (SqlCommand cmdadd = new SqlCommand("INSERT into Usuarios (Cadastro) VALUES (@Cadastro)", connection2)) { cmdadd.Parameters.Add(ne...
asked by 19.11.2017 / 13:39
0
answers

Why is the Activated event triggered more than once?

I need an event, which is triggered every time the user clicks the Form , I tried to use the Activated event but the event is triggered 8 times for the same click p> Would you like to understand why it is fired so often? Upon...
asked by 19.11.2017 / 14:26
0
answers

How can I use CSHTML (Razor) in ASPX WebForm projects?

I was taking a look at in this question in English Stackoverflow, because I really find it very confusing to use the ASPX files and I find the Razor syntax more friendly. When trying to add a file with the extension .cshtml the proje...
asked by 01.12.2017 / 12:43
0
answers

Error updating page

I'm having an error that when updating the page its gridview executes the RowCommand of the button clicked and re-adds a product to the cart that I created, I would like to know if there is a way to block this without being javascript. Thank you...
asked by 01.12.2017 / 12:33
1
answer

Missing Session after requisition

Well guys, I have a problem that I have not been able to solve until now. It only starts to occur after an ajax request , where I generate a document and return it to url in a json , to be fetched in javascript , be assigned to a link and b...
asked by 16.11.2017 / 13:16
0
answers

Two Form Error on an asp.net page

I have a problem with the ASP.NET form. My master page has a form, and the daughter page also has a form that passes some javascript actions to add a product to the cart. But when I click on any button that has this master page, it automatically...
asked by 13.11.2017 / 18:27
1
answer

DataGridView loads data but displays blank

I have a DataGridView, it loads the data, but it does not display them. private void AtualizarGrid() { AlunoDAL alunoDAL = new AlunoDAL(); var bindingList = alunoDAL.CarregarAlunos(); AlunosColecao alunosColecao...
asked by 30.11.2017 / 18:30