How can I enter data from开发者_运维知识库 textbox to gridview on the buttonclick event
A gridview is more commonly used for databinding to a source of table-like data. If you're just moving text from textboxes to grid/table, you might be better off using a regular table with empty asp labels in the cells. On postback, you can:
lblCell11.Text = txtBox1.Text;
精彩评论