예제 #1
0
 public DataTable GetMenuList(int ChildId)
 {
     SqlParameter[] param = new SqlParameter[1];
     param[0] = new SqlParameter("@childid", ChildId);
     return(ObjDb.ExecuteDataset("sp_get_menu", param).Tables[0]);;
 }
예제 #2
0
 public DataSet Select()
 {
     SqlParameter[] param = new SqlParameter[1];
     param[0] = new SqlParameter("@Mode", "ViewActive");
     return(objDBBridge.ExecuteDataset(_spName, param));
 }
예제 #3
0
    public DataTable setmatches()
    {
        DataSet mydataset = new DataSet();

        SqlParameter[] dtm = new SqlParameter[1];
        //dtm[0] = new SqlParameter("@setno", setno);
        //mybridge.ExecuteDataset("getsetmatches", dtm);

        DataTable dtmatches = new DataTable();

        dtmatches = mybridge.ExecuteDataset("getsetmatches", dtm).Tables[0];

        //if (dtmatches.Rows.Count != 0)
        //   {
        //       //DataRow drmatches;
        //dtmatches = dtmatches.Rows[0];

        return(dtmatches);
        //}
    }
예제 #4
0
 public DataSet GetAgentBalance()
 {
     SqlParameter[] param = new SqlParameter[1];
     param[0] = new SqlParameter("@Mode", "AgentBalance");
     return(objDBBridge.ExecuteDataset(_spName, param));
 }