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
What is entitytypes? : Entity framework
What is .net architecture and framework?
what do you mean by navigation property?
what is entityclient?
What is representational state transfer (rest) mean?
What is the use of razor view engine?
Which version of .net framework is installed?
Describe the roles of clr in .net framework.?
what is complex type?
What is the full form of sp?
how can you enhance the performance of entity framework?
How the ‘page lifecycle’ of ASP.Net MVC does works?
how to disable the lazy loading framework?
what is lazy loading in entity framework?
What are bundling & minification features in asp.net mvc 4?