hi Mohan
 
Try this :
 
<ItemTemplate>
<asp:HyperLink Runat=server NavigateUrl='<%#GetParameterisedURL("Quotes.aspx",Convert.ToInt32(Container.DataItem("Indent_no")),Convert.ToInt32(Container.DataItem("st_no")))%>'
></asp:HyperLink>
                              </ItemTemplate>
                            </asp:TemplateColumn>

 

 

//in code-behind

protected string GetParameterisedURL(string vstrFileName,int vintIndentNo, int vintStNo)
{

  return vstrFileName+"?ind="+vintIndentNo.ToString()+"&st="+vintStNo.ToString();

}

 
 
p.s : the function can be made more generalized.

Hope this helps
Thanx and Regards
mohanraj <[EMAIL PROTECTED]> wrote:
Hi :

  how to pass multiple parameters in asp:Hyperlink tag...
  but even this is not helping me to pass..



<asp:TemplateColumn>
<ItemTemplate>
<asp:HyperLink Runat=server NavigateUrl='<%# "quotes.aspx?ind=" +
Container.DataItem("Indent_no") + "&st=" +Container.DataItem("st_no")
%>'></asp:HyperLink>
                              </ItemTemplate>
                            </asp:TemplateColumn>

  any one can help me in this..

Regards,

J. Mohanraj



Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to