Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dataview to textbox

Status
Not open for further replies.

russellmunday

Technical User
Jul 24, 2003
87
GB
I would like to know if it is possible to get information out of a dataset or dataview and into a textbox.
at the moment I query the table of a database and return a single record i would like to display this information in textboxes is this possible and if so has anyone got any examples.
Thanks
 
Sure, just set the datasource of the text box to the datatable that contains the data you want to display. Then there's a property that will let you specify the field to use, but I can't remember it's name.

-Rick

VB.Net Forum forum796 forum855 ASP.NET Forum
[monkey]I believe in killer coding ninja monkeys.[monkey]
 
I cant see datasource in the intellisense is there a reference i need to load first?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top