i need to draw the table outline/border,columns, rows over on a image.
Like in Rectangular box in ms paint.
Printable View
i need to draw the table outline/border,columns, rows over on a image.
Like in Rectangular box in ms paint.
I'm not entirely sure I've understood your problem vijy, but if you want to draw a Table with an image behind it use:
Panel Control (BorderStyle: FixedSingle, BackgroundImage: <your image path>)
and, inside the Panel, a TableLayoutPanel with the Rows/Columns/Borders you want.
Chris.
yes, you right but the thing is in runtime user need to draw the table on image.
so its possible to add a row, column in runtime.
Yes. As usual, you should start by reading the documentation for the type you're using, i.e. the TableLayoutPanel control. As usual, it names and describes all the members. It describes ColumnCount thusly:I will leave it to you to determine how to set the number of rows.Quote:
Gets or sets the number of columns in the table.