User Profile

Collapse

Profile Sidebar

Collapse
chirag1989
chirag1989
Last Activity: May 21 '08, 08:36 AM
Joined: Jan 19 '08
Location: Surat,Gujarat
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • chirag1989
    started a topic open a new window

    open a new window

    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...
    See more | Go to post

  • chirag1989
    started a topic print through asp

    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...
    See more | Go to post

  • chirag1989
    replied to Login Maintanance
    sorry but
    how do i check that
    i have never used application variable
    or global.asa file...
    See more | Go to post

    Leave a comment:


  • chirag1989
    replied to Login Maintanance
    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
    ...
    See more | Go to post

    Leave a comment:


  • chirag1989
    replied to Login Maintanance
    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&"'"
    ...
    See more | Go to post

    Leave a comment:


  • chirag1989
    replied to record count shows value -1
    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]
    See more | Go to post

    Leave a comment:


  • chirag1989
    started a topic uplaod file to server

    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
    See more | Go to post

  • chirag1989
    replied to datatype mismatch error
    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")
    ...
    See more | Go to post

    Leave a comment:


  • chirag1989
    started a topic datatype mismatch error

    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



    <%

    ...
    See more | Go to post

  • chirag1989
    replied to Login Maintanance
    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...
    See more | Go to post

    Leave a comment:


  • chirag1989
    replied to Adding data to database using excel
    yes this is wat i want to do
    but how...
    See more | Go to post

    Leave a comment:


  • chirag1989
    started a topic Login Maintanance

    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....
    See more | Go to post

  • chirag1989
    started a topic Adding data to database using excel

    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
    See more | Go to post

  • 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 values
    See more | Go to post

    Leave 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........... ."...
    See more | Go to post

  • chirag1989
    started a topic Data Grid Controls

    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...
    See more | Go to post

  • chirag1989
    replied to Recordset count
    hi,
    even i m havin same problem wid recordcount so i tried the above code but it showed error of type mismatch...
    See more | Go to post

    Leave a comment:


  • chirag1989
    started a topic How To Retrieve Value Of TextBox Of Array

    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
    ...
    See more | Go to post

  • chirag1989
    started a topic Creating Array Of Textbox

    Creating Array Of Textbox

    How can i create array of textbox in asp code
    can any one plz help me out wid this
    See more | Go to post

  • chirag1989
    replied to Inserting data into access database
    ya the problem was that only
    Thanks...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...