停灯向晓  

2010年4月2日

摘要: 定义个model(datatable也可)XmlDocumentxmldoc=newXmlDocument();stringxmlstr="<dataname="BackBtnResource1.Text"xml:space="preserve"><value>返回</value><comment>其它</comment></data>"xmldoc.LoadXml(xmlstr);XmlNodeListlist=xmldoc.SelectNodes(" 阅读全文
posted @ 2010-04-02 13:05 kofkyo 阅读(410) 评论(0) 推荐(0)
 
摘要: 代码:/* from: http://hi.baidu.com/nomady/blog/item/00da853d54ed1a01baa16734.html*/<html><head><metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/><title>每页都有的表头</title></head><body><mce:style><!--@mediaprint{INPUT{disp 阅读全文
posted @ 2010-04-02 12:55 kofkyo 阅读(371) 评论(0) 推荐(0)
 
摘要: /* from: http://blog.csdn.net/wf520pb/archive/2008/07/12/2644549.aspx*/最常见的XML数据类型有:Element, Attribute,Comment, Text. Element, 指形如<Name>Tom<Name>的节点。它可以包括:Element, Text, Comment, ProcessingInstruction, CDATA, and EntityReference. Attribute, 指在<Employee >中的粗体部分。 Comment,指形如:<!-- 阅读全文
posted @ 2010-04-02 12:53 kofkyo 阅读(217) 评论(0) 推荐(0)
 
摘要: 在网页上显示1px表格边框的时候,一般会使用下面这种方法<tableborder="0"cellpadding="0"cellspacing="1"width="760"bgcolor="#000000"><tr><tdbgcolor="#FFFFFF"> </td><tdbgcolor="#FFFFFF"> </td></tr><tr><tdbgcolo 阅读全文
posted @ 2010-04-02 12:37 kofkyo 阅读(204) 评论(0) 推荐(0)