摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> public enum emNum{zero = 0 ,one = ...
阅读全文
随笔分类 - C#
摘要:我们在修改资料时,通常会遇到把读取的原数据绑定到DropDownList的情况,由于种种原因DropDownList的项目中可能已经不包含和源数据对应该的项目。 如 Code highlighting produced by Actipro CodeHighlighter (freewar...
阅读全文
摘要:bool fileOK = false ; string path = Server.MapPath( " ~/Upload " ) + " \\ " ;//上传路径 if (fupImgUrl.HasFile) {stringfileExtension=System.IO.Path.Ge...
阅读全文
摘要:System.Net.Mail.SmtpClientcln = new System.Net.Mail.SmtpClient( " smtp.163.com " );cln.UseDefaultCredentials = false ;cln.Credentials = new Syste...
阅读全文
摘要:结构是值类型所以应该不用new来初始化例如下面代码 using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 {classProg...
阅读全文

浙公网安备 33010602011771号