473,395 Members | 2,151 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,395 software developers and data experts.

how do I call a number at the end of a hyperlink?

I have a program that creates an html results page with:
item# | photo | title | description | price...etc
just like that on down the page. When someone mouses over which ever
one they want to see in detail, I somehow need for it to, when they
click on that result, to send out the item number of that selection to
the aspx file it is calling:
http://mysite.com/detail.aspx 'and pass the item number.'
How can I do that?

And, how can the aspx file, in vb code, pick up that number?

Thanks,
Trint
.Net programmer
tr********@hotmail.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #1
11 1118
* Trint Smith <tr********@hotmail.com> scripsit:
I have a program that creates an html results page with:
item# | photo | title | description | price...etc
just like that on down the page. When someone mouses over which ever
one they want to see in detail, I somehow need for it to, when they
click on that result, to send out the item number of that selection to
the aspx file it is calling:
http://mysite.com/detail.aspx 'and pass the item number.'
How can I do that?

And, how can the aspx file, in vb code, pick up that number?


I think you will have more success in this group:
news:microsoft.public.dotnet.framework.aspnet.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
microsoft.public.dotnet.framework.aspnet is a better group to ask this type
of questions I think...

but..
make your url like this:
http://mysite.com/detail.aspx?itemnumber=124

in your vb code:
call
Request.Params("itemnumber")
this will return 124
dominique

"Trint Smith" <tr********@hotmail.com> wrote in message
news:u6****************@TK2MSFTNGP12.phx.gbl...
I have a program that creates an html results page with:
item# | photo | title | description | price...etc
just like that on down the page. When someone mouses over which ever
one they want to see in detail, I somehow need for it to, when they
click on that result, to send out the item number of that selection to
the aspx file it is calling:
http://mysite.com/detail.aspx 'and pass the item number.'
How can I do that?

And, how can the aspx file, in vb code, pick up that number?

Thanks,
Trint
Net programmer
tr********@hotmail.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 20 '05 #3
Thanks,
Trint

.Net programmer
tr********@hotmail.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #4
Cor
Hi Trint,

You can put that number in a textbox (or an hidden textbox) and than get it
with

\\\
itemnumber = me.textbox1.text
///

Cor
I have a program that creates an html results page with:
item# | photo | title | description | price...etc
just like that on down the page. When someone mouses over which ever
one they want to see in detail, I somehow need for it to, when they
click on that result, to send out the item number of that selection to
the aspx file it is calling:
http://mysite.com/detail.aspx 'and pass the item number.'
How can I do that?

Nov 20 '05 #5
Cor
Hi Dominique,

This answer from you is classis asp "Get"

Asp.net has better solutions.

Just to attent you on it.
:-)
Cor
Nov 20 '05 #6
Cor
Hi Herfried,

I have a new link for you.

For VB.net language questions like this I think the best newsgroup to have
succes is.

news:microsoft.public.dotnet.languages.vb

:-)

Cor
Nov 20 '05 #7
you should say
asp.net has other solutions...
in this case the get method is a very good method :-)

"Cor" <no*@non.com> wrote in message
news:ea**************@TK2MSFTNGP09.phx.gbl...
Hi Dominique,

This answer from you is classis asp "Get"

Asp.net has better solutions.

Just to attent you on it.
:-)
Cor

Nov 20 '05 #8
Cor
Hi Dominique,

The "Get" I have always found one of the worse, it is so open in your url.

The Post would go, although asp.net has better methods I think (not my
textbox, but that can be a very easy solution while the OP was talking in my
idea about clientside scripting).

But there are better.

Cor
Nov 20 '05 #9
Cor
Dominique,

This is my opinion of course,

:-)

Cor
Nov 20 '05 #10
Cor,

* "Cor" <no*@non.com> scripsit:
I have a new link for you.

For VB.net language questions like this I think the best newsgroup to have
succes is.

news:microsoft.public.dotnet.languages.vb


Never seen this group...

;->

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #11
Thanks, sometimes, because of me using Visual Studio .NET and me writing
all the code in VB.NET, I am unsure where to ask the question because
the toolbox in vs is from where I create all my controls...I don't go
out and do anything (well, hardly ever) in ASP.NET manually. I just
wanted to let you pro's no why my questions seem to cross over.
Thanks,
Trint

.Net programmer
tr********@hotmail.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Fresh Air Rider | last post by:
Could anyone please tell me how I can call a function from a hyperlink in C# ? Examples of scenarios where this would be useful include :- Loop through a set of records in a repeater and have...
6
by: NB | last post by:
Hi Is there any way to call up the query design view from code? In my compiled-as-MDE app everything is hidden from end users. However, I want advanced user to have access to the query design...
5
by: Rob | last post by:
Help me, I'm just beginning with programming in Access 2000. I've tried the http://www.mvps.org/access/api/api0001.htm but it won't work in Access. What am i doing wrong. I don't have...
1
by: Badboy36 | last post by:
Hello user from googlegroups, i made a microsoft access database with front and backend. i created the backend in microsoft access97. for the frontend i made two versions (one for microsoft...
5
by: Fresh Air Rider | last post by:
Could anyone please tell me how I can call a function from a hyperlink in C# ? Examples of scenarios where this would be useful include :- Loop through a set of records in a repeater and have...
2
by: Trint Smith | last post by:
I have a program that creates an html results page with: item# | photo | title | description | price...etc just like that on down the page. When someone mouses over which ever one they want to...
0
by: Ryan Harvey | last post by:
Hi all, I have written a web user control that contains a repeater control. the ItemTemplate for this control is basically 6 Hyperlinks in a row, that are dynamically allocated one of 7 gif...
1
by: mron0210 | last post by:
Hi, I have created a web service using Visual Studio .Net (Visual Studio Tools for Office : Excel project) and secured it using WSE 2.0. I have added a hyperlink in the Excel sheet which...
2
by: vksundari | last post by:
I am executing a select query in a C# component and populating a ASP Grid in Search.aspx. Now one of the columns in the Grid in Search.aspx is Policy Number(hyper link) Basicallly I want to call a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.