DataGridView Data Bound Changes

I want to make changes while DataGridView is populated. (the code in Windows VB 2008)
When I use Web I use the following function:
Private Sub DataGrid2_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Handles DataGrid2.ItemDataBound

What is the syntax for DataGridView in Windows VB
CompGenHospAsked:
Who is Participating?
 
Carl TawnConnect With a Mentor Systems and Integration DeveloperCommented:
It depends what you need to do from that event. But there is a very simple example of handling the event here:

    http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.rowsadded.aspx
0
 
Meir RivkinFull stack Software EngineerCommented:
do u mean in winforms?
0
 
CompGenHospAuthor Commented:
Yes
0
 
Carl TawnSystems and Integration DeveloperCommented:
The RowsAdded event of the DataGridView serves the same purpose.
0
 
CompGenHospAuthor Commented:
Do you have an example of the code/function? Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.