In Datagrid after adding row, how you will assign the value
for each cell to currently added new row?

Answer Posted / diji varghese

Private Sub DataGridView1_RowsAdded(ByVal sender As Object,
ByVal e As
System.Windows.Forms.DataGridViewRowsAddedEventArgs)
Handles DataGridView1.RowsAdded
Const iRollNo As Integer = 0
Me.DataGridView1.Rows(e.RowIndex).Cells
(iRollNo).Value = 7

End Sub

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by vb.net?

610


my project run very wel in my sytem yhen i am deploying my project on client machine ,after deployment i run my project then it show " can no find server name " what i do .

1557


What is option strict?

517


What is a static class?

592


Explain jagged array in vb.net?

564






What are all the parts of .net framework?

523


Described strong typing and weak typing?

624


Define naming convention?

622


Explain the components of common language runtime.

519


What is sorting in vb?

520


what is common language specification?

517


Explain about delegate?

513


Allowed program to auto-correct the database when loading a presentation.

1743


Explain the use of serialization and deserialization?

513


Which is the tool which can convert visual basic old version to .net compatibility version?

529