reading doc file in textbox using .net2005 with c#
Answer Posted / tiger skumar
We can use the files concept to load the doc file content
into the textbox using the Multiline property.
we have many ways.This is one of the way.
using System.IO;
FileStream fstream = new
FileStream("Sample.doc",FileMode.Open,FileAccess.Read);
StreamReader sreader = new StreamReader(fstream);
txtFileContent.Text = sreader.ReadToEnd();
->change your Text Box Property into tghe multilien txtbox.
| Is This Answer Correct ? | 5 Yes | 16 No |
Post New Answer View All Answers
how to disable the lazy loading framework?
Please explain me what the project manager will ask in the interview.The interview is for senior position in .Net (5 years experience )
what is code first approach?
What is entity framework used for?
What are the 2 ways of adding constraints to a route?
What is main objective of asp.net mvc 4 or what is new in mvc4 ?
What is meant by tempdata in mvc?
What are actions in mvc?
how can you enhance the performance of entity framework?
What symbol would you use to denote, the start of a code block in razor views?
Which approach provides better support for test driven development - asp.net mvc or asp.net webforms?
Can I remove .net framework?
What is the .net framework 3.0 (formerly winfx)?
Does .NET Framework support SAX?
What type of filter does outputcacheattribute class represents?