Solved

Visual Basics passing data via URL

Posted on 2011-03-21
3
209 Views
Last Modified: 2012-05-11
Hey

Im using visual studio and VB.

Im creating a form and i would like to retrieve names from the link.

So if i have a link = ~/Forum/forums.aspx?room=gen

on the next page i want to the the room= name.
How can i do this in vb??

0
Comment
Question by:runnerjp2005
3 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 500 total points
Comment Utility
How to: Pass Values Between ASP.NET Web Pages
http://msdn.microsoft.com/en-us/library/6c3yckfw.aspx


~/Forum/forums.aspx?room=gen

Dim s As String
s = Request.QueryString("room")
0
 
LVL 6

Expert Comment

by:kswathi
Comment Utility
In the your "Forum" folder check for the  forums.aspx page
In that page(forums.aspx), in the page load event you can write the following code:

 

If Request.QueryString("room") isNot Nothing And  Request.QueryString("room").ToString() Then
'Write your checking code here.
End If

Open in new window



0
 
LVL 23

Expert Comment

by:OP_Zaharin
Comment Utility
- this code might be useful for you:

http://msdn.microsoft.com/en-us/library/6c3yckfw.aspx
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

This is pretty cool.  The purpose of this VB Script is to help you document where JAR (Java ARchive) files and specifically java class files are located so that you can address issues seen with a client or that you can speak intelligently with a dev…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now