• 从网上收集了IE7,6与Fireofx的兼容性处理方法并整理了一下.对于web2.0的过度,请尽量用xhtml格式写代码,而且DOCTYPE 影响 CSS 处理,作为W3C的标准,一定要加 DOCTYPE声名. 
  • 查看更多
  •  6,删除结点:
    XmlDocument xmlDoc=new XmlDocument();
    xmlDoc.Load( Server.MapPath("database.xml") );
    XmlNode rootElement=xmlDoc.SelectSingleNode("Websites");
    XmlNodeList xnl=xmlDoc.SelectSingleNode("Websites").ChildNodes;
  • 查看更多
  • 3,修改结点的值:
    XmlDocument xmlDoc=new XmlDocument();
    xmlDoc.Load( Server.MapPath("database.xml") );
    XmlNodeList nodeList=xmlDoc.SelectSingleNode("Websites").ChildNodes;//获取Websites节点的所有子节点

  • 查看更多
  • 1,创建xml文件:
    代码:
    XmlDocument xmldoc = new XmlDocument ( ) ;
    //加入XML的声明段落,<?xml version="1.0" encoding="gb2312"?>
    XmlDeclaration xmldecl;
    xmldecl = xmldoc.CreateXmlDeclaration("1.0","gb2312",null);
    xmldoc.AppendChild ( xmldecl);

  • 查看更多
  • 未指定的错误 

    Description: An unhandled exception occurred during the execution 
    of the current web request. Please review the stack trace for more 
    information about the error and where it originated in the code. 

    Exception Details: System.Data.OleDb.OleDbException: 未指定的错误 
  • 查看更多
  • 我们在ASP中能够通过cookie、查询字符串、应用程序、对话等轻易地解决这些问题。现在到了ASP.NET环境中,我们仍然可以使用这些功能,只是它们的种类更多了,功能也更强大了。
  • 查看更多
  • 其实,利用ASP.NET输出指定内容的WORD、EXCEL、TXT、HTM等类型的文档很容易的。主要分为三步来完成。
  • 查看更多
  • 1、关于MasterPage和Frameset的使用:网上很多帖子争论到底用MasterPage还是Frameset,我觉得导航树的系统还是Frameset好,尤其数导航树非常复杂的时候,虽然VS.NET 2005不支持它的可视化设计,自己手写html就行了,其实MasterPage就是继承自UserControl做了一些扩展,也不是什么新东西,MasterPage每次刷新整个页面,感觉效率低。
  • 查看更多
  • 作为一个程序员,在完成设计后还要根据程序的情况以及用户的反映不断对程序进行改进,这样才能不断地完善自己的作品。我在制作完软件商务网 的论坛后,发现人们总喜欢在帖子中加上各种有用的URL链接或Email地址。而我当初设计时没有考虑到这一点,使得这些URL链接或Email地址只能以文字的形式而并不是以超链接的形式显示,其它浏览帖子的人还必须把这些URL链接拷贝到浏览器中或把Email地址拷贝到Outlook中才能转到相应的链接地址或发送电子邮件到相应的Email地址。
  • 查看更多
1/8页 共75条记录 [首页] [上一页] [下一页] [末页] 转到:
Code©2008 irooo.cn 粤ICP备05007604号