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--");
}