Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 372
  • Last Modified:

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
0
CompGenHosp
Asked:
CompGenHosp
  • 2
  • 2
1 Solution
 
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
 
Carl TawnSystems 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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now