private void BindLeads() { int userid = Convert.ToInt32(Request.Cookies["UserID"].Value); List <LeadData> lstLeadsData = leadHelper.GetLeadsByUserID(userid); lstOfLeads.DataSource = lstLeadsData; lstOfLeads.DataBind(); }
private void BindLeads() { int userid = Convert.ToInt32(Request.QueryString["UserID"].ToString()); List <LeadData> lstLeadsData = leadHelper.GetLeadsByUserID(userid); lstOfLeads.DataSource = lstLeadsData; lstOfLeads.DataBind(); }