How to populate text box with a column from a dataset ?

R

Rob

I understand how to populate a list box from a data set... it has a
DataSource property... but how do you populate a Textbox with the the
contents of a column from a DataSet.

FYI - The data set will only contain one row of data.

Thanks !
 
C

Chris

Rob said:
I understand how to populate a list box from a data set... it has a
DataSource property... but how do you populate a Textbox with the the
contents of a column from a DataSet.

FYI - The data set will only contain one row of data.

Thanks !


Take a look at the Textbox.Databindings method. It will do what you
want and the help file example does the binding to a column in a dataset.

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top