void GetStatusDetails() { DataSet ds = new DataSet(); try { ds = objBALUser.GetStatusMaster(0); if (ds.Tables.Count > 0) { dropStatus.DataSource = ds.Tables[0]; dropStatus.DataTextField = "status_desc"; dropStatus.DataValueField = "status_id"; dropStatus.DataBind(); } dropStatus.Items.Insert(0, new ListItem("-Select-", "0")); } catch (Exception ex) { } }