ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old October 19th, 2011, 12:16 AM
harinarayananvp harinarayananvp is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2011
Posts: 3 harinarayananvp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 2 m 44 sec
Reputation Power: 0
ASP 1.0 - Not able to get Vb control value

Hi,

I have one asp code like this
Code:
<tr>
	<td  style="WIDTH:430px"><b>Release type</td>
	<td><SELECT style="LEFT: 454px; WIDTH: 220px; TOP: 413px" name="txtrt" id="txtrt">
	<OPTION value="" selected></OPTION>
<OPTION value="Kernel">Kernel</OPTION>
	<OPTION value="Cluster">Cluster</OPTION>
	<OPTION value="Custom">Custom</OPTION>
	</SELECT></td>

	<tr><td><b>Release Version</td>
<td>
	<%    
	rtyp=Request.Form("txtrt")
	  Set con=server.CreateObject("adodb.connection")
			con.Open session("Psrconnect")
			Set rs=server.CreateObject("Adodb.Recordset")
			'rs.Open "select * from user_details where position='RM' and userid<>'"&session("uid")&"' ",con
			'added by chandu
			
			rs.Open "select release_name from release_statistics where release_type='"&rtyp&"'",con
			
			'rs.Open "select * from user_details3 where position='RM' and userid<>'"&session("uid")&"' and available <> 'N'",con
	%>				
	<SELECT style="LEFT: 454px; WIDTH: 220px; TOP: 413px" name="txtconsol2" id="txtconsol2">
	<OPTION value="Select Release" >Select Release</OPTION>
	<% do while rs.eof<>true
					
	%>
	<OPTION value="<%=rs.fields(0)%>" ><%=rs.fields(0)%>  </OPTION>
	
	<%
	rs.movenext 
	loop
	%>


Here, I am not able to get the value of 'txtrt' to rtyp. request.Form is working in other parts of the page. Why this is happening. how can get the value of 'txtrt', so that I can retrieve values from database based on that. Please help. I am playing around the problem for the last 2days

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > ASP 1.0 - Not able to get Vb control value


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap