Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

asp.netÖдò¿ªExcelÉÏ´«Îļþ,¶ÁÈ¡Êý¾ÝµÄ·½·¨

 
´úÂë:
/// <summary>
    /// ´ò¿ªExcelÎļþ
    /// </summary>
    /// <param name="ExcelFileName">ÎļþÃû</param>
    private void OpenExcelFile(string ExcelFileName)
    {
        Excel.Application App = new Excel.Application();
        if (App == null)
        {
            return;  //ExcelÉÐδ°²×°
        }
        Excel.Workbook workbook = App.Workbooks.Open(@ExcelFileName,
            Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
            Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
            Type.Missing, Type.Missing, Type.Missing, Type.Missing);
        CultureInfo CurrentCI = System.Threading.Thread.CurrentThread.CurrentCulture;
        try
        {
            App.Visible = false;
            App.DisplayAlerts = false;
            Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
            ProcessExcelData(workbook);
        }
        finally
        {
            App.


Ïà¹ØÎĵµ£º

ASP.NET TreeView Web ·þÎñÆ÷¿Ø¼þʼþ


      TreeView Web ·þÎñÆ÷¿Ø¼þÌṩÁ˼¸¸ö¿É½øÐбà³ÌµÄʼþ¡£ÕâʹÄúÄܹ»ÔÚ·¢ÉúʼþʱÔËÐÐ×Ô¶¨ÒåÀý³Ì¡£
 
Ò»¡¢Ê¼þ
      Ö»ÓÐÓû§Í¨¹ýһЩ²Ù×÷£¨ÈçÑ¡Ôñ¡¢Õ¹¿ª»òÕÛµþ½Úµã£©Óë¿Ø¼þ½»»¥Ê±£¬²Å»áÒý·¢ TreeView ¿Ø¼þʼþ¡£Èç¹ûÒÔ±à³Ì·½Ê½µ÷ÓÃÑ¡Ôñ¡¢Õ¹¿ª»òÕÛµþ·½·¨£ ......

ASP.NET ½«Í¼ÏñÓÃÓÚ TreeView ¿Ø¼þ


      TreeView ¿Ø¼þ¾ßÓÐÐí¶à²»Í¬µÄÍâ¹Û£¬´Ó¶ø¿ÉÒÔÌṩÁé»îµÄͼÏñ×Ô¶¨ÒåÒÔ¼°Ö¸¶¨×Ô¶¨ÒåÓû§½çÃæ (UI) Ñ¡ÏîµÄÊôÐÔ¡£Äú¿ÉÒÔ½«Í¼ÏñÓë TreeView ¿Ø¼þÒ»ÆðʹÓÃÀ´±íʾ½Úµã¡¢Á¬½ÓÏßÒÔ¼°Õ¹¿ªºÍÕÛµþͼ±ê¡£»¹¿ÉÒÔʹÓà ImageSet ÊôÐÔÖÐÒ»×éÔ¤¶¨ÒåµÄͼÏñ£¬»òÕßͨ¹ýÉèÖø÷¸öͼÏñÊôÐÔÀ´Ê¹ÓÃ×Ô¶¨ÒåͼÏñ¡£
&nbs ......

ASP.NET MVC 2 RC ·¢²¼

ASP.NET MVCÊǼÌASP.NET WebFormsÖ®ºó£¬Î¢ÈíÍƳöµÄFront ControllerʽµÄWeb¿ª·¢Ä£ÐÍ£¬ËüÃÖ²¹ÁËÇ°Õ߶ÔHTML¿ØÖÆÄÜÁ¦²»×㣬µ¥Ôª²âÊÔ½ÏΪÀ§ÄѵÈȱµã¡£¸üÖØÒªµÄÊÇ£¬ASP.NET MVC»ùÓÚMS-PL·¢²¼£¬ÊÇÒ»¸öÕæÕýµÄ¿ªÔ´¿ò¼Ü——ÇÒûÓÐÈκÎƽ̨ÏÞÖÆ£¬Ò²¾ÍÊÇ˵£¬Äú¿ÉÒÔÔÚmonoÏÂʹÓûò¿ª·¢ASP.NET MVCµÄÏà¹ØÏîÄ¿¡£ ΢ÈíÔÚ½ñÄê3Ô ......

asp.net C# ÅÅÁÐ×éºÏ ·ÇµÝ¹é

using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("/*\n------Êä³ö½á¹û------------");
getSplit("ABCDEFG"); ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ