Answer the question
In order to leave comments, you need to log in
How can I see in the database if new data has been entered?
Just started to delve into it all, so do not hit hard.
if (msg.Text == "/start")
{
if (sql.State == ConnectionState.Closed)
{
sql.Open(); //Открываем sql подключение
SqlCommand command = new SqlCommand("INSERT INTO Info (Id, Users) VALUES (1, 'OneTwoThree')", sql);
await command.ExecuteNonQueryAsync();
sql.Close();
}
}
if (msg.Text == "/start")
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question