문제

I am developing one application. I need to display the .txt file values in text box. so can any one tell me the codes to display the .txt file values in text box or data grid using c#?

도움이 되었습니까?

해결책

Try this:

string fileTxt = File.ReadAllText(@"c:\.....");
textbox.Text = fileTxt;
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top