con.Open(); mycmd = new OleDbCommand("select * from marksheet", con); OleDbDataReader myread; myread = mycmd.ExecuteReader(); while (myread.Read()) {textBox1.Text = myread[0].ToString();} con.Close();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)