使用新列在数据库中更新的屏幕中的更改 [英] changes in the screen that to be update in the database with new column

查看:60
本文介绍了使用新列在数据库中更新的屏幕中的更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在运行模式Datagridview中如下;



日期课程课程学院代码

18/3/2013 1 REO GS



我在数据库中保存了以上记录。





假设在上面记录我所做的任何更改,数据应保存在新列中。



上述记录我从1 REO GS更改为2 ASM VB。



上述更改应保存在新栏目中,如下所述。



日期课程课程教师代码期主题名称



18/3/2013 2 ASM VB







我怎么能用csharp。



问候,



Narasiman P.

in run mode Datagridview as follows;

Date Session Course Faculty Code
18/3/2013 1 REO GS

in the database i saved the above record.


Suppose in the above records any changes i made that data should be saved in the new column.

for the above record i made changes from 1 REO GS to 2 ASM VB.

the above changes should be saved in the new column as below i mentioned.

Date Session Course Faculty Code Period Subject Name

18/3/2013 2 ASM VB



for that how can i do using csharp.

Regards,

Narasiman P.

推荐答案

您必须将更改保存为数据库中的新记录并再次获得结果,我很薄k最好将这些记录显示为行,因为每次都必须将行转换为列。但如果它是必需的,则可以使用数据透视表。
You have to save changes as new record in database and get result again, i think it is better to display these records as rows because you have to convert rows into columns each time.But if it is mandatory then you can use Pivot table.


这篇关于使用新列在数据库中更新的屏幕中的更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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