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. How to Pass multiple arugumnets

How to Pass multiple arugumnets

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdockertutorial
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.
  • V Offline
    V Offline
    VenkataRamana Gali
    wrote on last edited by
    #1

    Hi In asp.net 1.1 datagrid, i have one template column in that i have link. for that link i am passing command arguments like this CommandArgument='<%# DataBinder.Eval(Container.DataItem, "id1")%>' I want to pass multiple values(id1, id2) through command argument. how to pass. can anyone tell syntax for this awaiting for reply regards GV Ramana

    D 1 Reply Last reply
    0
    • V VenkataRamana Gali

      Hi In asp.net 1.1 datagrid, i have one template column in that i have link. for that link i am passing command arguments like this CommandArgument='<%# DataBinder.Eval(Container.DataItem, "id1")%>' I want to pass multiple values(id1, id2) through command argument. how to pass. can anyone tell syntax for this awaiting for reply regards GV Ramana

      D Offline
      D Offline
      dwatkins dirq net
      wrote on last edited by
      #2

      I think you have to do a delimited string and parse it out in the event handler. IE: CommandArgument='<%# DataBinder.Eval(Container.DataItem, "id1") + "|" + DataBinder.Eval(Container.DataItem, "id2")%>' Dirk Watkins

      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