473,327 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Value passing through url

78
hi
I want to get a value passing through url. What i do is i just bind menu and passes a value through url. In Menuitem click event i just write code to get the value.
Expand|Select|Wrap|Line Numbers
  1.  Protected Sub Menu2_MenuItemClick(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.MenuEventArgs) Handles Menu2.MenuItemClick
  2.         Label1.Text = Request.QueryString("Category")
  3.     End Sub
  4.  
but it is not working. can anybody help me to solve this problem. thank you.
Jan 11 '12 #1
4 1634
PsychoCoder
465 Expert Mod 256MB
Can you define "But it is not working". It would make it much easier to come up with a solution
Jan 11 '12 #2
Ammu
78
at run time when i click a link label box simply display "label". but i can see value passing through the url.
Jan 11 '12 #3
PsychoCoder
465 Expert Mod 256MB
Show how your URL looks in the address bar
Jan 11 '12 #4
Ammu
78
Expand|Select|Wrap|Line Numbers
  1. http://localhost:2657/samplewebsite/search.aspx?Category=C
  2.  
Jan 11 '12 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

19
by: daniel | last post by:
This is a pretty basic-level question, but I'd really like to know, so thanks for any help or pointers you can provide (like what I would google for ;o) Suppose: <code> myFunc() {
8
by: yo_mismo | last post by:
Hi, I send a parameter from a Form (Form1) to an other form (Form2): Form2 frm2 = new Form2(); frm2.number_frm2 = number_frm1; frm2.Show(); The problem i got is that the variable...
2
by: yo_mismo | last post by:
Hi, I send a parameter from a Form (Form1) to an other form (Form2): Form2 frm2 = new Form2(); frm2.number_frm2 = number_frm1; frm2.Show(); The problem i got is that the variable...
1
by: google | last post by:
hi, i am doing a list of links for a modular website, i was useing a loop to make a form for the links and link description so that i could have as menny as i liked and called the text box link<%=...
2
by: bubzilla | last post by:
hi got a little prob with data types. I´m reading data from a socket in to a unsigned char buf; . Now, lets say there are 60Bytes written into the array( but it is always different). Now i...
1
by: Jerim79 | last post by:
I have a simple 3 page registration form. One form, one "data validation" script and one "insert into database" script. The customer bounces back and forth from the form to the verification script...
1
by: topksharma | last post by:
Hi Friends, I m a new programmer to c# and i have a problem that i need to send data from one window form to another form , i m using constructor but its not working , pls help me , it is showing...
7
by: mimsc | last post by:
ok I canged my code around...no more javascript...the problem now is the 'weatherStae" parameter is passing 'null' in request.getParameter...any suggestions?? 1st jsp: <form name="form1"...
1
by: naveenbj | last post by:
I just wanted to know that how can i pass a value from one variable to another variable
5
Fary4u
by: Fary4u | last post by:
Hi i need to use javascript variable & asp variable passing the value how can i used the both on the query string ? here is my code function reload(form){ var...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.