| |

VerySource

 Forgot password?
 Register
Search
View: 629|Reply: 3

Web script storage issues

[Copy link]

2

Threads

6

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-2-4 16:00:01
| Show all posts |Read mode
I have a form on my web page that is generated from a database. Then I enter a value in the Text box in the form. Click save. I want to save the form in the database again, but every time I save the form. The content of the text I added is missing.
Excuse me, masters, how to deal with it? Thank you!
Reply

Use magic Report

0

Threads

64

Posts

45.00

Credits

Newbie

Rank: 1

Credits
45.00

 China

Post time: 2020-3-22 16:45:01
| Show all posts
Put the method of fetching data into Ispostback
Reply

Use magic Report

0

Threads

322

Posts

115.00

Credits

Newbie

Rank: 1

Credits
115.00

 China

Post time: 2020-3-23 09:30:02
| Show all posts
Add before the value
if (! this.IsPostBack)
{
 // Get the value from the database. display.
}
Reply

Use magic Report

0

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-3-25 09:30:02
| Show all posts
Upstairs solution
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list