且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

更新asp.net网页的详细信息?

更新时间:2023-12-04 10:18:04

Hai

更新成功后你需要获取数据形式数据库并显示在每个文本框中,这里只更新数据,而不是检索表单数据库。所以你需要使用选择查询来获取和显示在文本框中。



如果没有在文本框中显示数据,你需要避免页面刷新方法,我的意思是需要对所有文本框使用更新面板,所以只有页面刷新(点击服务器)。



填写完这些更新后,但我希望显示以前的详细信息,并在修改和更新配置文件后如何你试图问什么?



需要显示上次更新资料吗?



问候

Aravind
Hai
After update successfully u need get data form databse and show in each text boxes,here only u update the datas,not retrieve form database.So u need to use select query to get and show in text boxes.

If not show data in text box,u need to avoid page refresh method,i mean need to use update panel for all text boxes,so only if page refreshed(hit the server).

"after fill these updated properly but i want display previous details and after modify and update profile here how " what u try to ask ?

need to show last update profile ?

Regards
Aravind


您的ViewState是否正确PA是否已启用?



单击配置文件更新按钮以获取更新的详细信息后,您需要再次绑定控件。因此,基本上在按钮单击事件中,您将拥有代码来首先更新配置文件,然后编写代码以获取详细信息并将数据绑定到相应的控件。
Is ViewState on your page enabled?

You will need to bind your controls again after the profile update button is clicked to have the updated details. So basically in the button click event, you will have code to update the profile first and then write code to get details and bind the data to corresponding controls.