GridView.DataKeys

Discussion in 'ASP.NET 2.0' started by vruttan, May 2, 2005.

  1. In VS2005 Beta 1.0 I could retrieve data from a grid by using code similar to the following: GridView1.DataKeys(GridView1.SelectedIndex).Value("Name").ToString

    In VS2005 Beta 2.0 I get the following warning when Iwrite the code: "Late bound resolution; run time errors could occur"

    When I run the code I do getan error.
    Any suggestion on how to pull data out of a selected row of a gridview.
    Vince
     
  2. Can you post your code so we can see more details? A URL to replicate the issue will help too.
     
  3. Vince,
    Did you find what the issue was when you ran into the "Late bound resolution; runtime errors could occur". I'm seeing the same precompile message.
    Thanks
     

Share This Page