Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 14th, 2007, 07:38 AM
Authorized User
 
Join Date: Nov 2006
Location: Bangalore, Karnataka, India.
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Somesh
Default Problem in passing data to next page.

Hi all,

I am doing work in a project,where I have a html page. In that page I have a Button which will run onclick() in javascript. Before end of the javascript function it is generating a string having the sql query. Now I need to pass the string to the next page(Result.aspx)to run the SQl query.

Problem is that when I am trying to do this then I am not getting the previous string. It is just passing the empty string.

Does anyone solve this problem? I shall be very glad if anyone can send me any suggestion. Hope you know this.

Somesh.

someshchaterjee
__________________
somesh chaterjee
  #2 (permalink)  
Old March 14th, 2007, 11:23 PM
Registered User
 
Join Date: Mar 2007
Location: PUNE, MAHARASHTRA, India.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Somesh....
can u explain how u are passing that string..
i think u need to pass it as querystring...

  #3 (permalink)  
Old March 15th, 2007, 12:02 AM
Authorized User
 
Join Date: Nov 2006
Location: Bangalore, Karnataka, India.
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Somesh
Default

Hi
santosh.kundlik

Thanks for showing interest to my posting.I need to pass the string as a normal string because the query is generating there and it is displaying there into a textbox.

just how can i display a value of any variable in the aspx page.
i tried like..
<% String aa = "job";
%>

<input type = "text"... value = <%=aa%>>
its printing me only <%=aa%> in that text box.

how do i rectify that?

Somesh

someshchaterjee
  #4 (permalink)  
Old March 15th, 2007, 05:58 PM
Authorized User
 
Join Date: Mar 2007
Location: , , .
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to JoinTTT
Default

If is your current page pure html page, it is impossible to post data from first to second page. If you your first page is aspx then I can say the solution.

  #5 (permalink)  
Old March 15th, 2007, 10:16 PM
Authorized User
 
Join Date: Nov 2006
Location: Bangalore, Karnataka, India.
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Somesh
Default

Hi,
Thanks for showing interest of my posting.
The page is absolute HTML page. Any way I have done that part.
Somesh

someshchaterjee
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sessions, and passing data to another page mrjoka ASP.NET 2.0 Basics 2 March 13th, 2007 10:21 AM
Data access page help. passing feild values Peter@mptechcenter.com Access 0 November 26th, 2006 05:29 PM
Data Access Page Problem Help jdbash1 Access VBA 0 June 5th, 2006 02:18 PM
Data Access Page Problem please help! jdbash1 Access 0 June 5th, 2006 02:16 PM
passing data btwn asp page and javascript include Justine Classic ASP Professional 8 August 20th, 2004 02:23 AM



All times are GMT -4. The time now is 10:16 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.