Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Posted

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)

Posted

>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 don't have a web page counter). In any case, he said one record in a data table, not one record in the entire database.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...