Hi
Follow the step to show the data into a table
1. Add a Table control on the ASPX page
<asp:Table ID="tblShowData" runat="server" width="100%" border="0" cellspacing="0" cellpadding="0">
2. Add a code in .CS file
private void readFileContent(string path)
{
ApplicationClass wordApp = new ApplicationClass();
object file = path;
object nullobj = System.Reflection.Missing.Value;
Microsoft.Office.Interop.Word.Document doc = wordApp.Documents.Open(
ref file, ref nullobj, ref nullobj,
ref nullobj, ref nullobj, ref nullobj,
ref nullobj, ref nullobj, ref nullobj,
ref nullobj, ref nullobj, ref nullobj,
ref nullobj, ref nullobj, ref nullobj, ref nullobj);
doc.ActiveWindow.Selection.WholeStory();
doc.ActiveWindow.Selection.Copy();
string sFileText = doc.Content.Text;
doc.Close(ref nullobj, ref nullobj, ref nullobj);
wordApp.Quit(ref nullobj, ref nullobj, ref nullobj);
TableRow myTableRow = new TableRow();
TableCell myTableCell = new TableCell();
myTableCell.Text = sFileText;
myTableRow.Cells.Add(myTableCell);
tblShowData.Rows.Add(myTableRow);
}