Click here to Skip to main content
15,946,988 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have create one project using Visual Studio 2012 in VB.NET... I have create Form1 with DataGridView and Connect to my DataSet... And Create one more Form2 with same DataSet in detail View...
I have add one button in DataGridView.. When I click on that button it shows me same record in Form2 in detail view...

Code is given below:

Private Sub StudentTableDataGridView_CellContentClick(sender As Object, e As DataGridViewCellEventArgs) Handles StudentTableDataGridView.CellContentClick
If StudentTableDataGridView.Columns(e.ColumnIndex).Name = "Detail" Then
Dim m As String
m = StudentTableDataGridView.Rows(e.RowIndex).Cells("DataGridViewTextBoxColumn1").Value
Dim xx As New Form2
xx.AdminnoTextEdit.Text = m
xx.Show()
End If
End Sub

SAME THING I WANT TO DO IN DEVEXPRESS GRIDCONTROL.... PLEASE HELP..... IF YOU GIVE CODE OR SAMPLE... WILL BE BETTER....
PLEASE HELP.....
Posted

1 solution

As you're a customer of DevExpress, you could ask them for quick response(s).
Check their Demo[^], documentation[^]. And post your question(with clear & complete details) at their forum[^]
 
Share this answer
 
Comments
Member 10279246 25-Jan-14 6:58am    
Thank you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900