当我在Gridview上单击一个按钮时,将在Windows窗体中编辑(修改)并保存到数据库(动态添加gridview控件中的按钮) [英] When I Click A Button On Gridview Selected Row Will Be Edit(modify) And Save To Database In Windows Form(Dynamicaly add the button in gridview control)

查看:84
本文介绍了当我在Gridview上单击一个按钮时,将在Windows窗体中编辑(修改)并保存到数据库(动态添加gridview控件中的按钮)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

.net(C#使用Windows窗体)

Windows窗体在c#

1.我将Dyanamicaly在gridview上添加按钮。当我点击按钮特定行时,只更新(在网格中修改)数据存储在数据库中,并在gridview中显示数据。

2.如何编写属性和事件,以便在网格视图列中动态添加控件。

.net (C# Using Windows form)
Windows Form in c#
1. I will Dyanamicaly Add the button on gridview. when i click the button particular row only update(modify in grid) the data to stored on database and display the data in gridview also.
2. How to write the properties and events for dynamically add the controls in grid view column.

推荐答案

我们不做你的作业:这是有原因的。

设置这样你就可以考虑你被告知的内容,并学会使用它,这样你的导师就可以监控你的学习成绩,以及可以做出改变以提高你的理解力。



亲自尝试:你可能会发现它比你想象的要容易。
We do not do your homework: it is set for a reason.
It is set so that you will think about what you have been told, and learn to use it, so that your tutor can monitor how well you have learnt, and can make changes to improve your comprehension.

Try it yourself: you may find it is easier than you think.


这篇关于当我在Gridview上单击一个按钮时,将在Windows窗体中编辑(修改)并保存到数据库(动态添加gridview控件中的按钮)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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