|
-
Oct 10th, 2002, 12:56 AM
#1
Thread Starter
Addicted Member
how to add values from textboxes to datagrid
hi all,
i have 3 textboxes, empno, lastname and firstname and a datagrid in a form. My question is how do you add data from 3 input textboxes to the datagrid at runtime. The datagrid has 3 columns, empno, lastname, firstname.
thanks
-
Oct 10th, 2002, 01:41 AM
#2
You add it too the datasource the datagrid is connected to.
-
Oct 10th, 2002, 08:24 PM
#3
Thread Starter
Addicted Member
Hi,
you're correct! I made the datagrid bounded to a datasource. Then when data are inputted to the 3 textboxes, i issued an insert statement and refreshed the grid.
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|