Click here to Skip to main content
15,905,316 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to send multiple values from one page to another Pin
coolestCoder8-Feb-07 20:29
coolestCoder8-Feb-07 20:29 
GeneralRe: How to send multiple values from one page to another Pin
Sandeep Akhare8-Feb-07 20:48
Sandeep Akhare8-Feb-07 20:48 
GeneralRe: How to send multiple values from one page to another Pin
coolestCoder8-Feb-07 22:09
coolestCoder8-Feb-07 22:09 
GeneralRe: How to send multiple values from one page to another Pin
gauthee8-Feb-07 21:33
gauthee8-Feb-07 21:33 
GeneralRe: How to send multiple values from one page to another Pin
coolestCoder8-Feb-07 22:13
coolestCoder8-Feb-07 22:13 
AnswerRe: How to lode xml file in datagrid Pin
gauthee8-Feb-07 19:27
gauthee8-Feb-07 19:27 
GeneralUsing XMLTextWriter Pin
Vsree8-Feb-07 20:05
Vsree8-Feb-07 20:05 
QuestionUsing XMLTextWriter Pin
Vsree8-Feb-07 18:36
Vsree8-Feb-07 18:36 
Hi guys,

Am trying to export some data to Excel file
I can succeed in exporting the data but i couldnt format the headers and data.For example,
<br />
<Styles><br />
<Style ss:ID="s21"><br />
   <Font ss:Bold="1"/><br />
   <Alignment ss:Horizontal="Center" ss:Vertical="Bottom"/><br />
</Style><br />
</Styles><br />

if i want to include this formatting using XMLTextWriter, how can i do that?
Am using the following code to export the data:
<br />
<br />
for(int j=0;j<xHeader.Length;j++)//for Headers<br />
{<br />
writer.WriteString("\"");<br />
writer.WriteStartElement("xsl:value-of");<br />
writer.WriteAttributeString("select", "'" + xHeader[j] + "'");<br />
writer.WriteEndElement(); // xsl:value-of<br />
writer.WriteString("\"");<br />
if (j != xFields.Length - 1) <br />
  writer.WriteString(" ");<br />
}				<br />


I need to format this xHeader's value to be formatted as "Bold" while opening as Excel.
Please help me!
AnswerRe: Using XMLTextWriter Pin
Sandeep Akhare8-Feb-07 23:14
Sandeep Akhare8-Feb-07 23:14 
Questionhai every1 Pin
Ishwarya M8-Feb-07 17:34
Ishwarya M8-Feb-07 17:34 
AnswerRe: hai every1 Pin
dinus288-Feb-07 17:47
dinus288-Feb-07 17:47 
AnswerRe: hai every1 Pin
gauthee8-Feb-07 17:48
gauthee8-Feb-07 17:48 
Questionusing ASP in Tomcat Server Pin
obarahmeh8-Feb-07 11:23
obarahmeh8-Feb-07 11:23 
AnswerRe: using ASP in Tomcat Server Pin
badgrs8-Feb-07 22:42
badgrs8-Feb-07 22:42 
QuestionVisual Studio.net Pin
No-e8-Feb-07 10:25
No-e8-Feb-07 10:25 
AnswerRe: Visual Studio.net Pin
gauthee8-Feb-07 17:39
gauthee8-Feb-07 17:39 
GeneralRe: Visual Studio.net Pin
No-e9-Feb-07 2:14
No-e9-Feb-07 2:14 
QuestionVirtualPathProvider and Caching Pin
Michael Wolski8-Feb-07 9:17
Michael Wolski8-Feb-07 9:17 
QuestionValidation controls Pin
GaryWoodfine 8-Feb-07 8:51
professionalGaryWoodfine 8-Feb-07 8:51 
AnswerRe: Validation controls Pin
GaryWoodfine 8-Feb-07 9:06
professionalGaryWoodfine 8-Feb-07 9:06 
QuestionNew to ASP.Net Pin
h@s@n8-Feb-07 7:07
h@s@n8-Feb-07 7:07 
AnswerRe: New to ASP.Net Pin
Christian Graus8-Feb-07 9:34
protectorChristian Graus8-Feb-07 9:34 
QuestionASP.net memberships Pin
Kunal P8-Feb-07 5:51
Kunal P8-Feb-07 5:51 
AnswerRe: ASP.net memberships Pin
szukuro8-Feb-07 12:04
szukuro8-Feb-07 12:04 
GeneralRe: ASP.net memberships Pin
Kunal P8-Feb-07 18:44
Kunal P8-Feb-07 18:44 

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.