if (e.Row.RowType == DataControlRowType.DataRow)
{
try
{
LinkButton lnkbuttonPay = ((LinkButton)e.Row.Cells[2].FindControl("LinkButton1"));
if (lnkbuttonPay != null)
{
lnkbuttonPay.PostBackUrl = "../Vendor/PayVendorOutStanding.aspx?Vendorid=" + gvVender.DataKeys[e.Row.RowIndex].Values[0].ToString() + "&venderName=" + gvVender.DataKeys[e.Row.RowIndex].Values[1].ToString() + "&Outstanding=" + gvVender.DataKeys[e.Row.RowIndex].Values[2].ToString();
}
}
catch (Exception ex)
{
if (Master.CurrentUser != null)
SLStopException.WriteEventLogs(ex, Constants.Database_Connection_Name, string.Empty + "-Admin");
else
SLStopException.WriteEventLogs(ex, Constants.Database_Connection_Name, "Anonymous-Admin");
}
}
Thursday, October 9, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment