public void bindSyncLink() { DataSet ds = new DataSet(); if (!(null == Session["UserName"])) { ds = ObjStoreFront.GetAppInfoforPayment(Session["UserName"].ToString()); if (ds.Tables[0].Rows.Count > 0) { btnSycAppLink.Enabled = true; } else { btnSycAppLink.Enabled = false; } } }