object a = Missing.Value;
object filenameOpen=filename;
Word.Document oDoc; oDoc = wordApp.Documents.Open(ref filenameOpen,ref a,ref a,ref a,ref
a,ref a,ref a,ref a,ref a,ref a,ref a,ref a);
wordApp.Visible = true; Word.Table oTable;
Word.Range wrdRng = wordApp.Selection.Range;
oTable = oDoc.Tables.Add(wrdRng, row,col, ref oMissing, ref oMissing);数据库就要用大字段啦!
object filenameOpen=filename;
Word.Document oDoc; oDoc = wordApp.Documents.Open(ref filenameOpen,ref a,ref a,ref a,ref
a,ref a,ref a,ref a,ref a,ref a,ref a,ref a);
wordApp.Visible = true; Word.Table oTable;
Word.Range wrdRng = wordApp.Selection.Range;
oTable = oDoc.Tables.Add(wrdRng, row,col, ref oMissing, ref oMissing);数据库就要用大字段啦!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货