FileStream fs = new FileStream("文件位置", FileMode.Open, FileAccess.Read);
StreamReader sr = new StreamReader(fs);
string str = sr.ReadToEnd();
label1.Text = str;
using (FileStream fsRead = new FileStream("txt文件地址", FileMode.Open))
{
int fsLen = (int)fsRead.Length;
byte[] heByte = new byte[fsLen];
int r = fsRead.Read(heByte, 0, heByte.Length);
string myStr = System.Text.Encoding.UTF8.GetString(heByte);
lable.text=myStr ;
}