Click here to Skip to main content
16,005,290 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerSomething looks odd.... Pin
leckey6-Jun-07 11:11
leckey6-Jun-07 11:11 
GeneralRe: Something looks odd.... Pin
Sankar Komma 8-Jun-07 7:53
Sankar Komma 8-Jun-07 7:53 
Questiongetting the day name of the given date Pin
legend_of_zanado6-Jun-07 6:38
legend_of_zanado6-Jun-07 6:38 
AnswerRe: getting the day name of the given date Pin
Brady Kelly6-Jun-07 6:53
Brady Kelly6-Jun-07 6:53 
GeneralRe: getting the day name of the given date Pin
Not Active6-Jun-07 8:58
mentorNot Active6-Jun-07 8:58 
GeneralRe: getting the day name of the given date Pin
Brady Kelly6-Jun-07 9:04
Brady Kelly6-Jun-07 9:04 
QuestionCanadian Shopping Cart Recommendations (ASP.NET, C#) [modified] Pin
Leftyfarrell6-Jun-07 6:35
Leftyfarrell6-Jun-07 6:35 
QuestionExporting to excel, in french Pin
2hdass6-Jun-07 4:25
2hdass6-Jun-07 4:25 
Currently I have a piece of code that uses the following method to dump a dataGrid table into an excel file, it basically takes the generated html code (i.e. the table, th, td and tr tags) of a dataGrid and send it to context.response.write, which can then be saved as an Excel readable format. (web format in excel)


Dim tw As New System.IO.StringWriter()
Dim hw As New System.Web.UI.HtmlTextWriter(tw)
dataGrid.RenderControl(hw)
Context.Response.Write(Now)
Context.Response.Write("<center><font size=3 face=Verdana color=#0000FF>" & S2LabelTitle.Text & "</font></center>")
Context.Response.Write(tw.ToString())     
Context.Response.Flush()
Context.Response.Close()
Context.Response.End()



however, recently my task is to export a dataGrid with french characters in it. When they are exported to the file and read by excel, the french characters shows up as jubbrish.

Can I have some advice? Confused | :confused:
AnswerRe: Exporting to excel, in french Pin
2hdass6-Jun-07 4:26
2hdass6-Jun-07 4:26 
QuestionSending email Pin
Russell Jones6-Jun-07 4:12
Russell Jones6-Jun-07 4:12 
QuestionNew to ASP, Can It work to view live streaming data? Pin
Edge856-Jun-07 4:02
Edge856-Jun-07 4:02 
AnswerRe: New to ASP, Can It work to view live streaming data? Pin
Russell Jones6-Jun-07 4:19
Russell Jones6-Jun-07 4:19 
QuestionCollapse and expand feature Pin
astv6-Jun-07 3:54
astv6-Jun-07 3:54 
AnswerRe: Collapse and expand feature Pin
Sathesh Sakthivel6-Jun-07 3:59
Sathesh Sakthivel6-Jun-07 3:59 
QuestionTextStream Pin
Cory Hatton6-Jun-07 3:49
Cory Hatton6-Jun-07 3:49 
AnswerRe: TextStream Pin
Guffa6-Jun-07 6:34
Guffa6-Jun-07 6:34 
GeneralRe: TextStream Pin
Cory Hatton6-Jun-07 6:58
Cory Hatton6-Jun-07 6:58 
QuestionUploading asp.net project to other webserver Pin
ShuklaGirish6-Jun-07 3:24
ShuklaGirish6-Jun-07 3:24 
AnswerRe: Uploading asp.net project to other webserver Pin
Fred_Smith6-Jun-07 3:41
Fred_Smith6-Jun-07 3:41 
QuestionRow after filtering DataView Pin
md Nazeem6-Jun-07 3:20
md Nazeem6-Jun-07 3:20 
Questionsending link as a mail Pin
anujose6-Jun-07 2:32
anujose6-Jun-07 2:32 
AnswerRe: sending link as a mail Pin
Chetan Ranpariya6-Jun-07 3:19
Chetan Ranpariya6-Jun-07 3:19 
Questionjs problem Pin
srinandan..6-Jun-07 2:26
srinandan..6-Jun-07 2:26 
AnswerRe: js problem Pin
Chetan Ranpariya6-Jun-07 3:23
Chetan Ranpariya6-Jun-07 3:23 
GeneralRe: js problem Pin
srinandan..6-Jun-07 3:38
srinandan..6-Jun-07 3:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.