Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



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

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

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

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

Post New Answer

More VB.NET Interview Questions

What is the difference between vb 6 and vb.net?

0 Answers  


The default back end of the VB is

1 Answers   Hexaware,


Explain the difference between value and reference types?

0 Answers  


what are the types of threading models in VB.net ?

1 Answers   Satyam,


What is the difference b/w Readonly Variable and Constant Variable?

7 Answers   Ksb, Sonata,


Tell me how many .net languages can a single .net dll contain?

0 Answers  


Can you please explain the difference between c# and vb.net?

0 Answers  


What is VB.Net?

3 Answers   Ksb,


Can we use Vb.Net and C# language simultaneously in one .Net application?

0 Answers   PUCIT,


Explain global assembly cache (gac)?

0 Answers  


What are the different variables in vb.net?

0 Answers  


How many ways the function can return values?

0 Answers  


Categories