Пример #1
0
        public DataSet SelectUnSetProxyAccountData()
        {
            string  SelectQuery = "select * from RedditAccount where ProxyAddress='" + "" + "' AND ProxyPort='" + "" + "'";
            DataSet ds          = DataBaseHandler.SelectQuery(SelectQuery, "RedditAccount");

            return(ds);
        }
Пример #2
0
        public DataSet SelectUrlfromPropertyUrls(string CampaignName)
        {
            string  SelectQuery = "select id, PropertyUrls from PropertyUrls where CampaignName='" + CampaignName + "' and IsUsed = 0";
            DataSet ds          = DataBaseHandler.SelectQuery(SelectQuery, "PropertyUrls");

            return(ds);
        }
Пример #3
0
        public DataSet SelectSecondaryCategoryId(string name)
        {
            string  SelectQuery = "select id, PrimaryCategory from SecondaryCategory where CategoryName='" + name + "'";
            DataSet ds          = DataBaseHandler.SelectQuery(SelectQuery, "SecondaryCategory");

            return(ds);
        }
Пример #4
0
        public DataSet SelectStateCodeId(string name)
        {
            string  SelectQuery = "select id from State where StateCode='" + name + "'";
            DataSet ds          = DataBaseHandler.SelectQuery(SelectQuery, "State");

            return(ds);
        }
Пример #5
0
        public DataSet SelectUserDeatails()
        {
            string  SelectQuery = "select * from User_tb";
            DataSet ds          = DataBaseHandler.SelectQuery(SelectQuery, "User_tb");

            return(ds);
        }
Пример #6
0
        public DataSet SelectPrivateProxyDeatails()
        {
            string  SelectQuery = "SELECT * FROM Tb_ProxyDetails WHERE IsPublic = 1";
            DataSet ds          = DataBaseHandler.SelectQuery(SelectQuery, "Tb_ProxyDetails");

            return(ds);
        }
Пример #7
0
        public DataSet SelectLikeUrlByStatus(string status)
        {
            string  SelectQuery = "select LikeUrl,LikeTarget,CompleteTarget,Status from Tb_Url where Status='" + status + "'";
            DataSet ds          = DataBaseHandler.SelectQuery(SelectQuery, "Tb_Url");

            return(ds);
        }
Пример #8
0
        public DataSet SelectUrlData()
        {
            string  SelectQuery = "select StateName from State";
            DataSet ds          = DataBaseHandler.SelectQuery(SelectQuery, "State");

            return(ds);
        }
Пример #9
0
        public DataSet SelectUrl(string CampaignName)
        {
            string  SelectQuery = "select url from UrlStore where CampaignName='" + CampaignName + "'";
            DataSet ds          = DataBaseHandler.SelectQuery(SelectQuery, "UrlStore");

            return(ds);
        }
Пример #10
0
        public DataSet SelectCampaignIDbyCampaign(string campname)
        {
            string  SelectQuery = "select Campaign_id from Tb_Campaign where Campaign_name='" + campname + "'";
            DataSet ds          = DataBaseHandler.SelectQuery(SelectQuery, "Tb_Campaign");

            return(ds);
        }
Пример #11
0
        public DataSet SelectCampaignData()
        {
            string  SelectQuery = "select * from Tb_Campaign";
            DataSet ds          = DataBaseHandler.SelectQuery(SelectQuery, "Tb_Campaign");

            return(ds);
        }
Пример #12
0
        public DataSet SelectAccountData()
        {
            string  SelectQuery = "select * from Tb_Accounts";
            DataSet ds          = DataBaseHandler.SelectQuery(SelectQuery, "Tb_Accounts");

            return(ds);
        }
Пример #13
0
        public DataSet SelectUrlStore(string CampaignName)
        {
            DataSet ds          = new DataSet();
            string  SelectQuery = "Select url,CategoryId,StateId from UrlStore Where CampaignName ='" + CampaignName + "'";

            ds = DataBaseHandler.SelectQuery(SelectQuery, "UrlStore");
            return(ds);
        }
Пример #14
0
        public DataSet getUrlStoreInfo(string campaignName)
        {
            DataSet ds          = new DataSet();
            string  selectQuery = "Select url from UrlStore where CampaignName='" + campaignName + "'";

            ds = DataBaseHandler.SelectQuery(selectQuery, "UrlStore");
            return(ds);
        }
Пример #15
0
        public DataSet SelectSecondaryCategory(int CategoryId)
        {
            DataSet ds          = new DataSet();
            string  SelectQuery = "Select CategoryName from SecondaryCategory where id=" + CategoryId + "";

            ds = DataBaseHandler.SelectQuery(SelectQuery, "SecondaryCategory");
            return(ds);
        }
Пример #16
0
        public DataSet SelectCampaignUnique(string campaignName)
        {
            DataSet ds          = new DataSet();
            string  SelectQuery = "Select CampaignName from Campaign where CampaignName='" + campaignName + "'";

            ds = DataBaseHandler.SelectQuery(SelectQuery, "Campaign");
            return(ds);
        }
Пример #17
0
        public DataSet SelectCampaign()
        {
            DataSet ds          = new DataSet();
            string  SelectQuery = "Select CampaignName from Campaign";

            ds = DataBaseHandler.SelectQuery(SelectQuery, "Campaign");
            return(ds);
        }
Пример #18
0
        public DataSet getPropertyUrlsInfo(string campaignName)
        {
            DataSet ds          = new DataSet();
            string  selectQuery = "Select * from PropertyUrls where CampaignName='" + campaignName + "'";

            ds = DataBaseHandler.SelectQuery(selectQuery, "PropertyUrls");
            return(ds);
        }
Пример #19
0
        public DataSet SelectState(int StateId)
        {
            DataSet ds          = new DataSet();
            string  SelectQuery = "Select StateName from State where id=" + StateId + "";

            ds = DataBaseHandler.SelectQuery(SelectQuery, "State");
            return(ds);
        }
Пример #20
0
        public DataSet SelectProxyData()
        {
            DataSet ds          = new DataSet();
            string  SelectQuery = "Select Address,Port,UserName,Password from ProxyData";

            ds = DataBaseHandler.SelectQuery(SelectQuery, "ProxyData");
            return(ds);
        }
Пример #21
0
        public DataSet getAllPropertyInfo(string campaignName)
        {
            DataSet ds          = new DataSet();
            string  selectQuery = "Select Url,Address,City,Zip,Beds,Baths,Sqft,Lot,Type,YearOfBuilt,LastSold,Parking,Cooling,Heating,Fireplace,DaysOnZillow,MLSNumber,AdditionalFeatures,CountyName,CoveredParkingSpaces,LegalDescription,NearTransportation,Over55ActiveCommunity,ParcelNumber,RoofType,RoomCount,RoomTypes,RVParking,SecuritySystem,NoOfStories,StructureType,UnitCount,PropertyInfoId,Zestimate,ZestimateForRent from propertyinfo where CampaignName='" + campaignName + "'";

            ds = DataBaseHandler.SelectQuery(selectQuery, "propertyinfo");
            return(ds);
        }
Пример #22
0
        public DataSet getProxyCount()
        {
            DataSet ds = new DataSet();

            try
            {
                string SelectQuery = "Select Address,Port from ProxyData";
                ds = DataBaseHandler.SelectQuery(SelectQuery, "ProxyData");
                return(ds);
            }
            catch (Exception ex)
            {
                return(ds);
            }
        }