摘要:
[书]: java与设计模式 1000多页,李赞红强力推荐 阅读全文
摘要:
using System;using System.Data;using System.Configuration;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebContr... 阅读全文
摘要:
<connectionStrings><add name="adchina" connectionString="Data Source=adchina;Persist Security Info=True;User ID=adchina_user;Password=adchinadb;pooling=true;Max Pool Size=2;" providerName="Sy... 阅读全文
摘要:
把开CodeSmith软件,在Template Explorer菜单里面,选择打开文件夹. 可以把模板文件引进来.就可以了. 阅读全文
摘要:
protected void ProvinceBind(){this.dropsum.Items.Add(new ListItem("请选择", "0"));XmlDocument xmlDoc = new XmlDocument();xmlDoc.Load(HttpContext.Current.Server.MapPath("../App_Data/province.xml"));XmlNod... 阅读全文
摘要:
<appSettings><add key="LoginUrl" value="http://localhost:7684/AdChina.Web/Home/Login.aspx"></add></appSettings>private static string Login = WebConfigurationManager.AppSettings... 阅读全文
摘要:
弹出一个窗口,操作数据库,完了,之后 再回到原来页面:function editAction(id){document.getElementById("frame1").src = "../Shared/Dialog/DialogCreateAction.aspx?action=modify&actionid="+id;}var js=parent.redirect();public st... 阅读全文
摘要:
using System;//using System.Text;namespace SCard{/// <summary>/// CleanString 的摘要说明。/// </summary>public sealed class CleanString{public static string htmlInputText( string inputString )//... 阅读全文
摘要:
1,web.config文件里加:(1)<section name="log4net" type="System.Configuration.IgnoreSectionHandler"/>(2)<log4net><appender name="LogFileAppender" type="log4net.Appender.FileAppender"> <f... 阅读全文
摘要:
业务逻辑层日志 的操作方法:1, 添加 引用: System.Transactions;2, 添加namespaceusing System.Transactions;3,using (TransactionScope scope=new TransactionScope()){ try{DataAccess.ExecuteNonQuery("update a set c='frank' wher... 阅读全文