private void DataBindingUnitType() { UnitTypeInfos unitInfo = new UnitTypeInfos(); DataSet ds = unitInfo.GetUnitTypeGroup(); UltraWebGrid1.DataSource = ds; UltraWebGrid1.DataBind(); }
private void SetUnitTypeDroupDownList() { UnitTypeInfos unitInfo = new UnitTypeInfos(); DataSet ds = unitInfo.GetUnitTypeGroup(); ddlUnitGroup.DataSource = ds; ddlUnitGroup.DataTextField = "UNIT_TYPE"; ddlUnitGroup.DataBind(); }