示例#1
0
        /// <summary>
        /// This Method is used to Select data
        /// </summary>
        /// <param name="objCountry">Action</param>
        /// <returns>1 for success and -1 for fail</returns>
        public string RecordSelect(PropState objState, string UserName)
        {
            DllState objDal = new DllState();

            try
            {
                return(objDal.SelectState(objState, UserName));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
示例#2
0
        /// <summary>
        /// This Method is used to Select data
        /// </summary>
        /// <param name="objCountry">Action</param>
        /// <returns>1 for success and -1 for fail</returns>
        public string SelectStates(PropState objState)
        {
            DllState objDal = new DllState();

            try
            {
                return(objDal.CountryWiseState(objState));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }