Safeer Safeer

Safeer Safeer

  • NA
  • 201
  • 37.9k

combofill error

Aug 22 2013 6:53 AM

Error   : 1    Method must have a return type 




public cmbsfill()
        {
            classsp spclass=new classsp();
            ddlsclass.DataSource=spclass.ClassViewall();
            ddlsclass.DataValueField="classId";
            ddlsclass.DataTextField="className";
            ddlsclass.DataBind();
            ddlsclass.Items.Insert(0,"--Select--");
        }

Answers (12)