首先引用IO类 private void button1_Click(object sender, EventArgs e) { StreamReader str=new StreamReader("文档路径",Encoding.GetEncoding("gb2312")); //Encoding.GetEncoding("gb2312")防止读取文字时出现乱码 textBox1.Text = str.ReadToEnd(); }