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. Regarding displaying images in datagrid

Regarding displaying images in datagrid

Scheduled Pinned Locked Moved ASP.NET
databasedockerjsonhelpquestion
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.
  • S Offline
    S Offline
    sdaniel_cst
    wrote on last edited by
    #1

    I tried to display images from a database in to a datagrid.... The images are coming one below the other. I would like to display images as 4 rows and 4 columns in a page and the rest of the images in another page.. In a datalist it is possible but there is no paging in datalist.. so i cant use it.. the code i have written [&IdPadre=<%# DataBinder.Eval(Container.DataItem, "IdPrenda") %>">](Colecciones.aspx?Id=<%# DataBinder.Eval(Container.DataItem, ) Please Help.... Thanks in advance

    sdaniel_cst

    _ P E 3 Replies Last reply
    0
    • S sdaniel_cst

      I tried to display images from a database in to a datagrid.... The images are coming one below the other. I would like to display images as 4 rows and 4 columns in a page and the rest of the images in another page.. In a datalist it is possible but there is no paging in datalist.. so i cant use it.. the code i have written [&IdPadre=<%# DataBinder.Eval(Container.DataItem, "IdPrenda") %>">](Colecciones.aspx?Id=<%# DataBinder.Eval(Container.DataItem, ) Please Help.... Thanks in advance

      sdaniel_cst

      _ Offline
      _ Offline
      _AK_
      wrote on last edited by
      #2

      I think datalist will better suit for your requirement. And for paging you can implement custom paging with the datalist.

      Best Regards, Apurva Kaushal

      1 Reply Last reply
      0
      • S sdaniel_cst

        I tried to display images from a database in to a datagrid.... The images are coming one below the other. I would like to display images as 4 rows and 4 columns in a page and the rest of the images in another page.. In a datalist it is possible but there is no paging in datalist.. so i cant use it.. the code i have written [&IdPadre=<%# DataBinder.Eval(Container.DataItem, "IdPrenda") %>">](Colecciones.aspx?Id=<%# DataBinder.Eval(Container.DataItem, ) Please Help.... Thanks in advance

        sdaniel_cst

        P Offline
        P Offline
        postmaster programmingknowledge com
        wrote on last edited by
        #3

        There is an example at http://www.programmingknowledge.com/ImageUpload.aspx[^]

        1 Reply Last reply
        0
        • S sdaniel_cst

          I tried to display images from a database in to a datagrid.... The images are coming one below the other. I would like to display images as 4 rows and 4 columns in a page and the rest of the images in another page.. In a datalist it is possible but there is no paging in datalist.. so i cant use it.. the code i have written [&IdPadre=<%# DataBinder.Eval(Container.DataItem, "IdPrenda") %>">](Colecciones.aspx?Id=<%# DataBinder.Eval(Container.DataItem, ) Please Help.... Thanks in advance

          sdaniel_cst

          E Offline
          E Offline
          ednrgc
          wrote on last edited by
          #4

          Have you tried a template column with a table in it to format your pictures?

          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