本文整理汇总了C#中BaseLib.clsDBQueryManager.InsertUrl方法的典型用法代码示例。如果您正苦于以下问题:C# clsDBQueryManager.InsertUrl方法的具体用法?C# clsDBQueryManager.InsertUrl怎么用?C# clsDBQueryManager.InsertUrl使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BaseLib.clsDBQueryManager
的用法示例。
在下文中一共展示了clsDBQueryManager.InsertUrl方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: StartCampaignInBoardProGetDataWithPagination
//.........这里部分代码省略.........
PostdataForPagination = "keywords=" + Uri.EscapeDataString(SearchCriteria.Keyword) + "&title=" + Uri.EscapeDataString(Title) + "&fname=" + FirstName + "&lname=" + LastName + "&searchLocationType=" + Location + "&f_FG=" + Groups + "&countryCode=" + Country + "&viewCriteria=1&sortCriteria=R&facetsOrder=CC%2CN%2CG%2CI%2CPC%2CED%2CL%2CFG%2CTE%2CFA%2CSE%2CP%2CCS%2CF%2CDR&page_num=" + i + "&openFacets=N%2CCC%2CG";
PostResponce = HttpHelper.postFormData(new Uri(PostRequestURL), PostdataForPagination);
}
catch { }
}
clsDBQueryManager QM = new clsDBQueryManager();
if (PostResponce.Contains("/profile/view?id"))
{
List<string> PageSerchUrl = GettingAllUrl(PostResponce);
PageSerchUrl.Distinct();
if (PageSerchUrl.Count == 0)
{
AddToLogger("[ " + DateTime.Now + " ] => [ On the basis of your Account you can able to see " + RecordURL.Count + " Results ]");
break;
}
foreach (string item in PageSerchUrl)
{
if (SearchCriteria.starter)
{
if (item.Contains("pp_profile_photo_link") || item.Contains("vsrp_people_res_name") || item.Contains("profile/view?"))
{
try
{
string urlSerch = item;
if (urlSerch.Contains("vsrp_people_res_name"))
{
RecordURL.Add(urlSerch);
try
{
string query = "Insert Into tb_CampaignScraperURL (Url, Account, Status) Values ('" + urlSerch + "','" + Account + "','" + "Not Scraped');";
QM.InsertUrl(query);
}
catch
{ }
RecordURL = RecordURL.Distinct().ToList();
}
try
{
AddToLogger("[ " + DateTime.Now + " ] => [ " + urlSerch + " ]");
}
catch { }
}
catch { }
}
}
}
}
else if (!PostResponce.Contains("pp_profile_name_link") && PostResponce.Contains("Custom views are no longer supported. Please select either Basic or Expanded view"))
{
break;
}
#endregion
}
}
finalUrlCollection(RecordURL, ref HttpHelper, FileName);
}
#region For Else
else