Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. GridView add Button

GridView add Button

Scheduled Pinned Locked Moved ASP.NET
databasecsharpjson
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Muhammad Nauman Yousuf
    wrote on last edited by
    #1

    Dear ALL, i need to have a button which is requireed to fire a function of my choice upon click from the gridview control. Actually I Want to get the row index or the unique key of the row to be passed as parameter to my function. So Far I have been able to get buttons to fire sql commands but not to fire my own .net function Thank you! Nauman

    "Mess with the Best, Die like the rest"

    B 1 Reply Last reply
    0
    • M Muhammad Nauman Yousuf

      Dear ALL, i need to have a button which is requireed to fire a function of my choice upon click from the gridview control. Actually I Want to get the row index or the unique key of the row to be passed as parameter to my function. So Far I have been able to get buttons to fire sql commands but not to fire my own .net function Thank you! Nauman

      "Mess with the Best, Die like the rest"

      B Offline
      B Offline
      Bino B
      wrote on last edited by
      #2

      u can use e.rowIndex www.codepal.co.nr

      Regards Sean http://www.codepal.co.nr

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups