Soon after logging in to the system I try to access a page and the system sends me back to the login page and immediately after login again, this exception happens: "An exception of type 'System.NullReferenceException' occurred in MyProject. dll...
I have a page to get a path, which is Folder Browser Dialog and the path that is saved is like this: "C: \ ana \ Updates \ 2017 \ 2017_04 \"
I wanted from the path to save in a variable only the result: 2017 \ 2017_04.
I'm having a problem converting using the code below:
string vcto = "29/01/2018";
DateTime data;
Boolean resp = DateTime.TryParse(vcto, out data);
if (resp == false)
{
MessageBox.Show("ERRO...
In C # when you create a variable you create a value of a certain type, for example a bool can only receive true or false , a int integers and so on ...
I wanted to know how these values would be classified, true...
I have a model that was made by another developer where it has several fields like this:
.
.
.
Teste() teste = new Teste();
teste.campo_1 = 1;
teste.campo_2 = 2;
teste.campo_3 = 3;
teste.campo_4 = 4;
teste.campo_5 = 5;
How would you fill...
Is there any way to download a PDF embed into a web page? I am currently using the control WebBrowser.ShowSaveAsDialog() (Save As) but need to do without it, automatically using C # Windows Forms
My code:
private void button1_Click...
I'm trying to implement a list comparison method that checks to see if they match.
It should return true when the two lists passed by parameter are exactly the same (number of elements, elements and ordering).
I was able to develop part of...
Next, I'm doing the 2nd semester of the Information System course and I'm in great doubt of which language to devote myself to learning!
I would like to know what was the first language you learned and which is the most accepted language in t...
Problem
I want to get the last digits of this string , so I used the Substring() method, however I had to use the variable "numero" again within the Substring() method.
string numero = "123456789";
string final = numero....