"And whoever is removed away from the Fire and admitted to Paradise, he indeed is successful." (The Holy Quran)
Excellent Windows VPS Hosting Imran Baloch MVP, MVB, MCP, MCTS, MCPD
sample code from u cant run when the second compiling F5 or ctrl+F5.......
please...........really urgent
It is now solved.
Please check this if any issue confim me.
If this is complete i will make this for every control.
"And whoever is removed away from the Fire and admitted to Paradise, he indeed is successful." (The Holy Quran)
Excellent Windows VPS Hosting Imran Baloch MVP, MVB, MCP, MCTS, MCPD
"And whoever is removed away from the Fire and admitted to Paradise, he indeed is successful." (The Holy Quran)
Excellent Windows VPS Hosting Imran Baloch MVP, MVB, MCP, MCTS, MCPD
how do i avoid the URL store inside the global.asax file
or
how to pass arguement variable link_id =318123 to the global.asax from default.aspx file
Put your db Logic here,
string s = "http://www.bing.com/search?q=Searching+Text+Box+In+Bing+Site&go=&form=QBRE&qs=n";//Default if (HttpContext.Current.Application["url"] != null)
s = HttpContext.Current.Application["url"].ToString();
"And whoever is removed away from the Fire and admitted to Paradise, he indeed is successful." (The Holy Quran)
Excellent Windows VPS Hosting Imran Baloch MVP, MVB, MCP, MCTS, MCPD
Edwin_Pro_Ne...
Member
12 Points
60 Posts
Re: Get viewsource data from HTML and yet set regular expression to ignore <TD></TD>
Nov 02, 2009 10:08 AM|LINK
thanks imran...
but why problem still exist ? like this...
i believe is inner tag problem like <b></b>, <font></font> as well........
how to prevent such error in order to get the <TD>'s data ?
one more question: how i going to select the first table ? since it's got 4 table over html source there, i only aimed for the first table.....
thans
imran_ku07
All-Star
45864 Points
7713 Posts
MVP
Re: Get viewsource data from HTML and yet set regular expression to ignore <TD></TD>
Nov 02, 2009 12:57 PM|LINK
I have solve your problem using your URL,
Please download it from here,
http://www.esnips.com/web/DynamicPage/
Excellent Windows VPS Hosting
Imran Baloch MVP, MVB, MCP, MCTS, MCPD
Edwin_Pro_Ne...
Member
12 Points
60 Posts
Re: Get viewsource data from HTML and yet set regular expression to ignore <TD></TD>
Nov 03, 2009 01:59 AM|LINK
since the missing <script> </script> at the code may cause the runtime problem, i already fix it like below
The problem now is
- why there had nothing while i quick for the run mode, second time perform compile running and there had nothing there ?
- can i just get the first table only rather than the whole page's table ?
thanks imran
Edwin_Pro_Ne...
Member
12 Points
60 Posts
Re: Get viewsource data from HTML and yet set regular expression to ignore <TD></TD>
Nov 03, 2009 02:37 AM|LINK
how do i get the data only refer to the particular cell, from the first table like below ?
Response.Write(tb.Rows[5].Cells[8].InnerHtml);
sample code from u cant run when the second compiling F5 or ctrl+F5.......
please...........really urgent
imran_ku07
All-Star
45864 Points
7713 Posts
MVP
Re: Get viewsource data from HTML and yet set regular expression to ignore <TD></TD>
Nov 03, 2009 06:14 AM|LINK
This is caching issue in ASP.NET, i have solved this, check this new version please.
HtmlTable tb = ((HtmlTable)myPage.FindControl("jjj1"));
1 for 1st Table 2 for Second and so on,
HtmlTable tb = ((HtmlTable)myPage.FindControl("jjj1"));
tb.Rows[5].Cells[8].InnerHtml
It is now solved.
Please check this if any issue confim me.
If this is complete i will make this for every control.
Excellent Windows VPS Hosting
Imran Baloch MVP, MVB, MCP, MCTS, MCPD
Edwin_Pro_Ne...
Member
12 Points
60 Posts
Re: Get viewsource data from HTML and yet set regular expression to ignore <TD></TD>
Nov 03, 2009 06:20 AM|LINK
the link demo that u gave to me still the same ?
http://www.esnips.com/web/DynamicPage/ ???
imran_ku07
All-Star
45864 Points
7713 Posts
MVP
Re: Get viewsource data from HTML and yet set regular expression to ignore <TD></TD>
Nov 03, 2009 06:27 AM|LINK
Yes i had deleted old one,
http://www.esnips.com/web/DynamicPage
Excellent Windows VPS Hosting
Imran Baloch MVP, MVB, MCP, MCTS, MCPD
Edwin_Pro_Ne...
Member
12 Points
60 Posts
Re: Get viewsource data from HTML and yet set regular expression to ignore <TD></TD>
Nov 03, 2009 07:00 AM|LINK
hey, bro imran
the code already ok for me....
i just replaced the code as below..
From:
HtmlTable tb = ((HtmlTable)myPage.FindControl("jjj1 . + i.String()"));// old codeTo:
HtmlTable tb = ((HtmlTable)myPage.FindControl("jjj1")); //new code
but the problem now is.....
--The first table keep repeat while display in the web browser
how to avoid ?
--And the URL is store inside the Global.asax file, how to prevent store the url (http://www.nowgoal.com/OddsComp.aspx?id=318123) in global.asax file
since i need to pass the id like id from the database URL must like (http://www.nowgoal.com/OddsComp.aspx?id= + variable)
can I put the code inside the aspx.cs file for me the pass the variable value ?
Edwin_Pro_Ne...
Member
12 Points
60 Posts
Re: Get viewsource data from HTML and yet set regular expression to ignore <TD></TD>
Nov 03, 2009 07:11 AM|LINK
the important now is
how do i avoid the URL store inside the global.asax file
or
how to pass arguement variable link_id =318123 to the global.asax from default.aspx file
imran_ku07
All-Star
45864 Points
7713 Posts
MVP
Re: Get viewsource data from HTML and yet set regular expression to ignore <TD></TD>
Nov 03, 2009 07:35 AM|LINK
Put your db Logic here,
string s = "http://www.bing.com/search?q=Searching+Text+Box+In+Bing+Site&go=&form=QBRE&qs=n";//Defaultif (HttpContext.Current.Application["url"] != null)s = HttpContext.Current.Application["url"].ToString();
DB Logic here
string s="http://www.nowgoal.com/OddsComp.aspx?id="+DBResult
Excellent Windows VPS Hosting
Imran Baloch MVP, MVB, MCP, MCTS, MCPD