开发者

Gridview related problem in asp.net

开发者 https://www.devze.com 2023-02-09 13:47 出处:网络
How can I enter data from开发者_运维知识库 textbox to gridview on the buttonclick eventA gridview is more commonly used for databinding to a source of table-like data. If you\'re just moving text from

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;
0

精彩评论

暂无评论...
验证码 换一张
取 消