different sub's in datagrid?

Results 1 to 2 of 2

Thread: different sub's in datagrid?

  1. #1
    Join Date
    Dec 1969

    Default different sub's in datagrid?

    I put 3 different buttoncolumns in my datagrid,...and need it to run a different sub based on the link clicked.....How do I manage that? In the &#060;asp:datagrid properties...I have: OnItemCommand="doDetails"<BR><BR>But How can I use this with 3 different linking subs? Each sub calls a different page. Can I cheat by using the onItemEdit & onItemSelect when that&#039;s not what they&#039;re doing????

  2. #2
    Join Date
    Dec 1969

    Default RE: different sub's in datagrid?

    I still dont understand ur peoblem fully.. But then if my understanding is right... u have 3 buttons columns.. based on which one being clicked u want to do certain operation.. ??<BR><BR>If this is it.. u can cheat &#060; as u have said &#062; bu puttin Edit ,Select and Delete command ! I did try to invoke a diff procedure.. but it didn;t work for me also!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts