2005年3月31日
摘要: usingSystem; usingSystem.Drawing; usingSystem.Windows; usingSystem.Windows.Forms; namespaceControlSet { /**//// ///自绘按钮 /// publicclassMyButton:System.Windows.Forms.Button { pr... 阅读全文
posted @ 2005-03-31 16:49 dragonpro 阅读(1937) 评论(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 阅读(1050) 评论(0) 推荐(0)

Free Web Counter