Time of Update: 2018-12-06
、對於開發中使用檔案上傳功能遇到: XML request error: Internal Server Error(500) 錯誤的解決辦法。遇到500內部錯誤是怎麼回事呢? 因為ASP.NET2.0新增了Theme功能,所以如果在你的工程中你對Web.config使用到了styleSheetTheme或theme的話那就要再多修改一下。還是到FCKeditor所在的目錄,分別開啟\editor\filemanager\upload\aspx\upload.aspx和\editor\
Time of Update: 2018-12-06
<style>.btn {BORDER-RIGHT: #7b9ebd 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #7b9ebd 1px solid; PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#cecfde);
Time of Update: 2018-12-06
關於Jmail的使用介紹網上已經不少,我把自己的體驗紀錄一下,既協助跟我一樣的初學者也是個積累。 Jmail的使用主要有以下幾點: 一. 安裝:要在機器上安裝Jmail組件,其實就是一個“Jmail.dll”,一般會被安裝到C:\windows\system32\目錄中。如果下載到的僅僅是Jmail.dll這個檔案,就可以手動放到這個目錄,不過別的目錄應該也可以,我沒試過。 二.
Time of Update: 2018-12-06
這幾天幫朋友做個小網站,為了網站更容易擴充,所以使用了.menu控制項做網站導行.本來在做的時候沒出錯,可上傳之後卻顯示不出,動態菜單的部分,並且提示指令碼錯誤.於是乎上網開始找答案,找了大半天.終於找到了,現在總結解決方案如下:第一:在你的web.config裡加 <httpHandlers> <add path="WebResource.axd" verb="GET"
Time of Update: 2018-12-06
以前編程時在寫訊息對話時,總是每到用的地方就來一個Response.Write("<scritp language='javascript'>alert('訊息');</script>");為了減少代碼的重寫,總結了一下常用的對話方塊.public class WebMessageBox{ /// <summary> /// 網頁訊息對話方塊 /// </summary> /// <param
Time of Update: 2018-12-06
NHibernate與預存程序相聯,實際上也就是與sqlclient,oledb,等SqlCommand,sqldataadapter,等相聯.其主要步驟如下:public DataSet GetDs(){ NHibernate.Cfg.Configuration cfg = new NHibernate.Cfg.Configuration(); ISessionFactoryImplementor factory =
Time of Update: 2018-12-06
placeHolder在html頁面中,並沒有什麼標記顯示.它最大的作用就是能向其動態添加控制項.其中如果想向其添加Html標記,則要用LiteralControl來實現,<body> <form id="form1" runat="server"> <asp:PlaceHolder ID="PlaceHolder1" runat ="server" /> <asp:Button ID="button1" runat
Time of Update: 2018-12-06
CuteEditorCuteEditor 5.0 破解版的是:http://www.seaskyer.net/ CuteEditor 5.0 示範地址:http://wap.seaskyer.net/CuteEditor/vb/ 優點:配置簡單,功能強大 其他線上編輯器:FCKeditor,WebHtmlEditor ,FTB,RichTextBox
Time of Update: 2018-12-06
SocketServer 端應用程式static void Main(string[] args) { IPAddress address = IPAddress.Parse("127.0.0.1"); IPEndPoint point = new IPEndPoint(address, 3000); Socket server = new
Time of Update: 2018-12-06
mso-fareast-font-family:宋體;mso-fareast-theme-font:minor-fareast;mso-hansi-font-family:Calibri;mso-hansi-theme-font:minor-latin;color:#00B0F0">百度搜尋引擎URLnormal">minor-latin;mso-fareast-font-family:宋體;mso-fareast-theme-font:minor-fareast;mso-hansi-font-
Time of Update: 2018-12-06
MailMessage mail = new MailMessage(); mail.To.Add(new MailAddress("接收者郵箱地址")); mail.From = new MailAddress("發送都郵箱地址"); mail.Subject = "test"; mail.Body = "test body"; SmtpClient mailer = new SmtpClient();
Time of Update: 2018-12-06
以前做東西時沒發現過這個問題,因為以前做的都是用的gridview自己提供的按鈕,沒有自己加上的.今天做東西加了幾個排序的按鈕.處理這個兩個按鈕的事件如下: protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e) { if (e.CommandName == "up") { int id =
Time of Update: 2018-12-06
有圖有真相,先看片 代碼如下: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 var progressBar = Ext.Msg.show({ 2 title : "請稍等...", 3 msg : "伺服器正在處理中...", 4
Time of Update: 2018-12-06
Gridview的資料來源可為dataview,dataset,datatable,list 等,只要符合Ilist 結口的資料集合.前幾種沒什麼可說的,重要的是list這個東西並不常用.當list做為gridview的資料來源時必須儲存的是一組對象的集合.常見錯誤ID 為“GridView1”的 GridView 的資料來源沒有任何可用來產生列的屬性或特性。原因和解決辦法造成此錯誤的源因是,對象中的屬性不是可讀寫的.只要把對對象的屬性改為可讀寫的就行了.其綁定試和dataset
Time of Update: 2018-12-06
<asp:MultiView ID="aMultiView" runat ="server" > <asp:View ID="view1" runat ="server" > Content for view 1 here. </asp:View> <asp:View ID="view2" runat ="server" > Content for view 2
Time of Update: 2018-12-06
FCKeditor的官方網站是:http://www.fckeditor.net/download 目前最新的FCKeditor 2.6.3版本。請在此頁下載:http://sourceforge.net/project/showfiles.php?group_id=75348要下載Fckeditor 和FckEditor.Net兩個壓縮檔.1.
Time of Update: 2018-12-06
我從網上找的 GridView 增加刪除確認提示1、增加一個列。當然也可以啟用GridView裡的刪除列 <asp:CommandField ShowDeleteButton="true" /> 2、在行的資料繫結事件裡增加以下代碼: protected void GridView2_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType
Time of Update: 2018-12-06
以前做東西時只知道DataBinder能在html中應用於datagrid或者datalist中的模板列,沒想到在cs代碼中也能用。以後再判斷gridview列值時,就不用索引了,直接可以用欄位名,cs代碼中:protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { int i = Convert.ToInt32(DataBinder.Eval(e.Row.DataItem,
Time of Update: 2018-12-06
DOCTYPE是document type(文件類型)的簡寫,在Web設計中用來說明你用的XHTML或者HTML是什麼版本。要建立符合標準的網頁,DOCTYPE聲明是必不可少的關鍵組成部分;除非你的XHTML確定了一個正確的DOCTYPE,否則你的標識和CSS都不會生效。 文法HTML 頂級元素 可用性 "註冊//組織//類型 標籤//定義 語言""URL"頂級元素 指定 DTD 中聲明的頂級元素類型。這與聲明的 SGML 文件類型相對應。 HTML 預設。HTML。可用性
Time of Update: 2018-12-06
ASP.NET對請求處理的過程: 當請求一個*.aspx檔案的時候,這個請求會被inetinfo.exe進程截獲,它判斷檔案的尾碼(aspx)之後,將這個請求轉交給 ASPNET_ISAPI.dll,ASPNET_ISAPI.dll會通過http管道(Http PipeLine)將請求發送給ASPNET_WP.exe進程,在ASPNET_WP.exe進程中通過HttpRuntime來處理這個請求,處理完畢將結果返回用戶端。