I have a server based based applications that shows a grid. When the user clicks a row in the grid it shows details in a second grid for that row in a new form. For example the first grid may contain countries and the second grid cities. I can then exit the second form and choose another row from the first grid. The second form pops up again with information for the newly selected row in the first grid.
Below is the code for generating the second form. How can I achieve something similar in asp.net C# 3.5.
Private Sub dgvRIC_RowHeaderMouseDoubleClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellMouseEventArgs) Handles dgvRIC.RowHeaderMouseDoubleClick
'display form to allow user to ignore/concord record but only if user is permissioned
'for the asset type
Dim result As DialogResult
If strITC = "IN" Or strITC = "MY" Then
Dim ConcordIndex As New frmConcordIndex
result = ConcordIndex.ShowDialog
ElseIf strITC = "EQ" Or strITC = "FD" Or strITC = "WT" Then
Dim Concord As New frmConcord
result = Concord.ShowDialog