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. General Programming
  3. Visual Basic
  4. Adding a Unbound Image Column to Datagrid

Adding a Unbound Image Column to Datagrid

Scheduled Pinned Locked Moved Visual Basic
databasequestion
3 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.
  • U Offline
    U Offline
    User 4417354
    wrote on last edited by
    #1

    Hi there, hope someone can assist me on this. Ive got a datatable that gets Data from SQL. Now what I want to do is add a unbound Image datacolumn to this datatable. But the image must be a linkbutton. When its gets click it should redirect to a page carrying over the other datagrid Colums as parameters.For instanse ------------------------------------------- Col1 | Col2| Col3| Col4 | NewImageColumn -------------------------------------------- Row1 Row1 Row1 Row1 Row1 Row2 Row2 ROw2 Row2 Row2 Row3 Row3 Row3 Row3 Row3 Lets assume the DataTable has 3 rows When clicking on the NewImageColumn on lets say row 2 it should Redirect(pgSomepage.aspx? Row2.Col1 & Row2.Col2 & Row2.Col3 & Row2.Col4

    T 1 Reply Last reply
    0
    • U User 4417354

      Hi there, hope someone can assist me on this. Ive got a datatable that gets Data from SQL. Now what I want to do is add a unbound Image datacolumn to this datatable. But the image must be a linkbutton. When its gets click it should redirect to a page carrying over the other datagrid Colums as parameters.For instanse ------------------------------------------- Col1 | Col2| Col3| Col4 | NewImageColumn -------------------------------------------- Row1 Row1 Row1 Row1 Row1 Row2 Row2 ROw2 Row2 Row2 Row3 Row3 Row3 Row3 Row3 Lets assume the DataTable has 3 rows When clicking on the NewImageColumn on lets say row 2 it should Redirect(pgSomepage.aspx? Row2.Col1 & Row2.Col2 & Row2.Col3 & Row2.Col4

      T Offline
      T Offline
      Tom Deketelaere
      wrote on last edited by
      #2

      Member 4420534 wrote:

      redirect to a page carrying over the other datagrid Colums as parameters.

      Sounds like this is a web application? Try the ASP.NET[^] forum.

      U 1 Reply Last reply
      0
      • T Tom Deketelaere

        Member 4420534 wrote:

        redirect to a page carrying over the other datagrid Colums as parameters.

        Sounds like this is a web application? Try the ASP.NET[^] forum.

        U Offline
        U Offline
        User 4417354
        wrote on last edited by
        #3

        Yes indeed

        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