摘要:
阅读全文
摘要:
protected void Button1_Click(object sender, EventArgs e) { //strImg为base64编码的图片字符串 string strImg = "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMj... 阅读全文
摘要:
如数据库中有一个字段保存了xml格式的一串字符串: 1 张三 2 1 李四 1 方法一:js//字符串转化为xmlfunction toXmlDom(source) { var xmlDoc = null; if (window.ActiveXObject) { var ARR_ACTIVEX = ["MSXML4.DOMDocument", "MSXML3.DOMDocument", "MSXML2.DOMDocument", "MSXML.DOMDocument", "Microsoft.XmlDom 阅读全文
摘要:
1)web.config 文件内容如下: 2)添加一个类文件ConfigurationHelper.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Configuration;namespace WebApplication1{ public class ConfigurationHelper ... 阅读全文