I have a text box , Combo box and a dgv in a form . I want to insert text box input and Combo box selected item into dgv. combo box is bound to database table column. can someone provide me with a link or sample code?
Thanks
rony001 0 Light Poster
Recommended Answers
Jump to PostThe Cells collection is a property of the Row class which is indexed in the Rows property of the DGV. You have to identify which row and which cell to insert the data.
Jump to PostWhen you change the name in the loop declaration you have to use that name(rw) inside the loop, not the previous one(dgv).
All 7 Replies
Santanu.Das 125 Santanu Das
rony001 0 Light Poster
tinstaafl 1,176 Posting Maven
Santanu.Das 125 Santanu Das
rony001 0 Light Poster
tinstaafl 1,176 Posting Maven
Santanu.Das 125 Santanu Das
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.