About
Pricing
Community
Teams
Start Free Trial
Log in
dave_sky
asked on
12/26/2012
Change datagridview row number from 0 to 1
Software vb.net & sql server 2005
I am looking for sample code to change datagridview row number to 1 if 0 in the useraddedrow event
Thanks!
.NET Programming
5
1
Last Comment
dave_sky
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Jorge Paulino
12/26/2012
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
dave_sky
12/26/2012
ASKER
That example will not work
Jorge Paulino
1/3/2013
why?
dave_sky
1/5/2013
ASKER
This is what I tried...
Private Sub TblBasicUpgradesDetailData
GridView_D
efaultValu
esNeeded(B
yVal sender As Object, _
ByVal e As System.Windows.Forms.DataG
ridViewRow
EventArgs)
_
Handles TblBasicUpgradesDetailData
GridView.D
efaultValu
esNeeded
With e.Row
.Cells("sysAppOrder").Valu
e = "1"
End With
End Sub
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
dave_sky
1/13/2013
ASKER
Thanks! It worked after all...