public DataSet get_VIPClassificationAll(clsVIPClassification objinfo) { dataAccess = new DataAccess(); Object[] parameters = new Object[6] { objinfo.VipType, objinfo.VipDescription, objinfo.EffFromDate, objinfo.EffFronDate1, objinfo.EffToDate, objinfo.EffToDate1 }; return(dataAccess.LoadDataSet(parameters, "P_Adm_VIPClassification_ListAll", "VIPClassification_List")); }
public DataSet get_VIPClassificationClient(clsVIPClassification objinfo) { dataAccess = new DataAccess(); Object[] parameters = new Object[1] { objinfo.VipID }; return(dataAccess.LoadDataSet(parameters, "P_Client_VIPClassification_List", "VIPClassification_List")); }
public DataSet Save_VIPClassification(clsVIPClassification objsave) { dataAccess = new DataAccess(); Object[] parameters = new Object[] { objsave.VipID, objsave.VipType, objsave.VipDescription, objsave.EffFromDate, objsave.EffToDate, objsave.LoginUserId, objsave.PageMethod }; return(dataAccess.LoadDataSet(parameters, "P_Adm_VIPClassification_InsertUpdate", "VIPClassification_InsertUpdate")); }
public void BindVIPType(DropDownList ddlVIPType) { clsVIPClassification objVIPInfo = new clsVIPClassification(); string VIPType = string.Empty; objVIPInfo.VipID = 0; DataSet dsVIPType = new DataSet(); dsVIPType = get_VIPClassificationClient(objVIPInfo); if (dsVIPType.Tables[0].Rows.Count > 0) { ddlVIPType.DataSource = dsVIPType; ddlVIPType.DataTextField = "VipType"; ddlVIPType.DataBind(); ddlVIPType.Items.Insert(0, new ListItem("None", "0")); } }