开发者

How to add text to a C# datagrid from a textbox using a button click

How to add text开发者_如何学运维 to a C# datagrid from a textbox using a button click


The question doesn't make any sense please mention your need so that i can give a try, if you just want to add what you have typed in textbox its very simple create a class, set its property and in gridview add a databound with datakey as class property name, and while you click on the button return the class as a list and set the datasource of the gridview to it and bind it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜