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 the advantage of mvc?
Mention two instances where routing is not implemented or required?
what is code first approach?
What is entity framework firstordefault?
Is .net framework backwards compatible?
What is entitytypes? : Entity framework
Explain what is routing?
What are sections?
Does razor engine supports for tdd?
explain why t4 entity is important in entity framework?
How to update one of my table in database at 4pm every day how it is possible?
What operating systems will the .net framework 3.0 be available for?
what is way of loading data in ef (entity framework)?
Describe the roles of clr in .net framework.?
What is the .net framework?