Beispiel #1
0
        public DataSet Get_Schemes_Record(int?id)
        {
            SQL_PARAMETER[] sql = new SQL_PARAMETER[1];

            if (!string.IsNullOrEmpty(id.ToString()))
            {
                sql[0] = new SQL_PARAMETER("@id", DbType.Int32, id);
            }
            else
            {
                sql[0] = new SQL_PARAMETER("@id", DbType.Int32, DBNull.Value);
            }
            DataSet ds = CM_SERVER_DB.GetDataSet("Api_Get_Schemes_Record", sql);

            return(ds);
        }
Beispiel #2
0
        public DataSet Get_District_Allocation()
        {
            DataSet ds = CM_SERVER_DB.GetDataSet("Api_Get_District_Allocation");

            return(ds);
        }