User Profile

Collapse

Profile Sidebar

Collapse
Dipti Singh
Dipti Singh
Last Activity: Jun 22 '07, 12:25 PM
Joined: Mar 26 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Dipti Singh
    started a topic union query taken more time

    union query taken more time

    Hi all,
    i m using union query in asp page but that is taking morte time n slows down the server.
    plz help me how can i overcome from this problem.this query is using many joins....this is urgent....
    thanks

    this is the query:-

    select t.tid as tid, t.tenderno as tenderno,t.dt_p ublish as pubdt,wd.dt_sub mit as dts, t.dt_announce as pdt, t.flag as flag, wd.workno as workno, wd.title as title, l.name_org,cw.d t_submit...
    See more | Go to post

  • Thanks a lot for ur reply....
    but please see the code, i m calling javascript code like this...

    response.write "<script language='javas cript' runat='server'>
    var xmlDoc=Server.C reateObject('Mi crosoft.XMLDOM' );
    xmlDoc.async='f alse';
    xmlDoc.load(Ser ver.MapPath('/writedata') + '\UploadedFiles \Error_xml.xml' );
    var uid = xmlDoc.createEl ement('userid') ;
    var tref = xmlDoc.createEl ement('tenderre f');...
    See more | Go to post

    Leave a comment:


  • Getting error while adding record in XML file

    Hi,
    This is my code:

    <html>
    <head></head>
    <body>
    <script language="javas cript" runat="server">

    var xmlDoc=new ActiveXObject(" Microsoft.FreeT hreadedXMLDOM") ;
    xmlDoc.async="f alse";
    xmlDoc.load ("d:\testxml.xm l");
    var uid = xmlDoc.createEl ement("userid") ;
    var tref = xmlDoc.createEl ement("tenderre f");...
    See more | Go to post

  • javascript function: where does it run in this condition....

    Hi,

    i have a question plz help me..

    i m accessing the table records n checking the fields values by javascript functions like this..

    ........
    rs.open "select * from tenderxml ",con,3,2

    <%
    do while not rs.eof
    maxid=rs("tid")
    ORGNAME=rs("org name")
    ......
    ......

    response.Write "<script language='javas cript'>...
    See more | Go to post

  • Dipti Singh
    started a topic Problem-- Server goes down

    Problem-- Server goes down

    Hi all,

    I m working on a live site. i have made a module to uplaod data using XML file.

    before the user used to enter the data n save on our sever..but now both facilities are available.
    yesterday i made that live with previous data n the server goes down.

    if i extract the module of XML then same speed of server we get.otherwise 100% server resources r there.
    plz help me whether the asp file...
    See more | Go to post

  • Hi deedee

    u take a button and onsubmit write this code:

    <........ onsubmit="docum ent.formname.ac tion=' ';document.form name.submit=' ' " />

    this will post the values of fields of ur form to this page itself.

    now u can check wether the checkbox is checked or not by:-

    if request.form("c hk") then
    //write the coding to add fields in...
    See more | Go to post

    Leave a comment:


  • Dipti Singh
    replied to access forms fields
    when u post the form u can get the values by:-

    val=request.for m("fieldname" )

    go through the vbscript n asp on www.w3schools.c om
    good tutorial is there
    See more | Go to post

    Leave a comment:


  • but through query string the value of variable will be shown to user through url.

    what will u do if u don't want to show the value to the user......

    document.form1. hiddenvalriable .value=a;
    will work. this name will not come automatically, u have to write.
    See more | Go to post

    Leave a comment:


  • javascript runs on client side whereas vbscript runs on server side.
    your function contains the vbscript coding.so when u run the page vbscript coding get executed on server n the html coding with executed result on server u got.
    n when u click on the button, only client side coding will get executed n the alert msg is coming.
    See more | Go to post

    Leave a comment:


  • Thanks a lot
    now it is working by adding 'on error....'
    this is a live site work, that is y i was in hurry.......
    See more | Go to post

    Leave a comment:


  • Dipti Singh
    started a topic for loop not working, page hangs up.

    for loop not working, page hangs up.

    Hi,

    I have two asp pages. when both contain lots of coding, loops etc.

    if i run the first page that contain for loop for creating array of textboxes,
    then this page run successfully.

    but if i include this first page in the second page using <#include.... .> then the for loop is not working n page hangs up.

    Plz tell me what is the reason.n any solution if any.

    thanks...
    See more | Go to post

  • Hi,

    For this u have to post the value of drop down list1 that is selected.

    u can post the values by submitting the asp page.u can code onchange event of dropdown list1.

    as:

    <select name="namesel" onchange="docum ent.formname.ac tion=' ';document.form name.submit()">

    by thsi ur asp page will get potsed on chage on the drop down list.

    now...
    See more | Go to post

    Leave a comment:


  • Dipti Singh
    replied to checkbox in javascript
    Thanks a lot for ur suggestion.
    this is working.
    Regards
    See more | Go to post

    Leave a comment:


  • Dipti Singh
    started a topic checkbox in javascript

    checkbox in javascript

    Hi,

    I have a asp page.in that i hv created some checkboxes as:

    <%for i=1 to c %>
    <tr>
    <td width="27%" align="right" class="TabBodyR alignBrdLess"></td>
    <td class="TabBodyB rdrLess"><input type="text" name="namerecd< %=i%>" size="30%"></td>
    <td class="TabBodyB rdrLess"><input...
    See more | Go to post

  • Thanks for ue suggestion, but i have already tried this way.it does not work.

    understand my problem:

    I have a page workhere.asp, that is including another page login.asp, in login.asp, user is entering uid and pwd n posting the values to workhere.asp.
    which again calliung login.asp n there is if else condition in login.asp. if user enters write uid n pwd then user gets into database but the page is workhere.asp...
    See more | Go to post

    Leave a comment:


  • on the second page u can simply get the value what the user selected.

    val=request.for m("xxxx")

    in the page page your select statements will be like this:

    <select name="xxxx">
    <option name="firstopti on" value="1">some text</option>
    <option name="secondopt ion" value="2">other text</option>
    </select>...
    See more | Go to post

    Leave a comment:


  • after LIKE close ur string in ' & '
    eq: select......... ............... ...where....... ......and table1.field1 LIKE '" & request.form("v ariable") &"'"

    use % if necessary....
    See more | Go to post

    Leave a comment:


  • Dipti Singh
    replied to to get sum of all Quantities
    Hi,

    just do the following:

    sum=0
    do while not rs.eof
    sum=sum+rs("fie ldname")
    rs.movenext
    loop

    ' this will give u the sum of column values.
    'store this value in ur database using update query :
    eg: conn.execute "update........ set sum='"&sum &"'"
    'or using rs.update method if u want to do so or show...
    See more | Go to post

    Leave a comment:


  • Warning message in ASP page during back using browser's back button

    Hi All,
    Please help me, I am trying it from 2 days.
    I have a login page in asp that is including other pages using #include.....
    after login user in the same page but enters in the database.
    I want to disable to call this page using back button after logout. I have used this method:

    <%Response.Expi res = -1 %>
    <%Response.Expi resAbsolute = Now() - 1 %>
    <%Response.AddH eader "pragma",...
    See more | Go to post
No activity results to display
Show More
Working...