Hi,
I have found the answer,This is what I have done:
PostBackUrl='<%#GetUrl(DataBinder.Eval(Container.DataItem, "ProjectId")) %>'
and in CodeBehind,I have written the GetUrl function as below:
protected string GetUrl(object ProjectId)
{
return string.Format("~/Default2.aspx?ProjectId={0}", ProjectId);
}
Thanks for your help anyway!