public string GetUserID(string pprid) { NotificationBL obj = new NotificationBL(); DataTable dt = new DataTable(); dt = obj.GetUserIDBL(pprid); string id = "0"; if (dt.Rows.Count > 0) { id = dt.Rows[0][0].ToString(); } return(id); }