You need to execute a database query using the database access classes, get the result to some data class (dataset, datatable, datareader, or a scalar variable) then save the desired result(s) into the textboxes using the .Text property. It sounds like perhaps you need to look at some tutorials on ADO.NET and ASP.NET.
|