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. Help Needed

Help Needed

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

    Hi I want to pass a column value of datagrid from form1 to form2. It is not passing the value. can anyone help me to solve this issue. the column has to display only text join, but it has to pass the databasevalue. following is the code. DataTable dt = new DataTable(); DataRow dr; DataView dv; if (dbReader != null) { dt.Columns.Add(new DataColumn("Join" , typeof(string))); while (dbReader.Read()) { dr = dt.NewRow(); StringBuilder strTop = new StringBuilder(""); strTop.Append(ShowImageNew(dbReader)); strTop.Append("
    "); strTop.Append("

    "> strTop.Append(""); dr[0] = "

    [Join](joinInGroup.aspx?Category =)

    "; dt.Rows.Add(dr); } } thanks

    R 1 Reply Last reply
    0
    • P perms

      Hi I want to pass a column value of datagrid from form1 to form2. It is not passing the value. can anyone help me to solve this issue. the column has to display only text join, but it has to pass the databasevalue. following is the code. DataTable dt = new DataTable(); DataRow dr; DataView dv; if (dbReader != null) { dt.Columns.Add(new DataColumn("Join" , typeof(string))); while (dbReader.Read()) { dr = dt.NewRow(); StringBuilder strTop = new StringBuilder(""); strTop.Append(ShowImageNew(dbReader)); strTop.Append("
      "); strTop.Append("

      "> strTop.Append(""); dr[0] = "

      [Join](joinInGroup.aspx?Category =)

      "; dt.Rows.Add(dr); } } thanks

      R Offline
      R Offline
      R Thomas 0
      wrote on last edited by
      #2

      I am sorry but, I have to ask, how are u passing the values to the other page? if all you want is to pass a value from one page to another, why dont u try using a query string? or storing in a cookie perhaps? "Rejoice always, pray without ceasing, in everything give thanks; for this is the will of God in Christ Jesus for you."1Thess. 5:16-18

      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