开发者

Gridview related problem in asp.net

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜