public void BindStudyMaterial() { Processing P = new Processing(); ddlMaterial.DataSource = P.BindMaterialData(); ddlMaterial.DataTextField = "CatTypeName"; ddlMaterial.DataValueField = "CatTypeID"; ddlMaterial.DataBind(); }