|
-
April 23rd, 2012, 04:40 AM
#1
DataGridView Auto Number
I had the following code :
Dim row As Integer = 0
For row = 0 To pdgvDataGridView.RowCount - 1
pdgvDataGridView.Rows(row).Cells(0).Value = row + 1
Next
it's to add auto number into first column of each row. The codes running well, but after the codes completed, the first column of each row remain empty. Is there any settings or codes I miss out?
-
April 24th, 2012, 09:20 AM
#2
Re: DataGridView Auto Number
Works for me. What other code ya got?
-
June 15th, 2012, 02:33 AM
#3
Re: DataGridView Auto Number
http://forums.codeguru.com/images/smilies/wave.gif
Hello... i'm kinda have questions about datagridview....
i want to know how can i suppress the automatic entering or jump into another or the next row of datagridview while i was not totally complete to fill all the rows...... hope someone can answe or give me a hint in manipulating the datagridview... thanks...may Gad bless you all
-
June 15th, 2012, 02:36 AM
#4
Re: DataGridView Auto Number
...i would like to ask too
how can i put formulas to the datagridview where i want to input in row1 and row2 a value then the answer will be visible in the row3.....
can someone answer this..?
thans
GOd Bless po
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
|