hi,

I used select statement to pick the data from table.
I don't how to display it in text box.

I used the following code.

cmd.CommandText = "SELECT grade FROM Marks WHERE ID = 111"
cmd.ExecuteReader()

I need to display grade in textbox. how to do that? (hope it must be simple..)
Can anyone give details abt datareader?

Thank You