Solved

DataGridView Data Bound Changes

Posted on 2011-02-17
5
356 Views
Last Modified: 2012-08-14
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
0
Comment
Question by:CompGenHosp
  • 2
  • 2
5 Comments
 
LVL 42

Expert Comment

by:sedgwick
ID: 34915961
do u mean in winforms?
0
 

Author Comment

by:CompGenHosp
ID: 34916114
Yes
0
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 34916135
The RowsAdded event of the DataGridView serves the same purpose.
0
 

Author Comment

by:CompGenHosp
ID: 35037339
Do you have an example of the code/function? Thanks
0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 35038060
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question