简体   繁体   English

如何从表中获取旧数据,将其保存到文本框中,然后在文本框中添加新值?

[英]How to get the old data from tables save them into a textbox + add the new value in the textbox?

I'll show an example: Gridview: 我将显示一个示例:Gridview:

                     ID Column 1 | Column 2 | Column 3 
edit,delete,select    1  Chris      22         England

If I press edit and edit a value let's say from column 1 : Chris to John I want to be added in a textbox each time something is changed, a new line like this: 如果我按edit并编辑一个值,那么从第1列说:克里斯到约翰,我希望每次更改时都在文本框中添加新行,如下所示:

ID:1 Column1 value "Chris" was changed to "John" Column2:22 Column3:England

So it's like a history of what was changed , so I can print them later . 这就像是更改的历史,因此我以后可以打印它们。 SQL Database 2008,c#,asp.net SQL数据库2008,c#,asp.net

Thanks, I really need help at this 谢谢,我真的很需要帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM