自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

转载 .net读取xml文件

<br /> <br />//XML 文件<?xml version="1.0" encoding="utf-8" ?><JLVersion> <version> <Number>jl-11.0104</Number> <Time>2011-01-04</Time> </version></JLVersion> //读取xml 返回listpublic List<string> getVersion(){

2011-02-26 22:46:00 421

转载 检测xml字符串是否合法

<br />try{ System.Xml.XmlDocument doc = new System.Xml.XmlDocument(); doc.LoadXml(xmlStr); return 合格}catch(Exception ex){ //不合格}

2011-02-26 22:31:00 1334

原创 c# winform app.config xml 配置文件 读写操作

<br /> /// <summary> /// 设置配置文件 对指定项设置指定值 /// </summary> /// <param name="AppKey"></param> /// <param name="AppValue"></param> public static void SetValue(string AppKey, string AppValue) {

2011-02-19 22:37:00 2499

转载 c# winform 读取ini配置文件信息内容

public string inipath=Application.StartupPath+"//system.ini";        [DllImport("kernel32")]        private static extern long WritePrivateProfileString(string section, string key, string val, string filePath);        [DllImport("kernel32")]        private

2011-02-19 22:29:00 2106

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除