Read a vector A with 12 elements. The vector must only accept the input of values that are divisible by 2 or 3. The input of values in the vector must be validated by the program and not by the user. The program should display the numbers ins...
How to know the last record of the ID in the table and play the number in a textblock?
using (_connection = new MySqlConnection("Database=test;Data Source=localhost;User Id=root;Password=teste;SslMode=None;"))
{
System.Tex...
I have a method that gets a object that can be both int and string , does anyone know a way to entity framework interpret the object!?
I know I can make a if and do the check, but I'm trying to do it in a sim...
In a% of users, if the user clicked edit / delete their own account, I would like to know how to hide the row or disable the GridView button but only for the logged in user, or click the button to edit / delete an error in order to preven...
I'm doing a project with a firebird database but, at the time of authenticating the user, it is returning true even if there is no user registered in the database with the if (ER.HasRows) line, so it is not falling in else . I'm not...
I want to pass the selected rows from one datagrid to another, for example, I select the rows, I click on a button , and they switch to another. Is to make a add - remove items.
I have two datagrids , one will receive Products , and the...
How do I report to c # ?
Do I use a third-party component or do I make an HTML page?
What do you use on a day-to-day basis?
I ask, therefore, I need to print reports that follow a government standard. In delphi I do with my feet in...
In chat was asked something about data entry validation to avoid catch error out of range allowed. I found the question interesting and pity that was not posted here, I am posting:
public static T[] ReplaceRange<T>(this T[]input, T[] r...
I would like to know why, when the program was run, it does not even show Console.WriteLine("nome: {0}", nome); on the screen?
string endereço, cpf, telefone, nome;
Console.WriteLine("Digite o nome. ");
nome = C...