摘要:
http://www.cnblogs.com/Andy_Qin/archive/2010/01/21/1653548.html 阅读全文
摘要:
public static string ResolveUrl2(string relativeUrl) { if (relativeUrl == null) throw new ArgumentNullException("relativeUrl"); if (relativeUrl.Length == 0 || relativeUrl[0] == '/' || relativeUrl[0] == '\\') return relativeUrl; int idxOfScheme = relativeUr... 阅读全文
摘要:
左外连接 简单来说 就是查询以左表为主的数据。支付宝集成的时候 注意编码问题。通知页面能够接受通知,并不代表return页面也能正常接受通知。union all 连接多个表 取出所有的集合! 阅读全文
摘要:
/// /// 导出excel /// /// /// protected void LinkButton1_Click(object sender, EventArgs e) { string content = getExcelContent(VAS.BLL.Vas_Msg_ContactsManager.Vas_DuanXin_Buyer_Dcxuexirizhi_r5UserInfo()); string css = ".firstTR td{color:blue;width:100px;}.secondTR t... 阅读全文
摘要:
//内容很好理解,只需当成Table来拼字符串即可 private string getExcelContent(DataTable dt) { StringBuilder sb = new StringBuilder(); sb.Append(""); sb.Append(""); for (int m = 0; m " + dt.Columns[m] + ""); } sb.Append(""); sb.Append(""); for (int i = 0; i "... 阅读全文
摘要:
1.truncate 用于清楚数据库表结构,就像新建的一样,自动增长列会从1开始。2.webservice给java调用时 记得加属性 [System.ComponentModel.ToolboxItem(false)] [System.Web.Script.Services.ScriptService][SoapDocumentService(RoutingStyle = SoapServiceRoutingStyle.RequestElement)] 阅读全文