Ejemplo n.º 1
0
        public static string GetConnectionString()
        {
            string SQLInstance      = GlobalAsp.GetDataSource();
            string user             = SQLDataSource.GetUserDB();
            string pwd              = SQLDataSource.GetPwdDB();
            string ConnectionString = string.Format("data source={0};initial catalog=SIPD01DM;user id={1};password={2};Asynchronous Processing=true",
                                                    SQLInstance, user, pwd);

            return(ConnectionString);
        }
Ejemplo n.º 2
0
        public new HashTableofParameterRow GetFilters()
        {
            bool enableFilter             = string.IsNullOrEmpty(GlobalAsp.GetRequestIdPrev());
            HashTableofParameterRow hpars = new HashTableofParameterRow();

            //hpars.Add(DmtahunLookupControl.Instance.GetLookupParameterRow(this, false).SetEnable(enableFilter));
            //hpars.Add(new ParameterRowDate(this, ParameterRow.MODE_DATE_RANGE).SetEnable(enableFilter));
            //hpars.Add(new ParameterRowSelect(ConstantDict.GetColumnTitle("Status"),
            //    DmstatusLookupControl.GetListDataSingleton(), "Idstatus=Nmstatus", 30).SetAllowRefresh(false).SetEnable(enableFilter));
            return(hpars);
        }