Tuesday, March 31, 2009

Bind Link Button In DataGrid With Java Script

< asp:TemplateColumn HeaderText="ShowStudent" >
< ItemTemplate >
< a href='javascript: NewWindowForStudent( < % # DataBinder . Eval ( Container . DataItem, "Roll")%>,<%#DataBinder.Eval(Container.DataItem, "Name")%>)'>Show Student< /a >
< / ItemTemplate >
< / asp:TemplateColumn >

No comments: