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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. display data of a datatable as a text of link button in a gride view.

display data of a datatable as a text of link button in a gride view.

Scheduled Pinned Locked Moved ASP.NET
4 Posts 4 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.
  • R Offline
    R Offline
    rinku soni 23
    wrote on last edited by
    #1

    hello every one .I have datatable which i assign as a source of grideview.Now i want bind column of that datatable with a link button which is inside the gride.Tell me the idea.

    C A F 3 Replies Last reply
    0
    • R rinku soni 23

      hello every one .I have datatable which i assign as a source of grideview.Now i want bind column of that datatable with a link button which is inside the gride.Tell me the idea.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      What have you tried ? Do you know anything about what you're doing at all ? This is beyond trivial, I am sorry. Are you defining your own columns for the gridview, or are you just letting it autogenerate ? If you define your own columns, it's immediately apparent how to define one as a link.

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      1 Reply Last reply
      0
      • R rinku soni 23

        hello every one .I have datatable which i assign as a source of grideview.Now i want bind column of that datatable with a link button which is inside the gride.Tell me the idea.

        A Offline
        A Offline
        Arun Jacob
        wrote on last edited by
        #3

        Are you using a Template column?Use Eval/Bind to Bind to the required column.

        Arun Jacob http://codepronet.blogspot.com/

        1 Reply Last reply
        0
        • R rinku soni 23

          hello every one .I have datatable which i assign as a source of grideview.Now i want bind column of that datatable with a link button which is inside the gride.Tell me the idea.

          F Offline
          F Offline
          Fahad Ahmed Khan
          wrote on last edited by
          #4

          You can set the autogeneratecolumns=false in gridview properties and then use template column to bind your columns need any clarification post me a message

          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