Saturday, June 6, 2009

BIND MULTIPLE VALUES IN GRIDVIEW WITH ITEAM TEMPLATE

Text = '<%# DataBinder.Eval(Container.DataItem, "sResumeTitle") + " [" + DataBinder.Eval(Container.DataItem, "sCareerLevel") + "]" %>'
Just use DataBinder.Eval(Container.DataItem, "sResumeTitle") on muliple and join it with + sign. You can also put string on that.

<%# DataBinder.Eval(Container, "DataItem.ProfileID, DataItem.ManId", "temppage.aspx?profileid={0}&manid={1}") %>'

No comments:

Post a Comment