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 |
Why Datareader is useful?
Explain the use of console application?
How do you rate yourself in .NET ?
3 Answers Infosys, Seneca Global,
what are the advantages and diadvantages of active reports over crystal reports ?
What is "Friend" in VB.Net?
Why should you use delegate?
How would you implement inheritance using vb.net?
Hi I am planning to take interview in VB.net,can any one share your interview Questions for a Entry-level job. Regards Lina
hello dear friends my problem is that i want to save images that is pictures in SQL server using vb.net can any body help me to do so please
What are option strict and option explicit?
what are the advantage in vb.net and different between vb and vb.net
6 Answers Data Entry Operator, Infosys, TCS, Zansa,
What are the different types of a stream?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)