If you are allowing users to delete rows from a datagrid, you may want to give them the chance to confirm the delete first. By: John Kilgo Date: July 17, 2003Download the code. Printer Friendly Version Allowing a user to delete a row from a
By: John Kilgo Date: February 22, 2003Download the code. Printer Friendly Version The inbuilt paging mechanism of the ASP.Net datagrid control is convenient, but can be very inefficient. The problem with the inbuilt system is that the entire
The Repeater control is a lightweight control but has many uses and has become a favorite of mine. Many developers do not realize that you can use templates with the Repeater. It has a limited set of templates, with few properties, but you can make
By: John Kilgo Date: December 10, 2002Download the code. Printer Friendly Version In this example you will see how to send email and one way of sending attachments from within an .aspx file. The text boxes for the various components of the email
作者: John Lauhttp://sapces.msn.com/members/yollelaw今天調試時又發現了一個BUG, 錯誤提示如下:Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and
在開發中經常需要判斷選中的CheckBox數目,做了一下總結首先最常見的是直接遍曆頁面中存在的CheckBox,基本思路就是先遍曆頁面中的所有控制項,然後判斷此控制項的類型是不是System.Web.UI.WebControls.CheckBox就可以了,代碼如下:foreach (Control ct in form1.Controls) { if (ct.GetType().ToString().Equals("System.Web.UI.WebCont