In Datagrid after adding row, how you will assign the value
for each cell to currently added new row?
Answers were Sorted based on User's Feedback
Answer / prajakta
I will write code of value assignment in UserAddedRow event
of grid.
eg.
Name of grid -grdSticker.
const iRollNo as integer=0
grdsticker.rows(e.rowindex-1).cells(iRollNo).value=7
Is This Answer Correct ? | 5 Yes | 4 No |
Answer / 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 |
What are jagged arrarys ?
Hi I am planning to take interview in VB.net,can any one share your interview Questions for a Entry-level job. Regards Lina
What is the main purpose of garbage collector?
How to view an assembly?
Explain how the .net framework performs automatic memory management.
hi dear ! thank u for replying to my question regarding adding third party software in vb.net .My next question is that i haven created Data base in SQL server 2000 for Library and has connected that with VB and VB.net separately but it only works on single computer and when i takes my software to another computer on same Network it does not work . Can any body help me what i do to solve. Regards!
What are the types of generations in garbage collector?
sir i want to ask you that how can i fetch or get sql data into texboxes.where i want to show record in specific texboxes related to student information.when i click on button all data show on texboxes when i put id or name plz inform me on my id
What is the Difference between Dataset and Datareader?
What are the differences between vb.net and c#, related to oops concepts
What is the relation between Garbage collector and finalize and destructor?
Explain what observations between vb.net and vc#.net?