Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,656 members, 7,955,370 topics. Date: Sunday, 22 September 2024 at 12:52 AM |
Nairaland Forum / Science/Technology / Programming / Vb.net Web Page (1045 Views)
How To Deploy An Asp.net Web Application / Stunning Web Page Wit Asp.net / Post Ur Vb 6.0 Questions Here (2) (3) (4)
Vb.net Web Page by bigafees: 11:48am On Jun 28, 2010 |
Please how can i load another page in vb.net web application using vb code, unlike normal window application that will use .show what code do this vb.net web?, i'm talking of hyperlink tool, i need vb code that will load another page on my web & not ASP.net code, but if Asp.net will help i dont mind. Thank |
Re: Vb.net Web Page by Beaf: 5:30pm On Jun 28, 2010 |
Server.Execute("whatever.aspx") is your toy. You need to remove any html that will be repeated. Server.Execute is overloaded, so you might need to look it up if you are going to pass objects. It is an extremly powerful method, e.g. you can "cheat" the ASP.NET pipeline and actually change HttpHandlers dynamically etc. StringWriter stringWriter = new StringWriter() Server.Execute("whatever.aspx", stringWriter) 'Note overload method signature is different from the first example above. Response.Write(stringWriter.ToString()) You can also do Server.Execute(IHttpHandler) etc, etc, etc |
Re: Vb.net Web Page by paule: 8:53am On Jun 30, 2010 |
good advice from Beaf. you can also use Server.Execute("WebForm2.aspx",True) |
Re: Vb.net Web Page by bigafees: 11:10am On Jun 30, 2010 |
Thanks Guys, u are great |
(1) (Reply)
Recommend Vb.net Text Book / Help / Hi, I Need Help With This Php Code :
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6 |