摘要:
conn.Close(); SqliteConnection.ClearAllPools(); Close之后调用SqliteConnection.ClearAllPools()就能释放文件 阅读全文
摘要:
public void Main() { //图片地址 DataTable imageList = null;//可文件夹循环,可sql foreach (DataRow dr in imageList.Rows) { string imgUrl = dr["hf_fileUrl"].ToStrin 阅读全文
摘要:
/// /// 获取周 /// /// /// static int GetWeekNumber(int year) { DateTime now = Convert.ToDateTime(year + "-12-31"); var cal = System.Globalization.Cultur 阅读全文
摘要:
Type type = typeof(对象); //获取类型 var userActivityModel = (对象)Activator.CreateInstance(type); //创建对象 foreach (var item in model.ChildControl) { int index 阅读全文
摘要:
先上图!  出现图片上的问题,图片是我网上找的 问题描述: 只会出现在c#前端js页面中并且只在body里面的js中 阅读全文
摘要:
前端js: 点击查看代码 ``` var local = encodeURIComponent(window.location.href); var appid = $("#appId").text();//公众号 var url = 'https://open.weixin.qq.com/conn 阅读全文
摘要:
openid:用户openId outTradeNo:订单编号 description:商品描述 totalFee:金额 public string UnifiedOrder(string openid, string outTradeNo, string description, int tota 阅读全文