摘要:
DataGrid: aspx中 cs中 co.con(); ... 阅读全文
摘要:
SQL: using System.Data.SqlClient; string sql = "server=.;uid=sa;pwd=;database=tablename;"; ACCESS: using System.Data.OleDb; string sql = "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA Source=" + HttpRuntime... 阅读全文
摘要:
服务端: SERVER SEND RECEIVE TcpListener tl = new TcpListener(IPAddress.Any, 9999); Socket s = tl.AcceptSocket(); byte[] bt = new byte[1024]; int count = s.Receive(bt)... 阅读全文