Click here to Skip to main content
15,906,463 members
Home / Discussions / Web Development
   

Web Development

 
QuestionCreate a Rich Text File RTF in a ASP Pin
Rajkamal_dfine8-Dec-05 20:38
Rajkamal_dfine8-Dec-05 20:38 
Questionquestion in asp page using vbscript Pin
bhavani_ge8-Dec-05 18:22
bhavani_ge8-Dec-05 18:22 
AnswerRe: question in asp page using vbscript Pin
Guffa8-Dec-05 21:01
Guffa8-Dec-05 21:01 
GeneralRe: question in asp page using vbscript Pin
bhavani_ge9-Dec-05 3:24
bhavani_ge9-Dec-05 3:24 
AnswerRe: question in asp page using vbscript Pin
Guffa9-Dec-05 5:51
Guffa9-Dec-05 5:51 
GeneralRe: question in asp page using vbscript Pin
bhavani_ge9-Dec-05 7:44
bhavani_ge9-Dec-05 7:44 
AnswerRe: question in asp page using vbscript Pin
Guffa9-Dec-05 11:43
Guffa9-Dec-05 11:43 
GeneralRe: question in asp page using vbscript Pin
bhavani_ge12-Dec-05 6:10
bhavani_ge12-Dec-05 6:10 
Hi,

What actually is happening is when i select something in the dropdown list,it should catch that value and should run a query against the database and should fill those recrds in a textbox and then that textbox should become visible.

Now what's happening is as soon as i select something in the dropdown box there comes an alert box...when i click that alert box...only then the data is being populated in the textbox...then again the web page is getting refreshed because of which undesired outputs are coming.

I want data to be displayed in the textbox with out alert box....and also after displaying the data in the textbox i don't the web page to be refreshed automatically..............

here is the code for that..........Please help me in this

Thanks,
vani.




<%@ LANGUAGE="VBSCRIPT" %>
<%
If Request.Form("Submit") = "" Then
SetReportLog
ShowForm
Else
ShowCrystalReport
End IF

Dim Campus
Dim flag
flag = "false"

Sub ShowForm
%>

<%
'''MySQL = "select distinct convert(varchar(10),Course_Off_Start_Date,101) as StartDate from SVR where datename(dw, course_off_start_date) in ('Thursday','Tuesday') order by StartDate"
MySQL = "select distinct convert(varchar(10),Course_Off_Start_Date,101) as StartDate from SVR order by StartDate"
Set MyRs=MyConn.Execute(MySQL)
%>
<%
MySQL1 = "Select CampusName from onlinecampus order by CampusName"
Set MyRs1=MyConn.Execute(MySQL1)
%>



@import "../inc/uopstu.css";



<title>SVR StartDate Selection







Select a Campus Name


<% Do While NOT MyRS1.EOF %>
"><%= MyRs1("CampusName")%>
<% MyRS1.MoveNext
loop %>



<%
if request.querystring("Campus") <> "" then
'response.Write("hi")
'response.End
MYSQL2="Select distinct substring(collector_name,13,5) AS Code from svr_compare where substring(collector_name,1,4)= (select Collector_Code from CampCollCode where Division='"& request.QueryString("Campus")& "')"
Set MyRs2=MyConn.Execute(MySQL2)
Dim str
str=MyRS2("Code")
MyRS2.MoveNext
Do While NOT MyRS2.EOF
str=str & "," & MyRS2("Code")
MyRS2.MoveNext
loop
end if
%>









<%
End Sub

Sub ShowCrystalReport
some code..............
<% End Sub %>
AnswerRe: question in asp page using vbscript Pin
Guffa12-Dec-05 21:01
Guffa12-Dec-05 21:01 
GeneralRe: question in asp page using vbscript---please help me with this...it's a bit urgent Pin
bhavani_ge13-Dec-05 5:18
bhavani_ge13-Dec-05 5:18 
AnswerRe: question in asp page using vbscript---please help me with this...it's a bit urgent Pin
Guffa13-Dec-05 22:00
Guffa13-Dec-05 22:00 
GeneralRe: question in asp page using vbscript---please help me with this...it's a bit urgent Pin
bhavani_ge14-Dec-05 4:45
bhavani_ge14-Dec-05 4:45 
GeneralRe: Can anyone please help me with this..........it's a bit urgent...how to show textbox after the page load Pin
bhavani_ge15-Dec-05 4:46
bhavani_ge15-Dec-05 4:46 
GeneralRe: question in asp page using vbscript---please help me with this...it's a bit urgent Pin
Guffa15-Dec-05 11:35
Guffa15-Dec-05 11:35 
GeneralRe: please help me in showing the textbox after the pageloads...... Pin
bhavani_ge19-Dec-05 7:49
bhavani_ge19-Dec-05 7:49 
AnswerRe: please help me in showing the textbox after the pageloads...... Pin
Guffa21-Dec-05 10:39
Guffa21-Dec-05 10:39 
GeneralRe: please help me in showing the textbox after the pageloads...... Pin
bhavani_ge30-Dec-05 4:32
bhavani_ge30-Dec-05 4:32 
AnswerRe: please help me in showing the textbox after the pageloads...... Pin
Guffa1-Jan-06 0:46
Guffa1-Jan-06 0:46 
GeneralRe: please help me in showing the textbox after the pageloads...... Pin
bhavani_ge1-Jan-06 10:26
bhavani_ge1-Jan-06 10:26 
AnswerRe: please help me in showing the textbox after the pageloads...... Pin
Guffa2-Jan-06 0:05
Guffa2-Jan-06 0:05 
Questionquestion marks in iframe Pin
mike ekim8-Dec-05 6:59
mike ekim8-Dec-05 6:59 
QuestionHow to automatically refresh browser when the records are updated? Pin
vicky4578-Dec-05 6:30
vicky4578-Dec-05 6:30 
AnswerRe: How to automatically refresh browser when the records are updated? Pin
enjoycrack8-Dec-05 6:43
enjoycrack8-Dec-05 6:43 
GeneralRe: How to automatically refresh browser when the records are updated? Pin
vicky4578-Dec-05 8:18
vicky4578-Dec-05 8:18 
AnswerRe: How to automatically refresh browser when the records are updated? Pin
Rajkamal_dfine12-Dec-05 17:25
Rajkamal_dfine12-Dec-05 17:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.