public void CreateLinksSrc10Owner() { var parser = new Source10OwnershipParser(this.TextURL.Text, _investigationId); var log = parser.ParseOwnership(false); LabelGen10.Text = log.Replace("\r\n", "<br />\r\n"); }
public void ProcessSrc10OwnershipQ(DtstCOI.company_idDataTable q) { const string url = "http://sec.gov/cgi-bin/own-disp?action=getissuer&CIK="; foreach (var company in q) { Log("processing company " + company.company_name); var parser = new Source10OwnershipParser(url + company.identifier, _investigationID); Log(parser.ParseOwnership(false)); } }
protected void Page_Load(object sender, EventArgs e) { var dal = new CompanyManager(); var q = dal.GetCompanyIDsByType("CIK"); var outp = new Batch2WebAux(Response, BatchManager.BatchNamesEnum.SECOwnership); const string url = "http://sec.gov/cgi-bin/own-disp?action=getissuer&CIK="; outp.AddHead(); var c = 0D; foreach (var company in q) { c++; outp.WriteLine("processing company " + company.company_name); var parser = new Source10OwnershipParser(url + company.identifier, 99); outp.WriteLine(parser.ParseOwnership(false)); outp.SetProgress(c / (double)q.Rows.Count); } outp.AddFoot(); outp.Save(); }