2005年3月31日
摘要: ImportsSystem.Text ImportsSystem.Security.Cryptography ModuleModSecurity FunctionEnText(ByValTextAsString,ByValsKeyAsString)AsString Text=Text.ToLower Di... 阅读全文
posted @ 2005-03-31 16:53 dragonpro 阅读(790) 评论(0) 推荐(0) 编辑
摘要: usingSystem.Web.Util; usingSystem.Web.Mail; usingSystem.Net; privatevoidButton2_Click(objectsender,System.EventArgse) { try { MailMessageMessage=newMailMessage(); Me... 阅读全文
posted @ 2005-03-31 16:51 dragonpro 阅读(382) 评论(0) 推荐(0) 编辑
摘要: usingSystem; usingSystem.Drawing; usingSystem.Windows; usingSystem.Windows.Forms; namespaceControlSet { /**//// ///自绘按钮 /// publicclassMyButton:System.Windows.Forms.Button { pr... 阅读全文
posted @ 2005-03-31 16:49 dragonpro 阅读(1925) 评论(0) 推荐(0) 编辑
摘要: 1. 怎么判断一个字符串的内容为数字? 最佳答案是使用正则表达式判断 string str; ... int i; if(str != null && Regex.IsMatch(str,@"^\d+$")) i = int.Parse(str); 2. 怎样使用WebService传输文件? 这里有两个办法 一个是使用byte[]传递,一个是使用WSE附件传递 前面一个: [WebMetho... 阅读全文
posted @ 2005-03-31 16:46 dragonpro 阅读(1034) 评论(0) 推荐(0) 编辑

Free Web Counter