本文介绍了向datagidview添加新行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我有一个带有一些记录的datagridview,下面是一个Button(Add),当我单击它导航到另一个表单时,该按钮将导航到另一个表单,并且该表单包含文本框和一个按钮,当我填充这些txtbox并按按钮,它正在导航到父表单以及文本框的值,现在我的要求是我想创建一个新行并将这些文本框的值放入datagridview新创建的单元格中,请帮助我.

解决方案


hi I have a datagridview with some records and below that a Button(Add) is there whenever i click on that it is navigating to another form and that form contain textbox''s and a button, when i filled those txtbox''s and press the button it is navigating to parent form along with the textbox''s value now my rquirement is i want to create a new row and putting those textbox''s values into the datagridview newly created cells,Please help me.

解决方案


这篇关于向datagidview添加新行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-27 01:19
查看更多