摘要:
encryptstring DESCryptoServiceProvider desc = new DESCryptoServiceProvider(); byte[] key = System.Text.Encoding.Unicode.GetBytes(encryptkey); byte[] data = System.Text.Encoding.Unicode.GetBytes(encryp... 阅读全文
posted @ 2010-04-30 20:56
greencolor
阅读(245)
评论(0)
推荐(0)
摘要:
SQL Server中执行带参数的存储过程的方法是:EXEC 存储过程名字 ‘参数1′,’参数2′,数值参数EXEC 是一个关键字。 阅读全文
posted @ 2010-04-30 02:04
greencolor
阅读(167)
评论(0)
推荐(0)
摘要:
// sb sqlstring setting = System.Configuration.ConfigurationManager.AppSettings["ConnectString"].ToString(); SqlConnection myconn = new SqlConnection(setting); myconn.Open(); SqlCommand cmd = new SqlC... 阅读全文
posted @ 2010-04-30 01:31
greencolor
阅读(176)
评论(0)
推荐(0)
浙公网安备 33010602011771号