We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Assigning a value to a table cell

How do I assign a value to a table cell?

I have an applicaion that customises documents as per user needs. To achive this, we start with the document templates and go on adding the required data to it. In once such operation, I need to update the value of an existing column of a table. I don't see any property or method in the Cell class that allows me to do this.

Your response is highly appreciated.

Thanks and Regards,
Pranav


This message was posted using Page2Forum from CellFormat Property - Aspose.Words for .NET

Hello

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. You can try using DocumentBuilder as described here:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/using-documentbuilder-to-modify-a-document-easily.html

Also please see the following code:

Document doc = new Document("in.doc");

DocumentBuilder builder = new DocumentBuilder(doc);

builder.MoveToCell(0, 1, 2, 0);

builder.Writeln("Test");

Best regards,