日期:2014-05-20  浏览次数:20492 次

我的程序到底错在哪儿了?
在服务器上可以正常访问,用其它计算机访问就会出错...    
 
 
using     System;    
using     System.Data;    
using     System.Configuration;    
using     System.Collections;    
using     System.Web;    
using     System.Web.Security;    
using     System.Web.UI;    
using     System.Web.UI.WebControls;    
using     System.Web.UI.WebControls.WebParts;    
using     System.Web.UI.HtmlControls;    
using     System.Net.Mail;    
using     System.Net.Mime;    
 
public     partial     class     insert     :     System.Web.UI.Page    
{    
              protected     void     Page_Load(object     sender,     EventArgs     e)    
              {    
                              System.Drawing.Text.FontCollection     fc     =     new     System.Drawing.Text.InstalledFontCollection();    
                              string[]     font     =     new     string[fc.Families.Length];    
                              int     i     =     0;    
 
                              foreach     (System.Drawing.FontFamily     f     in     fc.Families)    
                              {    
                                              font[i++]     =     f.Name;    
                              }    
 
                              string[]     s     =     {     "宋体 ",     "仿宋_GB2312 ",     "黑体 ",     "楷体_GB2312 ",     "隶书 ",     "方正大标宋简体 "     };    
 
 
                              Box1.FontFacesMenuList     =     s;    
                              Box1.FontFacesMenuNames     =     s;    
                                                 
              }    
              protected     void     ImageButton1_Click1(object     sender,     ImageClickEventArgs     e)