locked
OnGetRowValues Problem RRS feed

  • Question

  • User-526700008 posted

    Hi

    I am working on a problem in VS 2019 ASP.NET VB.

    There is a bunch of text boxes on the web form that is populated from a GridView. The GridView is populated using an SQL View. When the user selects a row from the GridView using the Select button on the GridView the text boxes are populated with the values from the GridView.

    The problem is that when the database column name DEPTID is included in the grid.GetRowValues string it does not return any values. When you take out the DEPTID it works fine. All the other values are returned if you remove DEPTID.

    Monday, April 26, 2021 9:17 AM

All replies

  • User1065476709 posted

    Hi oosmaan,

    There is a bunch of text boxes on the web form that is populated from a GridView. The GridView is populated using an SQL View. When the user selects a row from the GridView using the Select button on the GridView the text boxes are populated with the values from the GridView.

    Please check if the field name in the GridView is correct. can you show me your code and the table structure of the database? I need to reproduce your problem.

    Best regards,

    Sam

    Tuesday, April 27, 2021 1:40 AM