示例#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);
            }
        }