随笔分类 - C#
摘要:<asp:TextBox ID="txtTransitDays" runat="server"></asp:TextBox> <asp:RegularExpressionValidator ID="TransitDaysRegexValidator" ControlToValidate="txtTransitDays" runat="server" ErrorMessage="Only posit
阅读全文
摘要:Table1 ooo Table2 更新Table1的Name到Table2
阅读全文
摘要:[] 是針對特定類型、固定長度的。List 是針對特定類型、任意長度的。Array 是針對任意類型、固定長度的。ArrayList 是針對任意類型、任意長度的。Array 和 ArrayList 是通過存儲 object 實現任意類型的,所以使用時要轉換。 Array 是抽象類別,不能使用 new
阅读全文
摘要:List是類,實現了IList接口,IList繼承了ICollection,ICollection繼承了IEnumerable,IEnumerable是其中最底層的接口。 實現IEnumerable接口的類,可以使用foreach進行循環讀取。 實現ICollection接口的類,除了可以使用for
阅读全文
摘要:https://mws.amazonservices.com/scratchpad/index.html Use this page to test Amazon MWS API request and response.
阅读全文
摘要:返回到client頁面的json string除了json data的部分之外,還包含了整個頁面的html source code. 導致json parse時出現error
阅读全文
摘要:host = "pop.gmail.com"user = "xxxxx@gmail.com"password = "xxxx"port = 995Pop3Client client = new Pop3Client();client.connet(host, port, true);client.A...
阅读全文
摘要:參考網址:http://www.cnblogs.com/kissazi2/p/3393595.htmlhttp://www.cnblogs.com/kissazi2/p/3389551.htmlhttp://www.cnblogs.com/kissazi2/p/3392094.html實際配置時,使...
阅读全文
摘要:在GridView中使用radioButoon方法一:javascript:var lastRadioSelected = null;function radioBtnClick(obj, dataId) { if (lastRadioSelected == null) { lastRadioSelected = obj.id; alert(lastRadioSelected); } else { var radio = document.getElementById(lastRadioSelected); radio....
阅读全文
摘要:參考自:http://www.dotblogs.com.tw/puma/archive/2008/11/07/5910.aspxhttp://www.codeproject.com/Articles/19398/Example-for-FolderBrowserDialog-in-Chttp://www.dotblogs.com.tw/mis2000lab/archive/2011/09/26/fileupload_serverpath_2011.aspx選擇本機檔案的兩種方式:1.利用FolderBrowserDialog或OpenFileDialogpublic partial class
阅读全文
浙公网安备 33010602011771号