📄 image.txt
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -