Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Visual Basics passing data via URL

Posted on 2011-03-21
3
212 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
ID: 35180697
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
ID: 35180705
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
ID: 35180840
- this code might be useful for you:

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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB.net Progress Bar - Maximum Value too large 2 15
Iteration Help (Asp.net VB) 5 24
Modify file details 1 15
VB script to continue despite error 2 16
When it comes to writing scripts for a Client/Server computing environment it is essential to consider some way of enabling the authentication functionality within a script. This sort of consideration mainly comes into the picture when we are dealin…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

828 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