ʹÓÃasp.net¶ÁÈ¡²¢ÏÔʾexcelÊý¾Ý
Microsoft Office ExcelÊÇÒ»¸öºÜºÃµÄµç×Ó±í¸ñÓ¦ÓóÌÐò£¬ÔÚ±¾ÎÄÖУ¬itͬѧ»á½«½Ì¸øÄã¿´µ½ÈçºÎʹÓÃASP.NET´ÓExcelµç×Ó±í¸ñ¶ÁÈ¡²¢ÏÔʾÏÔʾÊý¾Ý¡£
ÎÒÃǵÄASPÒ³Ã潫ÔÚÔ¶³Ì·þÎñÆ÷ÉÏ£¬À´¶ÁÈ¡ÎÒÃǵÄ×ÀÃæExcelÎļþ¡£Ê×ÏÈ£¬ÎÒÃDZØÐë°ÑËüÉÏ´«µ½Ô¶³Ì·þÎñÆ÷£¬È»ºóretriveÊý¾Ý¡£Òò´Ë£¬ÎÒÃÇÊ×ÏÈÉè¼ÆÒ»¸ö±í¸ñ£¬ÉÏ´«µ½·þÎñÆ÷¡£ÎÒÃDZØÐë´ÓÎļþretriveÊý¾Ý£¬ÔÙÒ»´Î£¬ËùÒÔÎÒÃǽ«ÖØÐÂÃüÃûExcel£¬È»ºóÉÏ´«¡£
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Read and Display Data from an Excel File (.xsl or .xlsx) in ASP.NET</title> <style type="text/css"> tr.sectiontableentry1 td, tr.sectiontableentry2 td { padding: 4px; } tr.sectiontableentry1 td { padding: 8px 5px; background: url(hline.gif) repeat-x bottom; } tr.sectiontableentry2 td { padding: 8px 5px; background: url(hline.gif) repeat-x bottom #F2F2F2; } </style> </head> <body> <form id="form1" runat="server"> <div> <table style="padding: 5px; font-size: 11px;" align="center" border="0"> <tbody> <tr> <td> <strong>Please Select Excel file containing job details…</strong> </td> </tr> <tr> <td> <div style="background: url(hline.gif) repeat-x bottom #F2F2F2;padding: 8px 5px;
Ïà¹ØÎĵµ£º
¹úÄÚCMS£º
1.SiteServer CMS
SiteServer CMS ÍøÕ¾ÄÚÈݹÜÀíϵͳ£¨Öø×÷ȨµÇ¼ÇºÅ2008SR15710£©ÊǶ¨Î»ÓÚÖи߶ËÊг¡µÄCMSÄÚÈݹÜÀíϵͳ£¬Äܹ»ÒÔ×îµÍµÄ³É
±¾¡¢×îÉÙµÄÈËÁ¦Í¶ÈëÔÚ×î¶ÌµÄʱ¼äÄÚ¼ÜÉèÒ»¸ö¹¦ÄÜÆëÈ«¡¢ÐÔÄÜÓÅÒì¡¢¹æÄ£ÅÓ´óµÄÍøվƽ̨¡£
¡¡¡¡ SiteServer CMS ÊÇ»ùÓÚ΢Èí.NET ƽ̨¿ª·¢µÄÍøÕ¾ÄÚÈݹÜÀíϵͳ£¬Ëü¼¯³ÉÁËÄÚÈÝ·¢² ......
×î½üµÄÏîÄ¿ÀïÓõ½AjaxControlToolkit 3.5,ÏîÄ¿Íê³ÉÒÔºóÔÚ±¾µØ²âÊÔûÎÊÌ⣬·Åµ½·þÎñÆ÷ÉÏÈ¥ÔÚIE6¾Í³öÏÖAjax ¿Í»§¶Ë¿ò¼ÜδÄܼÓÔصÄÎÊÌ⣬ÔÚFF£¬IE7£¬Opera£¬SafariµÈä¯ÀÀÆ÷¶¼Ã»ÎÊÌ⣬ÕæÊǸ㲻¶®MSÔõô¸ãµÃ£¬ÏÖÔÚ ¾ÍÏëÅ×ÆúIE6£¬ÕҵĺÃÐÁ¿à°¡£¬ÍøÉÏ˵µÄ½â¾ö·½°¸¶¼ÊÔ¹ýÁË£¬¶¼Ã»Óã¬×îºóÕÒµ½µÄ´ð°¸ÊÇ£ºÓ¦ÓóÌÐòµÄ±àÂëÎÊ Ì⣬ֻҪÔÚ ......
ValidationSummary:¸Ã¿Õ¼äµÄ×÷ÓÃÊÇ°ÑËùÓÐÑéÖ¤´íÎóµÄÁбíÏÔʾÔÚÒ³ÃæµÄͬһ¸öµØ·½¡£
ÊôÐÔ£ºDisplayMode:ÏÔʾ´íÎóÐÅÏ¢µÄ·½Ê½£ºBulletList·ÅÔÚ<ul><li></li></ul>ÀList·ÅÔÚ<div>´íÎó1<br/>´íÎó2</div>ÖУ¬²»Í¬ÐÅϢʹÓÃ<br/>¸ô¿ª£»SingleParagraph·ÅÔÚ<div>& ......
ÓÐЩwebÓ¦ÓÃÔÚ¿ÉÒÔ´¦ÀíÓû§·ÃÎÊ֮ǰ£¬ÐèҪװÔغܶàµÄÊý¾Ý£¬»ò×öһЩ»¨·ÑºÜ´óµÄ³õʼ»¯´¦Àí¡£½ñÌìʹÓà ASP.NET µÄ¿ª·¢ÈËÔ±¾³£Ê¹ÓÃÓ¦ÓõÄGlobal.asax ÎļþÖÐµÄ “Application_Start”ʼþ´¦Àíº¯ÊýÀ´×öÕâЩ¹¤×÷£¨¸ÃʼþÊÇÔÚµÚÒ»¸öÇëÇóÖ´ÐÐʱ´¥·¢µÄ£©¡£ËûÃÇҪôÉè¼Æ¶¨Öƽű¾£¬ÖÜÆÚÐÔµØÏòÓ¦Ó÷¢¼ÙµÄÇëÇó£¬À´“»½Ð ......