hi
i want to know how can i
open a new small window without address bar or anything else
it only has a data that is retrieved from database through sum query and close button to close the window
can any one help me wid this ?
and yes i want to know dat can i disable any of this buttons on title bar minimize or maximize or close button and force user to use close button provided by me in web pa...
User Profile
Collapse
-
print through asp
hi
i want to know how can i make a printable document
through asp
i have to make a crystall report and print it through asp
can any one help me wid this ?
would like to print a document from my asp page. In this process
I'm looking for the solution as follows : There will be a print button
on my page. And User will select the print button and printable document
will directly open a new window... -
sorry but
how do i check that
i have never used application variable
or global.asa file... -
Thanks for reply
I have put the code
when admin logsvout using logs off button
its workin well but when i use close button
its no cleaning the application variables
in global.asa file
this is code of global.asa file
instead of true/false i have used 0 and 1
...Code:<script language=Vbscript runat=server> Sub Application_OnEnd() Application.Lock() 'Make the
Leave a comment:
-
Hi shweta
I have tried your code
its working, at a time only one admin can login
but when the admin logsoff still it doesnt allow to log in as admin
following is my code
plzz check it out
...Code:if opt="adm" then response.Cookies("sna")="Administrator" sql="Select * from DBA where Aid='"&login&"' and Apwd='"&pass&"'"Leave a comment:
-
Have u set your cursortype ?
just try out this
rs.open SQl,con,3
i got the correct output in Query Analyser but while running the form there is no output. Record Count is -1.(its not counting the records)[/QUOTE]Leave a comment:
-
uplaod file to server
Hi
I want to know how can one upload a file (ant type .doc,.pdf etc ) from client
on server.It should get stored in particular folder or root directory on c:/ drive.
If some can provide a code for this -
no,its not workin
but i got the solution
it was just the matter of qoutes
<%
bc=request.form ("txtbc")
response.Cookie s("bn")=bc
set con=server.Crea teObject("ADODB .connection")
con.open "File Name=C:\Inetpub \wwwroot\librar y\mylink.udl"
set rsa=server.Crea teObject("ADODB .recordset")
...Leave a comment:
-
datatype mismatch error
I m havin an error of datatype mismatch
actual here i m askin user to input the code in text box and then searchin the
record havin that code in database
the problem is the code field Bnum is of number datatype
so its showin me this error
Microsoft JET Database Engine (0x80040E07)
Data type mismatch in criteria expression.
/library/12updbook1.asp, line 128
<%
... -
I have done the same thing but the problem is that when he log out with the log off button it will run well as when he clicks on log off the value in database is again reset to 0 so this will run well.
but when he will close the site using close button on title bar then i cant change the value in database and set it to 0 so when he tries to login in again
he will not allowed as the value will be 1
now wat to do ??
So...Leave a comment:
-
-
Login Maintanance
Hi
I m makin Intranet based Library Management System
On Homepage i have asked user to enter their login id
and select from one option button weather he is a administrator or
member.So as per his id and selected option he is been redirected to
his corresponding account.If he is member then his account page is opened
and if he is admin the he is taken to admin page where he can interact wid database.... -
Adding data to database using excel
how can i add data to database using excel through asp
actual i wanted to use datagrid but as its not supported
by asp so i want to try dat by excel
can any one just provide me a short code
about how to relate excel wid database tabel -
thanks sir
i have another question that
when the user fills textbox and clicks on submit button leaving one textbox empty then a msgbox should be shown to ask him to fill all textboxes and when he clicks on ok he should be taken to first form where only the textbox whose values were not filled should be empty other textboxes should have their original valuesLeave a comment:
-
call procedure from onclick event of button
hi
i have some textboxes in my form wat i want to
do is wheever the user clicks the button
the data in text boxes must be stored in database
i have written my insert query like this
<script="vbscri pt">
<--
sub procedure cmd1_onclick()
<%
set con=server.crea te.....
con.open "....."
conn.execute "Insert into........... ."... -
Data Grid Controls
Hi there,
Actual i wanna know how can i use datagrid controls in ASP
Wat i want to do is add the data to database directly
i m right now doin that wid recordset object but i can add only one record at a time
so i want to add numbers of record to database at a time using datagrid controls
and idont know how to use them
can any one help me wid this or just tell me some refrence books or sites from where i... -
hi,
even i m havin same problem wid recordcount so i tried the above code but it showed error of type mismatch...Leave a comment:
-
How To Retrieve Value Of TextBox Of Array
i have created an arry of text box
now i want to retrieve the values of each text box so as to insert them in data base can anyone help how can i retrieve the values of array of textbox and store it in other array
Code Of creating text box array
<%@LANGUAGE="VB SCRIPT" CODEPAGE="1252" %>
<form action="ext1.as p" method="post">
<%for i=0 to 4
... -
Creating Array Of Textbox
How can i create array of textbox in asp code
can any one plz help me out wid this -
No activity results to display
Show More
Leave a comment: