bind TextBoxes to DataTable?

ramone

Active member
Joined
Sep 29, 2005
Messages
26
hello,

how can i bind a group of textboxes to the fields of a datatable with only one record?? i whant they to fill automatically when the datatable is filled and to update the database when changed (vb.net 2003)

thank you
 
One record? What the hell is the point of the database?

Textboxes have a databindings collection.

Use it similar to this:
TextBox1.DataBindings.Add(dataTable, row)
 
>One record? What the hell is the point of the database?

One example would be to have a data table ("Counter") with one record of one column to track site visits (if you dont have a web page counter). In any case, he said one record in a data table, not one record in the entire database.
 
Back
Top