TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
raju testing
NA
5
1.1k
reading the data from text box text in word document
Jul 25 2017 3:22 AM
Reading the data from text box text in word document. textbox text is not read from word document but dropdown values is read.
Word.Application app = new Word.Application();
Word.Document doc;
object missing = System.Type.Missing;
doc = app.Documents.Open(ref path,
ref missing, ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing);
String read = string.Empty;
List
data = new List
();
for (int i = 0; i < doc.Paragraphs.Count; i++)
{
string temp = doc.Paragraphs[i + 1].Range.Text.Trim();
if (temp != string.Empty)
data.Add(temp);
}
Reply
Answers (
2
)
Convert HTML to PDF
How to Convert Amount to Word in RDLC Report Need Help ?