How to get an excel file while button click.

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Dec 2008
Posts: 11
Reputation: chinni1 is an unknown quantity at this point 
Solved Threads: 0
chinni1 chinni1 is offline Offline
Newbie Poster

How to get an excel file while button click.

 
0
  #1
Dec 31st, 2008
Hi,frends

I have a Export product button in product details page.
If i click the Export product button i want to get one pop up,the pop up should be contain the message like this
Your excel has been successfully create and can be viewed by clicking Product_data .
so I Want to get the Export products list in excell sheet using vb.net.

Plz Help me.
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 104
Reputation: Aneesh_Argent is an unknown quantity at this point 
Solved Threads: 18
Aneesh_Argent Aneesh_Argent is offline Offline
Junior Poster

Re: How to get an excel file while button click.

 
0
  #2
Dec 31st, 2008
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 3
Reputation: ruwanthaka is an unknown quantity at this point 
Solved Threads: 1
ruwanthaka ruwanthaka is offline Offline
Newbie Poster

Re: How to get an excel file while button click.

 
0
  #3
Dec 31st, 2008
Originally Posted by chinni1 View Post
Hi,frends

I have a Export product button in product details page.
If i click the Export product button i want to get one pop up,the pop up should be contain the message like this
Your excel has been successfully create and can be viewed by clicking Product_data .
so I Want to get the Export products list in excell sheet using vb.net.

Plz Help me.
hi
After hitting that button , you just need to show that message only or same time you need to create the excel file(using any data) and save on web server ?

Ruwanthaka
Last edited by ruwanthaka; Dec 31st, 2008 at 5:31 am.
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 11
Reputation: chinni1 is an unknown quantity at this point 
Solved Threads: 0
chinni1 chinni1 is offline Offline
Newbie Poster

Re: How to get an excel file while button click.

 
0
  #4
Jan 2nd, 2009
Originally Posted by ruwanthaka View Post
hi
After hitting that button , you just need to show that message only or same time you need to create the excel file(using any data) and save on web server ?

Ruwanthaka

ya i need to show message & create the excel file with details of products at the same time & and it should be saved into a folder.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 49
Reputation: iDeveloper is an unknown quantity at this point 
Solved Threads: 7
iDeveloper iDeveloper is offline Offline
Light Poster

Re: How to get an excel file while button click.

 
0
  #5
Jan 2nd, 2009
create your Excel and simply stream it through the browser as a download.
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 3
Reputation: ruwanthaka is an unknown quantity at this point 
Solved Threads: 1
ruwanthaka ruwanthaka is offline Offline
Newbie Poster

Re: How to get an excel file while button click.

 
0
  #6
Jan 2nd, 2009
Originally Posted by iDeveloper View Post
create your Excel and simply stream it through the browser as a download.
Hi chinni
Sorry for the delay & wish you a happy new year,

  1. string filePath = location + “sample.xls";//Location>>the path of your virtual folder & sample.xls is the file name which going to create
  2. int lineCount = 1;//Get the line count
  3. System.Text.StringBuilder strExcelXml = new System.Text.StringBuilder();
  4. strExcelXml.Append(this.ExcelHeader());//do not change any thing under ExcelHeader without having much knloage
  5. #region ExcelStyles & Column Width
  6. //keep Excel Styles as separate file and save it web server
  7. strExcelXml.Append(this.ExcelStyles(ConfigurationSettings.AppSettings["Miscellaneous"] + "Styles.config"));
  8.  
  9. //Column Width settings>> This is only for formating
  10. strExcelXml.Append(this.SummaryColumnWidth());
  11. #endregion ExcelStyles & Column Width
  12. //Append your Excel details Ex
  13. this.AddRowCell("Page Number: 10", ref strExcelXml, lineCount++,9,false );
  14. System.IO.File.Delete(filePath);
  15. System.IO.StreamWriter sw = new System.IO.StreamWriter(filePath, true, System.Text.Encoding.Unicode);
  16. sw.Write(ConvertHTMLToExcelXML(strExcelXml.ToString()));
  17. sw.Close()
  18.  
  19.  
  20. ///Methods
  21. private string ExcelHeader()
  22. {
  23. // Excel header
  24. System.Text.StringBuilder sb = new System.Text.StringBuilder();
  25. sb.Append("<?xml version=\"1.0\"?>\n");
  26. sb.Append("<?mso-application progid=\"Excel.Sheet\"?>\n");
  27. sb.Append("<Workbook xmlns=\"urn:schemas-microsoft-com:office:spreadsheet\" ");
  28. sb.Append("xmlns:o=\"urn:schemas-microsoft-com:office:office\" ");
  29. sb.Append("xmlns:x=\"urn:schemas-microsoft-com:office:excel\" ");
  30. sb.Append("xmlns:ss=\"urn:schemas-microsoft-com:office:spreadsheet\" ");
  31. sb.Append("xmlns:html=\"http://www.w3.org/TR/REC-html40\">\n");
  32. sb.Append("<DocumentProperties xmlns=\"urn:schemas-microsoft-com:office:office\">");
  33. sb.Append("<Author>Ruwantaka@yahoo.com</Author>");
  34. sb.Append("</DocumentProperties>");
  35. sb.Append("<ExcelWorkbook xmlns=\"urn:schemas-microsoft-com:office:excel\">\n");
  36. sb.Append("<ProtectStructure>False</ProtectStructure>\n");
  37. sb.Append("<ProtectWindows>False</ProtectWindows>\n");
  38. sb.Append("</ExcelWorkbook>\n");
  39.  
  40. return sb.ToString();
  41. }
  42. /////
  43. public static string ConvertHTMLToExcelXML(string strHtml)
  44. {
  45.  
  46. // Just to replace TR with Row
  47. strHtml = strHtml.Replace("<tr>", "<Row ss:AutoFitHeight=\"1\" >\n");
  48. strHtml = strHtml.Replace("</tr>", "</Row>\n");
  49.  
  50. //replace the cell tags
  51. strHtml = strHtml.Replace("<td>", "<Cell><Data ss:Type=\"String\">");
  52. strHtml = strHtml.Replace("</td>", "</Data></Cell>\n");
  53.  
  54. return strHtml;
  55. }
  56. /////
  57. private void AddCell(string data, ref StringBuilder sb, int colId, bool intVal)
  58. {
  59. if (intVal)
  60. {
  61. sb.Append("<Cell ss:Index=\"" + colId.ToString() + "\"><Data ss:Type=\"Number\">" + data + "</Data></Cell>");
  62. return;
  63. }
  64. sb.Append("<Cell ss:Index=\"" + colId.ToString() + "\"><Data ss:Type=\"String\">" + data + "</Data></Cell>");
  65. }
  66. /////
  67. private string ExcelStyles(string filename)
  68. {
  69. System.IO.StreamReader SR;
  70. string S;
  71. string strFileText = string.Empty;
  72. SR = System.IO.File.OpenText(filename);
  73. S = SR.ReadLine();
  74. strFileText = S;
  75. while (S != null)
  76. {
  77. S = SR.ReadLine();
  78. strFileText += S + "\n";
  79. }
  80. SR.Close();
  81. return strFileText;
  82. }
  83. private string SummaryColumnWidth()
  84. {
  85. // Column Width settings
  86. //strExcelXml.Append(ExcelStyles(ConfigurationSettings.AppSettings["Miscellaneous"] + "Styles.config"));
  87. System.Text.StringBuilder sb = new System.Text.StringBuilder();
  88. sb.Append("<Worksheet ss:Name=\"WorkSheet1\">");
  89. sb.Append("<Table>");
  90. sb.Append("<Column ss:AutoFitWidth=\"0\" ss:Width=\"12\"/>");//Blank
  91. sb.Append("<Column ss:AutoFitWidth=\"0\" ss:Width=\"50\"/>");//CONTRACT NO
  92. sb.Append("<Column ss:AutoFitWidth=\"0\" ss:Width=\"123\"/>");//SECURITY
  93. sb.Append("<Column ss:AutoFitWidth=\"0\" ss:Width=\"45\"/>");//QTY
  94. sb.Append("<Column ss:AutoFitWidth=\"0\" ss:Width=\"33\"/>");//PRICE
  95. sb.Append("<Column ss:AutoFitWidth=\"0\" ss:Width=\"45\"/>");//GROSS AMOUNT
  96. sb.Append("<Column ss:AutoFitWidth=\"0\" ss:Width=\"29\"/>");//BROK RATE
  97. sb.Append("<Column ss:AutoFitWidth=\"0\" ss:Width=\"52\"/>");//BROK AMOUNT
  98. sb.Append("<Column ss:AutoFitWidth=\"0\" ss:Width=\"35\"/>");//OTHER CHARGES
  99. sb.Append("<Column ss:AutoFitWidth=\"0\" ss:Width=\"52\"/>");//BROK AMOUNT
  100. sb.Append("<Column ss:Index=\"18\" ss:Width=\"56.25\"/>");//NET AMOUNT
  101. return sb.ToString();
  102.  
  103. }
  104.  
  105. /////
  106. <Styles>
  107. <Style ss:ID="Default" ss:Name="Normal">
  108. <Alignment ss:Vertical="Bottom"/>
  109. <Borders/>
  110. <Font ss:FontName="Times New Roman" />
  111. <Interior/>
  112. <NumberFormat/>
  113. <Protection/>
  114. </Style>
  115.  
  116. <Style ss:ID="s27" ss:Name="Hyperlink">
  117. <Font ss:FontName="Times New Roman" x:Family="Roman" ss:Color="#0000FF" ss:Underline="Single"/>
  118. </Style>
  119.  
  120. <Style ss:ID="s24">
  121. <Font ss:FontName="Times New Roman" x:Family="Roman" />
  122. </Style>
  123.  
  124. <Style ss:ID="s25">
  125. <Font ss:FontName="Times New Roman" ss:Size="10" />
  126. </Style>
  127.  
  128. <Style ss:ID="s20">
  129. <Font ss:FontName="Times New Roman" x:Family="Roman" ss:Size="10" />
  130. </Style>
  131. <Style ss:ID="s100">
  132. <NumberFormat ss:Format="Standard"/>
  133. </Style>
  134.  
  135. <Style ss:ID="s101">
  136. <NumberFormat ss:Format="Standard"/>
  137. <Borders>
  138. <Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
  139. </Borders>
  140. <Font ss:FontName="Times New Roman" x:Family="Roman" ss:Size="8"/>
  141. </Style>
  142.  
  143. <Style ss:ID="s102">
  144. <NumberFormat ss:Format="Standard"/>
  145. <Borders>
  146. <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
  147. </Borders>
  148. <Font ss:FontName="Times New Roman" ss:Size="8"/>
  149. </Style>
  150. <Style ss:ID="s102Age">
  151. <NumberFormat ss:Format="Standard"/>
  152. <Borders>
  153. <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
  154. </Borders>
  155. </Style>
  156.  
  157.  
  158. <Style ss:ID="s26">
  159. <Alignment ss:Horizontal="Center" ss:Vertical="Bottom"/>
  160. <Font ss:FontName="Times New Roman" x:Family="Roman" />
  161. </Style>
  162. <Style ss:ID="s291">
  163. <Font ss:FontName="Times New Roman" x:Family="Roman" />
  164. </Style>
  165.  
  166. <Style ss:ID="s29">
  167. <Font ss:FontName="Times New Roman" x:Family="Roman" />
  168. <Borders>
  169. <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
  170. </Borders>
  171. </Style>
  172.  
  173. <Style ss:ID="s30">
  174. <Font ss:FontName="Times New Roman" x:Family="Roman" ss:Size="8" />
  175. </Style>
  176.  
  177. <Style ss:ID="s90">
  178. <Font ss:FontName="Times New Roman" x:Family="Roman" ss:Size="8"/>
  179. </Style>
  180.  
  181. <Style ss:ID="s91">
  182. <Font ss:FontName="Times New Roman" x:Family="Roman" ss:Underline="Double"/>
  183. </Style>
  184.  
  185. <Style ss:ID="s60">
  186. <Borders>
  187. <Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
  188. <Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
  189. </Borders>
  190. <Font ss:FontName="Times New Roman" x:Family="Roman" ss:Size="8"/>
  191. </Style>
  192.  
  193. <Style ss:ID="s61">
  194. <Borders>
  195. <Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
  196. </Borders>
  197. <Font ss:FontName="Times New Roman" x:Family="Roman" ss:Size="8"/>
  198. </Style>
  199. <Style ss:ID="s61Age">
  200. <Borders>
  201. <Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
  202. </Borders>
  203. </Style>
  204. <Style ss:ID="s62">
  205. <Borders>
  206. <Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
  207. <Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
  208. </Borders>
  209. <Font ss:FontName="Times New Roman" x:Family="Roman" ss:Size="8"/>
  210. </Style>
  211.  
  212. <Style ss:ID="s63">
  213. <Borders>
  214. <Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
  215. </Borders>
  216. <Font ss:FontName="Times New Roman" ss:Size="8"/>
  217. </Style>
  218.  
  219. <Style ss:ID="s64">
  220. <Borders>
  221. <Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
  222. </Borders>
  223. <Font ss:FontName="Times New Roman" ss:Size="8"/>
  224. </Style>
  225.  
  226. <Style ss:ID="s65">
  227. <Borders>
  228. <Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
  229. <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
  230. </Borders>
  231. <Font ss:FontName="Times New Roman" ss:Size="8"/>
  232. </Style>
  233.  
  234. <Style ss:ID="s66">
  235. <Borders>
  236. <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
  237. </Borders>
  238. <Font ss:FontName="Times New Roman" ss:Size="8"/>
  239. </Style>
  240.  
  241. <Style ss:ID="s67">
  242. <Borders>
  243. <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
  244. <Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
  245. </Borders>
  246. <Font ss:FontName="Times New Roman" ss:Size="8"/>
  247. </Style>
  248.  
  249. </Styles>
Last edited by peter_budo; Jan 11th, 2009 at 2:35 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
Thanks & Regards
Ruwanthaka Ranasinghe
ruwanthaka@gmail.com
God won't give problems without solutions
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 11
Reputation: chinni1 is an unknown quantity at this point 
Solved Threads: 0
chinni1 chinni1 is offline Offline
Newbie Poster

Re: How to get an excel file while button click.

 
0
  #7
Jan 2nd, 2009
Originally Posted by ruwanthaka View Post
Hi chinni
Sorry for the delay & wish you a happy new year,

string filePath = location + “sample.xls";//Location>>the path of your virtual folder & sample.xls is the file name which going to create
int lineCount = 1;//Get the line count
System.Text.StringBuilder strExcelXml = new System.Text.StringBuilder();
strExcelXml.Append(this.ExcelHeader());//do not change any thing under ExcelHeader without having much knloage
#region ExcelStyles & Column Width
//keep Excel Styles as separate file and save it web server
strExcelXml.Append(this.ExcelStyles(ConfigurationSettings.AppSettings["Miscellaneous"] + "Styles.config"));

//Column Width settings>> This is only for formating
strExcelXml.Append(this.SummaryColumnWidth());
#endregion ExcelStyles & Column Width
//Append your Excel details Ex
this.AddRowCell("Page Number: 10", ref strExcelXml, lineCount++,9,false );
System.IO.File.Delete(filePath);
System.IO.StreamWriter sw = new System.IO.StreamWriter(filePath, true, System.Text.Encoding.Unicode);
sw.Write(ConvertHTMLToExcelXML(strExcelXml.ToString()));
sw.Close()


///Methods
private string ExcelHeader()
{
// Excel header
System.Text.StringBuilder sb = new System.Text.StringBuilder();
sb.Append("<?xml version=\"1.0\"?>\n");
sb.Append("<?mso-application progid=\"Excel.Sheet\"?>\n");
sb.Append("<Workbook xmlns=\"urn:schemas-microsoft-com:office:spreadsheet\" ");
sb.Append("xmlns:o=\"urn:schemas-microsoft-com:office:office\" ");
sb.Append("xmlns:x=\"urn:schemas-microsoft-com:office:excel\" ");
sb.Append("xmlns:ss=\"urn:schemas-microsoft-com:office:spreadsheet\" ");
sb.Append("xmlns:html=\"http://www.w3.org/TR/REC-html40\">\n");
sb.Append("<DocumentProperties xmlns=\"urn:schemas-microsoft-com:office:office\">");
sb.Append("<Author>Ruwantaka@yahoo.com</Author>");
sb.Append("</DocumentProperties>");
sb.Append("<ExcelWorkbook xmlns=\"urn:schemas-microsoft-com:office:excel\">\n");
sb.Append("<ProtectStructure>False</ProtectStructure>\n");
sb.Append("<ProtectWindows>False</ProtectWindows>\n");
sb.Append("</ExcelWorkbook>\n");

return sb.ToString();
}
/////
public static string ConvertHTMLToExcelXML(string strHtml)
{

// Just to replace TR with Row
strHtml = strHtml.Replace("<tr>", "<Row ss:AutoFitHeight=\"1\" >\n");
strHtml = strHtml.Replace("</tr>", "</Row>\n");

//replace the cell tags
strHtml = strHtml.Replace("<td>", "<Cell><Data ss:Type=\"String\">");
strHtml = strHtml.Replace("</td>", "</Data></Cell>\n");

return strHtml;
}
/////
private void AddCell(string data, ref StringBuilder sb, int colId, bool intVal)
{
if (intVal)
{
sb.Append("<Cell ss:Index=\"" + colId.ToString() + "\"><Data ss:Type=\"Number\">" + data + "</Data></Cell>");
return;
}
sb.Append("<Cell ss:Index=\"" + colId.ToString() + "\"><Data ss:Type=\"String\">" + data + "</Data></Cell>");
}
/////
private string ExcelStyles(string filename)
{
System.IO.StreamReader SR;
string S;
string strFileText = string.Empty;
SR = System.IO.File.OpenText(filename);
S = SR.ReadLine();
strFileText = S;
while (S != null)
{
S = SR.ReadLine();
strFileText += S + "\n";
}
SR.Close();
return strFileText;
}
private string SummaryColumnWidth()
{
// Column Width settings
//strExcelXml.Append(ExcelStyles(ConfigurationSettings.AppSettings["Miscellaneous"] + "Styles.config"));
System.Text.StringBuilder sb = new System.Text.StringBuilder();
sb.Append("<Worksheet ss:Name=\"WorkSheet1\">");
sb.Append("<Table>");
sb.Append("<Column ss:AutoFitWidth=\"0\" ss:Width=\"12\"/>");//Blank
sb.Append("<Column ss:AutoFitWidth=\"0\" ss:Width=\"50\"/>");//CONTRACT NO
sb.Append("<Column ss:AutoFitWidth=\"0\" ss:Width=\"123\"/>");//SECURITY
sb.Append("<Column ss:AutoFitWidth=\"0\" ss:Width=\"45\"/>");//QTY
sb.Append("<Column ss:AutoFitWidth=\"0\" ss:Width=\"33\"/>");//PRICE
sb.Append("<Column ss:AutoFitWidth=\"0\" ss:Width=\"45\"/>");//GROSS AMOUNT
sb.Append("<Column ss:AutoFitWidth=\"0\" ss:Width=\"29\"/>");//BROK RATE
sb.Append("<Column ss:AutoFitWidth=\"0\" ss:Width=\"52\"/>");//BROK AMOUNT
sb.Append("<Column ss:AutoFitWidth=\"0\" ss:Width=\"35\"/>");//OTHER CHARGES
sb.Append("<Column ss:AutoFitWidth=\"0\" ss:Width=\"52\"/>");//BROK AMOUNT
sb.Append("<Column ss:Index=\"18\" ss:Width=\"56.25\"/>");//NET AMOUNT
return sb.ToString();

}

/////
<Styles>
<Style ss:ID="Default" ss:Name="Normal">
<Alignment ss:Vertical="Bottom"/>
<Borders/>
<Font ss:FontName="Times New Roman" />
<Interior/>
<NumberFormat/>
<Protection/>
</Style>

<Style ss:ID="s27" ss:Name="Hyperlink">
<Font ss:FontName="Times New Roman" x:Family="Roman" ss:Color="#0000FF" ss:Underline="Single"/>
</Style>

<Style ss:ID="s24">
<Font ss:FontName="Times New Roman" x:Family="Roman" />
</Style>

<Style ss:ID="s25">
<Font ss:FontName="Times New Roman" ssize="10" />
</Style>

<Style ss:ID="s20">
<Font ss:FontName="Times New Roman" x:Family="Roman" ssize="10" />
</Style>
<Style ss:ID="s100">
<NumberFormat ss:Format="Standard"/>
</Style>

<Style ss:ID="s101">
<NumberFormat ss:Format="Standard"/>
<Borders>
<Border ssosition="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Font ss:FontName="Times New Roman" x:Family="Roman" ssize="8"/>
</Style>

<Style ss:ID="s102">
<NumberFormat ss:Format="Standard"/>
<Borders>
<Border ssosition="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Font ss:FontName="Times New Roman" ssize="8"/>
</Style>
<Style ss:ID="s102Age">
<NumberFormat ss:Format="Standard"/>
<Borders>
<Border ssosition="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
</Style>


<Style ss:ID="s26">
<Alignment ss:Horizontal="Center" ss:Vertical="Bottom"/>
<Font ss:FontName="Times New Roman" x:Family="Roman" />
</Style>
<Style ss:ID="s291">
<Font ss:FontName="Times New Roman" x:Family="Roman" />
</Style>

<Style ss:ID="s29">
<Font ss:FontName="Times New Roman" x:Family="Roman" />
<Borders>
<Border ssosition="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
</Style>

<Style ss:ID="s30">
<Font ss:FontName="Times New Roman" x:Family="Roman" ssize="8" />
</Style>

<Style ss:ID="s90">
<Font ss:FontName="Times New Roman" x:Family="Roman" ssize="8"/>
</Style>

<Style ss:ID="s91">
<Font ss:FontName="Times New Roman" x:Family="Roman" ss:Underline="Double"/>
</Style>

<Style ss:ID="s60">
<Borders>
<Border ssosition="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ssosition="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Font ss:FontName="Times New Roman" x:Family="Roman" ssize="8"/>
</Style>

<Style ss:ID="s61">
<Borders>
<Border ssosition="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Font ss:FontName="Times New Roman" x:Family="Roman" ssize="8"/>
</Style>
<Style ss:ID="s61Age">
<Borders>
<Border ssosition="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
</Style>
<Style ss:ID="s62">
<Borders>
<Border ssosition="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ssosition="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Font ss:FontName="Times New Roman" x:Family="Roman" ssize="8"/>
</Style>

<Style ss:ID="s63">
<Borders>
<Border ssosition="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Font ss:FontName="Times New Roman" ssize="8"/>
</Style>

<Style ss:ID="s64">
<Borders>
<Border ssosition="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Font ss:FontName="Times New Roman" ssize="8"/>
</Style>

<Style ss:ID="s65">
<Borders>
<Border ssosition="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ssosition="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Font ss:FontName="Times New Roman" ssize="8"/>
</Style>

<Style ss:ID="s66">
<Borders>
<Border ssosition="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Font ss:FontName="Times New Roman" ssize="8"/>
</Style>

<Style ss:ID="s67">
<Borders>
<Border ssosition="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ssosition="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Font ss:FontName="Times New Roman" ssize="8"/>
</Style>

</Styles>


Thanks
Wish u the Same.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC