Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

ASP.net C# Accessing DataKey.Value from a non-gridview event handler

Options
  • 12-09-2008 4:05pm
    #1
    Registered Users Posts: 2,791 ✭✭✭


    Hi,

    Is this possible? I have the Row Index for the selected item in the grid. However, my event is not a Gridview event and I need to access the Primary Key of the selected item.

    I wouldn't have thought it difficult but I've spent a full day on this and gotten nowhere.

    Thanks
    John


Comments

  • Registered Users Posts: 2,791 ✭✭✭John_Mc


    John_Mc wrote: »
    Hi,

    Is this possible? I have the Row Index for the selected item in the grid. However, my event is not a Gridview event and I need to access the Primary Key of the selected item.

    I wouldn't have thought it difficult but I've spent a full day on this and gotten nowhere.

    Thanks
    John

    Nevermind, I got it now... think all it took was for me to post on here :rolleyes:


Advertisement