Need Help for Exporting Excel from Datagrid

Discussion in 'ASP .Net' started by s_a_ravi, Apr 20, 2005.

  1. s_a_ravi

    s_a_ravi Guest

    hi,
    I want to export the data from datagrid and i dont want to wait upt
    the users to be prompted for save as dialog box to save the excel. i
    should saved in the client [for example c:\downloads].
    Pls help me in that.
    thanks in advanc

    --
    s_a_rav
    -----------------------------------------------------------------------
    s_a_ravi's Profile: http://www.msusenet.com/member.php?userid=61
    View this thread: http://www.msusenet.com/t-186943512
    s_a_ravi, Apr 20, 2005
    #1
    1. Advertising

  2. s_a_ravi

    Guest

    Browser security is going to keep you from accomplishing this in any
    graceful manner. Writing files directly to the client machine from a
    web application without user interaction is almost impossible these
    days unless you set up a special trust from the browser. Thank
    goodness, because I've had enough trouble with spyware getting on my
    machine even with the tightening security restrictions.

    If you're dealing with Internet Explorer only, I think that you might
    want to look into "HTML Applications" (.hta files) which will enable
    you to place client side scripts that can read and write to the client
    machine. I think that you will need to set up a trust in IE for each
    client to make this work.

    Bill
    , Apr 20, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ravindra
    Replies:
    0
    Views:
    761
    Ravindra
    Dec 14, 2005
  2. =?Utf-8?B?TmVpbA==?=

    Exporting DataGrid to Excel

    =?Utf-8?B?TmVpbA==?=, Feb 9, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    475
    =?Utf-8?B?cGRtMg==?=
    Apr 3, 2004
  3. http://www.visual-basic-data-mining.net/forum

    Exporting Datagrid's data to an Excel Sheet.

    http://www.visual-basic-data-mining.net/forum, Oct 25, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    575
    Steve C. Orr [MVP, MCSD]
    Oct 25, 2004
  4. Luis Esteban Valencia
    Replies:
    1
    Views:
    1,366
    Carl Prothman [MVP]
    Jan 12, 2005
  5. Doogie
    Replies:
    1
    Views:
    439
    sloan
    Nov 19, 2008
Loading...

Share This Page