Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 Passig parameter from grid?????

Author  Topic 

kwikwisi
Constraint Violating Yak Guru

283 Posts

Posted - 2008-04-10 : 21:42:47
Hi ,

i have datagrid and template colum with anchor tag.
when i click this link ,i want to go to another page by passing id(contain in grid) as prameter.
i don't know how can i get id of this row.
Plz help me!

kwikwisi
Constraint Violating Yak Guru

283 Posts

Posted - 2008-04-10 : 22:18:36
hi
this is my template.
<ItemTemplate>
<a href="viewstaffans.aspx?userid=" + '<%#eval("UserID")%>' >
<%#eval("noques")%>
</a>
</ItemTemplate>

but i got javascript erro
Go to Top of Page
   

- Advertisement -