摘要:
SqlCommand cmd; SqlCommand[] cmds, cmds1; cmds=new SqlCommand[10]; cmds1=new SqlCommand[10]; for (int i = 0; i < 10; i++) { cmd = new SqlCommand("select * from dbo.table" + i.ToString()); cmds[i] = cmd; ... 阅读全文
摘要:
class Program { static void Main(string[] args) { Hashtable hs=new Hashtable(); List collection=new List(120); Game[] fs= { new Game(1,"100","alisdun"), new Game(2,"200","blisdun"), ... 阅读全文
摘要:
string connString = ConfigurationManager.AppSettings["SqlConn"].ToString(); var conn=new SqlConnection(connString); //var cmd = new SqlCommand("SELECT alliance,ballid FROM talliance with(nolock) WHERE type=8 AND alliance like '%'+@alliance;"); ... 阅读全文