User Profile

Collapse

Profile Sidebar

Collapse
PerumalSamy
PerumalSamy
Last Activity: Feb 25 '09, 07:27 AM
Joined: Feb 19 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Error in exporting datagrid to excel while using sorting option

    Hi

    I need to export datagrid to excel. below is the coding what i had tried

    Dim stringwrite As New StringWriter
    Response.Clear( )
    Response.AddHea der("content-disposition", "attachment;fil ename=test.xls" )
    Response.Buffer = True
    Response.Conten tType = "applicatio n/vnd.ms-excel"
    Response.Charse t = ""
    ...
    See more | Go to post

  • How to validate textbox rowcount after entering data

    Hi

    In my project i need to validate a multiline textbox rowcount after entering the data.

    For Ex: They need to enter 3 line as address(in which 2 line feed is compulsory).

    How can i check this condition.

    Thanks in advance.
    See more | Go to post

  • How to generate an auto email without logging into software

    HI

    I done a project in asp.net with VB coding and sql server 2005 as back end.

    Now i need to generate an auto email everyday for current date based on the date field in my database table .

    For Example: Today is 05/03/2008 means, i want to generate a report(records from database related to this date) without logging into the software and need to send mail.

    I can able to generate email and...
    See more | Go to post

  • PerumalSamy
    started a topic How to generate auto email
    in .NET

    How to generate auto email

    HI

    I done a project in asp.net with VB coding and sql server 2005 as back end.

    Now i need to generate an auto email based on current date from one of the date field in my database table on every day.

    For Example: Today is 05/03/2008 means, i want to generate a report(records related to this date) and need to send to some mail id without any manual interferance.

    Any idea.
    See more | Go to post

  • PerumalSamy
    started a topic How to print txt file in asp.net
    in .NET

    How to print txt file in asp.net

    Hi

    I created a text file in asp.net thru coding.

    Now i want to print that file in line matrix printer ( same like executing "Type filename.txt > prn" in dos prompt).

    Any suggestion.
    See more | Go to post

  • Hi Mr.kenobewan

    i had given the following coding in my project.

    Response.Buffer = True
    Response.Expire sAbsolute = DateTime.Now.Ad dDays(-1D)
    Response.Expire s = -1500
    Response.AddHea der("pragma", "no-cache")
    Response.AddHea der("cache-control", "private")
    Response.CacheC ontrol = "no-cache"
    ...
    See more | Go to post

    Leave a comment:


  • PerumalSamy
    started a topic How to Disable Back Button of Internet Explorer
    in .NET

    How to Disable Back Button of Internet Explorer

    Hi,

    Thanks in advance.

    I need to know the coding for disabling the back button of internet explorer after getting signout of my application and where the coding to be written. i mean inside signout button or like page load event.

    I am using vb coding.

    Any idea.
    See more | Go to post

  • PerumalSamy
    started a topic Passing parameter to crystal report
    in .NET

    Passing parameter to crystal report

    Hi
    Does anyone have idea how to pass parameter value to crystal report using vb coding in asp.net.
    See more | Go to post

  • How to add ADO - sql connection to crystal report

    Hi

    I have added crystal report in my project.

    i am using sql database.

    while giving connection in ado it is giving error.

    While giving server name, user id, password and database name it was not throwing error.

    any idea
    See more | Go to post

  • How to add days/weeks/months to existing date in asp.net

    Hi

    I am developing a project in asp.net using vb coding.

    I need to add days/weeks/months to existing date in asp.net.

    Ex:

    existing date : 24/10/2007
    Add : 10 days or 2 weeks or 3 months

    I need solution for all type of addition (means day/week/year) with existing date.

    Any suggestions.
    See more | Go to post

  • PerumalSamy
    replied to crystal report currency conversion
    in .NET
    Hi

    You try this code now

    Code:
    if split(cstr({tablename.fieldname}),".")[2]="00" then replace(ToWords({tablename.fieldname},0)+" only","-"," ")
    else
    replace(Towords((cdbl({tablename.fieldname})-cdbl(split(cstr({tablename.fieldname}),".")[2])/100),0)+" and " +ToWords(cdbl(split(cstr({tablename.fieldname}),".")[2]),0)+" paise
    ...
    See more | Go to post
    Last edited by Frinavale; Sep 21 '10, 03:21 PM. Reason: 1 Minute Ago at 10:20 AM. Reason: In the future please post code in [code] ... [/code] tags. Added code tags.

    Leave a comment:


  • Removing duplicate records and to store in new table with single query

    Hi

    I am having table with more 13 lakhs records.

    I am having duplicate records in it.

    i need to remove that.

    I wrote the following query
    SELECT *
    FROM chitta union SELECT *
    FROM chitta;

    its working fine and showing records after removing duplicate records

    but the following query giving error
    SELECT * into Table2
    FROM...
    See more | Go to post

  • PerumalSamy
    started a topic Error in uploading project with Crystal Report
    in .NET

    Error in uploading project with Crystal Report

    Hi,
    I am getting following error while uploading my project in web.

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: File or assembly name CrystalDecision s.CrystalReport s.Engine, or one of its dependencies, was not found.
    ...
    See more | Go to post

  • How to create own color dialog box and to manipulate

    Hi

    I have a textbox in web page, in which i need to display the color by selecting from color dialog box.

    How can i include color dialog box in my web form while clicking the textbox or by clicking any button.

    And also i need to store the selected color in database. So i need to know how to fetch the code for selected color from color dialog box.

    Thanks in advance
    See more | Go to post

  • PerumalSamy
    started a topic How to display color dialog box in web page
    in .NET

    How to display color dialog box in web page

    Hi

    I have a textbox in web page, in which i need to display the color by selecting from color dialog box.

    How can i include color dialog box in my web form while clicking the textbox or by clicking any button.

    And also i need to store the selected color in database. So i need to know how to fetch the code for selected color from color dialog box.

    Thanks in advance.
    See more | Go to post

  • PerumalSamy
    replied to Simple authentication in asp.net
    in .NET
    Yes. Based on user from login form i need to redirect the page
    See more | Go to post

    Leave a comment:


  • PerumalSamy
    started a topic Simple authentication in asp.net
    in .NET

    Simple authentication in asp.net

    Hi,

    I am having a project with login page. I used the following code to set authentication.

    imports system.web.secu rity

    Formsauthentica tion.Initialize ()
    Formsauthentica tion.Setauthcoo kie(loguser.tex t,false)

    and to check authentication in every page i used the following codings

    If user.Identity.I sauthenticated = true then
    response.redire ct("loginpage.a spx")...
    See more | Go to post

  • PerumalSamy
    replied to crystal report currency conversion
    in .NET
    Hi pavithra,
    Now try the following code
    Code:
    if split(cstr({tablename.fieldname}),".")[2]="00" then
    replace(ToWords({tablename.fieldname},0)+ " only","-"," ")
    else
    replace(ToWords(cdbl({tablename.fieldname})-cdbl(split(cstr({tablename.fieldname}),"."[2]/100),0)) + " and " + ToWords(cdblsplit(cstr({tablename.fieldname}),"."[2]),0) + "
    ...
    See more | Go to post
    Last edited by Frinavale; Sep 21 '10, 03:20 PM. Reason: 1 Minute Ago at 10:20 AM. Reason: In the future please post code in [code] ... [/code] tags. Added code tags.

    Leave a comment:


  • How to access one web page control in another web page

    Hi

    I had a web page with tab control in asp.net using vb coding. In which i am displaying different web pages while clicking each tab same like while you make right click of any folder and selecting properties menu.

    In each page the client will enter some values.

    There is only one submit button in main page.

    Now while clicking submit button i need to fetch values from each webpages and need...
    See more | Go to post

  • I mean i need to create tab controls in asp.net
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...