User Profile

Collapse

Profile Sidebar

Collapse
leninv
leninv
Last Activity: Jan 28 '08, 10:43 AM
Joined: Dec 3 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How can I dispaly Spaces in expression part of <%= expression %> ASP directive

    I have the following code

    [HTML]
    <%
    if i = 0 then
    pindnt = string(level*2, " ")
    %>
    <td><% = pindnt & recs(i) %></td>[/HTML]


    Using string(level*2, " ") I am calculating the number of Spaces I want to display before recs(i) value. But I am not getting the spaces displayed before recs(i) value.

    If I change...
    See more | Go to post

  • How can I dispaly Spaces in expression part of <%= expression %> ASP directive

    I have the following code

    Code:
    <%
        if i = 0 then
        pindnt = string(level*2," ")
     %>
         <td><% = pindnt &  recs(i) %></td>
    Using string(level*2, " ") I am calculating the number of Spaces I want to display before recs(i) value. But I am not getting the spaces displayed before recs(i) value.

    If I change the space character in string(level*2, "...
    See more | Go to post

  • The problem exists with notepad. Notepad doesnot support html code, i mean to say as the code has tags like <table>,etc. which are not supported, so this problem is faced. Hope this problem is understood....
    See more | Go to post

    Leave a comment:


  • leninv
    started a topic Problem saving a file with .TXT extension.

    Problem saving a file with .TXT extension.

    Hi, I have a asp page where I have a Export to Excel button. When I click the button, I get the option to open or save or cancel.
    When I click on save option I get the save dialogue box and save it.

    I don't have any problem if I save it with .xls extension, but the problem comes when I save it with .TXT extension. When I open the file saved with .txt extension I am able to see some html code as seen below


    ...
    See more | Go to post

  • leninv
    started a topic How can I save Excelsheet in TXT format.

    How can I save Excelsheet in TXT format.

    How can I make the use of EXCEL spreadsheet in TXT format. Right now the EXCEL spreadsheet in XLS format.
    See more | Go to post

  • I tried this but the problem with this is, If I prepend a apostrophe to a value 003 it is showing the result '003. So apostrophe is seen in my result, which I should not get....
    See more | Go to post

    Leave a comment:


  • Hi

    I am able to export the content to Excel with Leading zeros now using reverse engineering approach, but I am facing another probelm. The result is displayed on a blank page, I am not getting any cells displayed. I mean no spreadsheet is seen. I used the following statements for Excel

    <%Response.buff er = True
    Server.ScriptTi meout = 1800
    Response.Conten tType ="applicatio n/vnd.ms-excel"%>...
    See more | Go to post

    Leave a comment:


  • Thank you for the reply. I tried using decimal at the end of the number, but that doesn't work. If I am the only user then I can format the spreadsheet by using CSV, but this will be opened by many users, so I cannot tell every one to format the spreadsheet, so I cannot use CSV instead of MSExcel. I am trying for some alternative using reverse engineering approach. Any how I would like to thank you once again. Any suggestion is always welcome....
    See more | Go to post

    Leave a comment:


  • Leading Zeros truncated when exporting from asp page to excel

    Hi,

    I have the following code where 'recs' is a record set.

    For i=0 to recs.Fields.Cou nt - 1
    if i = 0 then
    pindnt = string(itmlvl*2 ," ")
    response.write pindnt & recs(i)
    else
    Response.write recs(i)
    end if

    Response.write CHR(09)
    Next

    Using this part of code in my application...
    See more | Go to post
No activity results to display
Show More
Working...