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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

set value in bound datagrid column from text box entry?

Status
Not open for further replies.

tman72

Technical User
Jan 22, 2003
116
0
0
US
I have a form with multiple text boxes and a datagrid. On the datagrid, if I click to add a new row, I want the columns to be blank and the user to fill in the values except for one specific column which should be the same for all rows and it is based on a text box on my form. Is this possible? If so, how in the world would I go about this. I have done it by adding a new row to the datagrid after entering a value in the specified text box, but how would I update the column in the datagrid if someone added a new row by picking on the datagrid? Any help is appreciated and if I am totally out of line here, my apologies.
 
Nevermind, I figured it out. I was trying to get too fancy, but when I broke it down, I got it to work the way I wanted to.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top