----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Jayant_Magic Message 2 in Discussion Hi Srini, To dynamically add the header you can do like this: Dim tbl As Table Dim tblRow As TableRow Dim tblCell As TableCell Dim lblTest As Label tbl = New Table tblRow = New TableRow tblCell = New TableCell lblTest = New Label ''Code lblTest.Text = "Test" tblCellr.Controls.Add(lblTest) 'Adding cell to row tblRow.Controls.Add(tblCell) 'Adding row to table content tbl.Rows.Add(tblRow) Aboce code is adding one row with one column and you can add multiple row with multiple columns. Hope it solves your problem. Regards Jayant Jindal ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDotNet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]