摘要:
一,链接打开之后必须关闭,否则会占用系统空间SqlConnection conn=new SqlConnection(CONNECTIONSTRING);conn.open();conn.close(); //必须成对出现二,在创建命令对象commandText查询时尽量不要用join查询,那样会... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Data;using System.Data.Sql... 阅读全文