DataGrid in VB.NET 2003

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Chandrajit
    New Member
    • Aug 2007
    • 13

    DataGrid in VB.NET 2003

    Hi,
    I am new to VB.NET and i have a problem regarding Datagrid.
    I have two forms in my application. On first form i have some controls like text box and combo box. and on second form i have Datagrid.
    When user double click on a particular row of datagrid i want to display the complete data of that selected row in first form's controls.

    Please help me
    Thanks in advance
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Kindly post the code that you have tried so far for reference of our experts.

    Comment

    • kunal pawar
      Contributor
      • Oct 2007
      • 297

      #3
      U can do this, on Selected Index event on Datagrid.
      Checked the selected row and do your Action

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        Originally posted by Chandrajit
        Hi,
        I am new to VB.NET and i have a problem regarding Datagrid.
        I have two forms in my application. On first form i have some controls like text box and combo box. and on second form i have Datagrid.
        When user double click on a particular row of datagrid i want to display the complete data of that selected row in first form's controls.

        Please help me
        Thanks in advance
        I know this feature would be nice (and if in your searching finds you the answer I'd be really happy if you shared it) But I don't think it's possible for the "DoubleClic k" action to take place. (Maybe if you use some JavaScript....b ut even then it would be really trick)

        You can set up the DataGrid so that it does something when selected....or if you want the user to be able to select it for some other logic, use a CommandButton to let them view the row's data.

        Comment

        Working...