public DataSet getAmount(int FHIDFK, long Studentid, string Csession, string Month) { DefaultersMOdel model = new DefaultersMOdel(); model.FHIDFK = FHIDFK; model.StudentIDFK = Studentid; model.CSession = Csession; model.Months = Month; DataSet ds = Ddal.totalAmount(model); if (ds.Tables[0].Rows.Count > 0) { return(ds); } else { return(ds = null); } }
public DataSet SDetails() { DefaultersMOdel Dmodel = new DefaultersMOdel(); Dmodel.CSession = Session["Current_Session"].ToString(); Dmodel.Classid = Convert.ToInt64(ddlclasses.SelectedValue); Dmodel.Sectionid = Convert.ToInt64(ddlsection.SelectedValue); DataSet ds = Ddal.getStudentDetails(Dmodel); if (ds.Tables[0].Rows.Count > 0) { return(ds); } else { return(ds = null); } }