通过文本框在数据网格视图中获取一行 [英] getting a row in datagrid view by textbox

查看:59
本文介绍了通过文本框在数据网格视图中获取一行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个文本框和一个datagridalueview。我的问题是当我在文本框中输入一个值然后该值(行数将添加到数据网格视图中),例如当我在文本框中输入2时然后行将添加到数据网格视图中

i have a one textbox and a datagridalueview .my question is that when i enter a value in text box then that value(no. of row will be added in a data grid view)for example when i input a 2 in textbox then the row will be added in data grid view

推荐答案

Neha这里是最好的解决方案..



1.

http:// msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.rowcreated.aspx [ ^ ]
Neha here is best solution..

1.
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.rowcreated.aspx[^]


这篇关于通过文本框在数据网格视图中获取一行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆