|
-
Sep 2nd, 2010, 07:37 PM
#1
Thread Starter
Lively Member
Rows cannot be programmatically added to the DataGridView's rows collection
how to add Rows programmatically to the DataGridView's rows collection when the control is data-bound?
here is my code but i got error as "Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bound? "
dtagrdScaleoffinance.Rows.Add(New Object() {Me.txtAccountNumber.Text, Me.txtAccountnumberScaleOfFinance.Text, Me.cmbxCropCode.SelectedIndex, (Me.mskdeffectivedate.Text)
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
|