I am currently developing an application in C# using Windows Forms.
I am using a TableLayoutPanel with two columns. How do I add a new row programatically to the table. I have tried doing a google search, but the only problem is I am only finding adding a new row style which doesn't seem right to me.
Thank you for your help
Nope that's correct. If you want to add a row you need to use RowStyles.Add()
.
One easy way of checking this for you self of course is to look at the Form.Designer.cs code.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.