Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Online Display problem
Old 03-13-2007, 07:25 AM Online Display problem
Junior Talker

Posts: 1
Name: jayshri
Trades: 0
I have taken forms controls on Active server page.Localy the page works

properly,when i upload, it doesn't displaying all controls.I am using list

box,text box,radio etc and fetching records from database tables.

<tr>
<td class="style5">Artist(s)<span class="style8">*</span></td>
<td><select name="s_artist" size="5" multiple>
<%

'----------------------------- ExhibitionMaster -----------------
set rs1=server.CreateObject("ADODB.Recordset")
sql1="Select Art_id,ArtistsName from ArtistInformation order by ArtistsName Asc"
rs1.open sql1,con,1,3
'----------------------------------------------------------------

If not rs1.eof Then
Do Until rs1.eof %>
<option value="<%=rs1("Art_Id")%>"><%=rs1("ArtistsName")>
</option>
<%rs1.movenext
loop
End If

%>
</select>
</td>

<td class="style5">Gallery<span class="style8">*</span></td>
<td>

<% '----------------------------- Gallery -----------------
set rs2=server.CreateObject("ADODB.Recordset")
sql2="Select gal_id,galleryname from Gallery"
rs2.open sql2,con,1,3
'----------------------------------------------------------------
%>
<select name="s_gallery">
<option value="">-- Select One --</option>
<% while not rs2.eof %>
<option value=<%=rs2("gal_id")%>><%=rs2("galleryname")%></option>
<%
rs2.movenext
Wend
%>
</select> </td>
</tr>

<tr>
<td class="style5">Venue Name<span class="style8">*</span> </td>
<td><input name="text_venuename" type="text"></td>
<td class="style5">Venue Address </td>
<td><textarea name="texta_address"></textarea></td>
</tr>


s_gallery list box and all controls below it are Online disabled.
jayshri is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-13-2007, 07:40 AM Re: Online Display problem
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
explain disabled

or show a link to the online page

or show the message for the error that is occuring because there is a database problem (Hint: view the page source to see the error message)
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-13-2007, 02:29 PM Re: Online Display problem
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Did you change your connection string so that it matches the path to the online copy? It will, in all likelihood, be different than your local copy path.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 03-13-2007, 03:20 PM Re: Online Display problem
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
Did you solve the issue? If not, follow the advice Chris and Adam have given, and the group here will be happy to assist.
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Online Display problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.74440 seconds with 12 queries