Working with Mysql in C#?

Hi how to display information from the database to each record was assigned to a new textbox'have I would pull the data from the table9b3c4a4491f948a8a8a0bae2624dbee4.PNG There is 10 records and I have a c# program there are 10 textbox and I want that each record was assigned to the new textbox

I'm about doing so but stop

MySqlConnectionStringBuilder conn_string = new MySqlConnectionStringBuilder();
 conn_string.Server = "localhost";
 conn_string.UserID = "root";
 conn_string.Password = "";
 conn_string.Database = "testovaya tablisa";

 MySqlConnection myConn = new MySqlConnection(conn_string.ToString());

 MySqlCommand command = myConn.CreateCommand();
 command.CommandText = "SELECT * FROM table";
 MySqlDataReader myReader;

 try {
 myReader = command.ExecuteReader();

 while (myReader.Read()) {

 } catch (Exception ex) {

I want to do this

I do not understand how each record to the new textbox
September 19th 19 at 13:25
1 answer
September 19th 19 at 13:27
while (myReader.Read()) {

var edit = new TextEdit();
edit.Text = "value"

I if I have 10 textbox ? - bria_Reinger82 commented on September 19th 19 at 13:30
Get) or set the Tag for example the record ID and add the ID column to the table. communicate via these records - Mittie22 commented on September 19th 19 at 13:33

Find more questions by tags C#