image.txt
来自「精通ASP.NET2.0企业级开项目开发源代码.有会员积分系统/简单OA系统/客」· 文本 代码 · 共 9 行
TXT
9 行
SqlConnection mycon=new SqlConnection("server=.;database=xbdzzw;uid=sa;pwd=");
mycon.Open();
SqlCommand mycmd= new SqlCommand("select * from stocksurr where id=5",mycon);
SqlDataReader dr= mycmd.ExecuteReader();
byte [] b1=(byte[])dr["document"];
// string values=System.Text.Encoding.GetEncoding("gb2312").GetString(ib,0,2);
MemoryStream ms=new MemoryStream(b1);
richTextBox1.LoadFile(ms,System.Windows.Forms.RichTextBoxStreamType.UnicodePlainText);
mycon.Close();
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?