摘要: 转载自http://www.cnblogs.com/jxsoft/archive/2011/03/14/1983951.htmlusing System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web. 阅读全文
posted @ 2013-03-26 11:02 苏苏zhao 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/fan6662000/archive/2008/11/14/3302290.aspx从网上整理所得XMLDocument来操作XML比较简单,虽然有时效率不是很高。代码如下已知有一个XML文件(bookstore.xml)如下:<?xml version="1.0" encoding="gb2312"?><bookstore> <book genre="fantasy" ISBN="2-3631-4"> 阅读全文
posted @ 2013-03-26 11:01 苏苏zhao 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 转载自http://www.cnblogs.com/jxsoft/archive/2011/03/15/1984535.html01.byte[] head =newbyte[] { 0x7e }; 02.byte[] type =newbyte[] { 0x00 }; 03.byte[] content = Encoding.Default.GetBytes("ABCDEGF"); 04.byte[] last =newbyte[] { 0x23 }; 05.byte[] full=newbyte[head.Length+type.Length+content.Lengt 阅读全文
posted @ 2013-03-26 10:59 苏苏zhao 阅读(1756) 评论(0) 推荐(0) 编辑
摘要: 转载自http://www.cnblogs.com/jxsoft/archive/2011/03/15/1984509.htmlprivatestaticchar[] constant = { '0','1','2','3','4','5','6','7','8','9', 'a','b','c','d','e','f','g' 阅读全文
posted @ 2013-03-26 10:58 苏苏zhao 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 转载自http://www.cnblogs.com/jxsoft/archive/2011/05/06/2038952.html) 行、列的隐藏[VB.NET]' DataGridView1的第一列隐藏DataGridView1.Columns(0).Visible = False' DataGridView1的第一行隐藏DataGridView1.Rows(0).Visible = False[C#]// DataGridView1的第一列隐藏DataGridView1.Columns[0].Visible = false;// DataGridView1的第一行隐藏Data 阅读全文
posted @ 2013-03-26 10:56 苏苏zhao 阅读(306) 评论(0) 推荐(0) 编辑