Exemple #1
0
 public static DataSet DBbind(string str)
 {
     Data_Factory D_F = new Data_Factory();
     string Str_Conn;
     Str_Conn = "data source=10.96.183.202,998;Initial Catalog=HPIMES_Rep;User ID=imes_qry;Password=imes_qry";//;App=HPEDITS105;
     DataSet ds = D_F.Conn(Str_Conn, str);
     return ds;
 }
Exemple #2
0
        //public string GetRNum(string Input)
        //{
        //    string Check="";
        //    if (Input.Length==0) {
        //        Check = "";
        //    }
        //    if (Code_Check(Input))
        //    {
        //        Check = Input;
        //    }
        //     return Check;
        //}
        //public string Code_Check()
        //{ 
        //    bool IsExist=false;
        //    AppHelper app=new AppHelper();
        //    app.ReadConfig("appSettings", "connectionstring");
        //    Data_Factory df = new Data_Factory();
            
        //    return IsExist;
        //}
        public bool Code_Check()
        {
            bool IsExist = false;
            AppHelper app = new AppHelper();
            app.ReadConfig("appSettings", "connectionstring");
            Data_Factory df = new Data_Factory();

            return IsExist;
        }