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