No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hei i tried to fill DataGridView from MatchCollection anyone knows how to do this? thanks... [CODE] Regex objNotNaturalPattern = new Regex(@txtRegex.Text, RegexOptions.IgnoreCase); MatchCollection matches = objNotNaturalPattern.Matches(pagesource); int h = 0; lbResult.Text += "\n"; while (h < matches.Count) { Match m = matches[h]; for (int ctr = 1; ctr < m.Groups.Count; … |
|
Hei...i tried to make a program to scraping html, all is worked but i have a problem in the regex senteces but im not sure, [CODE]<a href="([^"]+)"><span>\d+</span>([^<]+)</a>\s*</li>[/CODE] this sentences should to show me just link and text and not \d+ but when I debugging i can se that come with … |
|
hei, im new around here, and i tried to display a image from sqlserver i didnt get error but the code dont display the image... thanks default.aspx [CODE] protected void Page_Load(object sender, EventArgs e) { string sql = string.Format("SELECT TOP 1 ItemId,Thumb FROM RubrikkImg.dbo.Attachment"); List<object[]> img = Db.GetData(sql); lblResult.Text = … |