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 |
How to store decimal data in .net?
Thank you for replying to my Question regarding Barcodes in VB.net. My next question is that how to use Barcode Fonts in VB.net I need a small code to Generate Barcodes in VB.net from a string of Values. This is the only problem i am left with in my project. Any body can help me please.
Difference between VB dll and assemblies in .NET ?
List the different types of assembly?
ColumnMapping belongs to which namespaces?
What is the difference between manifest and metadata?
what's ArrayList in .Net (VB.Net or C#).What's the advantageous using ArrayList.
hello friends.. when i deployment my project in the client machine that is successful but whenever i try to run my project using .exe file then it gives me error "<filename>.exe is not a valid win32 application." what i do somebody halp me pls
What is the use of system.diagnostics.process class?
How to retrieve images in sql server database through vb.net?
Explain about the performance of visual basic?
in my windows application i have to show excelwork sheetwhich is stored in the local system can any one tell me the code?