Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Export to Excel

Reply
Thread Tools

Export to Excel

 
 
harshdeepster@gmail.com
Guest
Posts: n/a
 
      07-24-2008
Hi

I am trying to export a GridView to Excel.
It exports the data but transforms it in the process.
for instance, this RBHK-17+RCHJ-24A2 becomes RBHK-17䐡24A2
so basically anywhere i have a '+' sign the rest of the data chnages
to special characters ...like FC/MC62Dㅝ瘏

i have tried setting various Response.Charset and encoding but to no
avail...

Please help!

TIA
 
Reply With Quote
 
 
 
 
Jonathan Wood
Guest
Posts: n/a
 
      07-25-2008
Did you try enclosing the field in double quotes?

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

<> wrote in message
news:e2929a41-a883-496d-8144-...
Hi

I am trying to export a GridView to Excel.
It exports the data but transforms it in the process.
for instance, this RBHK-17+RCHJ-24A2 becomes RBHK-17䐡24A2
so basically anywhere i have a '+' sign the rest of the data chnages
to special characters ...like FC/MC62Dㅝ瘏

i have tried setting various Response.Charset and encoding but to no
avail...

Please help!

TIA

 
Reply With Quote
 
 
 
 
harshdeepster@gmail.com
Guest
Posts: n/a
 
      07-25-2008
On Jul 24, 8:34*pm, "Jonathan Wood" <jw...@softcircuits.com> wrote:
> Did you try enclosing the field in double quotes?
>
> --
> Jonathan Wood
> SoftCircuits Programminghttp://www.softcircuits.com
>
> <harshdeeps...@gmail.com> wrote in message
>
> news:e2929a41-a883-496d-8144-...
> Hi
>
> I am trying to export a GridView to Excel.
> It exports the data but transforms it in the process.
> for instance, this RBHK-17+RCHJ-24A2 becomes RBHK-17䐡24A2
> so basically anywhere i have a '+' sign the rest of the data chnages
> to special characters ...like FC/MC62Dㅝ瘏
>
> i have tried setting various Response.Charset and encoding but to no
> avail...
>
> Please help!
>
> TIA


Nope....but i should have...
It works!

Thnx
 
Reply With Quote
 
harshdeepster@gmail.com
Guest
Posts: n/a
 
      07-25-2008
Spoke too soon...it works for a csv but adds double quotes to the
extract for xls.


On Jul 24, 8:34*pm, "Jonathan Wood" <jw...@softcircuits.com> wrote:
> Did you try enclosing the field in double quotes?
>
> --
> Jonathan Wood
> SoftCircuits Programminghttp://www.softcircuits.com
>
> <harshdeeps...@gmail.com> wrote in message
>
> news:e2929a41-a883-496d-8144-...
> Hi
>
> I am trying to export a GridView to Excel.
> It exports the data but transforms it in the process.
> for instance, this RBHK-17+RCHJ-24A2 becomes RBHK-17䐡24A2
> so basically anywhere i have a '+' sign the rest of the data chnages
> to special characters ...like FC/MC62Dㅝ瘏
>
> i have tried setting various Response.Charset and encoding but to no
> avail...
>
> Please help!
>
> TIA


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Export to Excel (Default File Type - Excel) =?Utf-8?B?SGVtYW50IFNpcGFoaW1hbGFuaQ==?= ASP .Net 15 05-21-2009 12:01 PM
Problem with Excel reports ::::Excel 2003 Migration To Excel 2007 =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?= ASP .Net 15 10-24-2007 01:34 PM
Export to excel in asp.net using excel template Grey ASP .Net 4 10-17-2007 08:08 AM
using Microsoft Excel image for Export to Excel button =?Utf-8?B?U3JpZGhhcg==?= ASP .Net 0 12-09-2005 08:58 PM
Invalid export DLL or export format =?Utf-8?B?RGF2aWQgVmFsbGU=?= ASP .Net 0 10-29-2003 11:46 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57