Hello,

As the title says: How can I put a textbox in a table grid?

I am asking because when I drag a textbox from ToolBox to a table in the form,
it is not displayed in the grid of the table.
Instead it is being displayed outside the boundaries of table.

Thanks.

Recommended Answers

All 3 Replies

A DataGridView has a default of textboxes, so you don't have to add one from the toolbox.Click Here

@ddanbe,
Thanks, but it is not what I want. I am making a sudoku game and I dragged a table to the form.
And I want the user to enter numbers in the empty grids when playing.

SEt up an array of 81 textboxes programatically instead.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.