如何保存下次的数据? [英] how to save data for next time?

查看:83
本文介绍了如何保存下次的数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有应用程序有一个表格

在那个表格中我希望用户可以点击按钮我将在下次填写表格之后当用户打开下次表格时应该填写与他/她之前的数据一起.................



请帮帮我怎么样?



i也有多个附件,我有大约60个字段,所以无论用户第一次第二次输入所有值,必须检索所有值,无论用户第一次输入......

I have application which have one form
in that form i want facility that user can click on button "i will complete form next time" after that when user open next time that form should be filled out with his/her previous data.................

Please help me how to ?

i have multiple attachments also and i have around 60 fields so whatever user enter first time second time all the values must be retrieved whatever user have entered first time......

推荐答案

你应该把下一个复选框放在那里完成代码

首先你在表格中创建列isRetrieve数据类型是int



如果在注册时选中了复选框,则在isRetrieve列中插入1



现在第二次检索所有数据用户,如果isRetrieve为1则填充控件中的所有数据

否则不填...:)
You should put checkbox for nexttime Complete there and code
first of all you make column in table "isRetrieve "datatype is int

if checkbox is selected on registration then insert 1 in column "isRetrieve"

now second time retrieve all data of user and if isRetrieve is 1 then fill all data in controls
else dont fill...:)


如果你有将以前的数据存储在数据库级别。
In case you have to store previous data in Database level.


请参阅这些链接。



如何在插入数据库之前保存表单数据...? [ ^ ]



ASP.NET - 什么是最简单的通用方法保存表单数据并在用户导航回页面时检索它? [ ^ 时,它会保存表格数据并检索它。



如何将ASP.NET表单数据保存和读取到数据库 [ ^ ]



问候......:笑:
Refer to these links.

How to Save Form Data Before Insert into database...?[^]

ASP.NET - What is the easiest generic way to save form data and retrieve it when the user navigates back to the page?[^]

How to save and read ASP.NET form data to a database[^]

Regards..:laugh:


这篇关于如何保存下次的数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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