| |

VerySource

 Forgot password?
 Register
Search
View: 727|Reply: 5

Regarding triggers, please help

[Copy link]

6

Threads

20

Posts

15.00

Credits

Newbie

Rank: 1

Credits
15.00

 China

Post time: 2020-1-6 13:50:01
| Show all posts |Read mode
I made a management page manager.aspx, this page is to display the data of the user table with datagrid
Now implement such a function, when the datagrid table of manager.aspx has a record increase, (in fact, the user table has increased data, personal beginners do not understand, just reasoning) can talk about a message. For users who log in to this page.

I want to use asp.net + sqlserver trigger Shirui, but I am just a beginner, I do not know how to write the trigger, how to call asp.net to achieve this effect. Please help, thank you.
Reply

Use magic Report

0

Threads

119

Posts

67.00

Credits

Newbie

Rank: 1

Credits
67.00

 China

Post time: 2020-1-6 23:21:01
| Show all posts
The trigger can only be operated in the DB. The effect you said should feel like you should query the database regularly.
Reply

Use magic Report

0

Threads

12

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

Post time: 2020-1-6 23:33:02
| Show all posts
I don't understand that. The data in the user table is increasing there? Is it in the manager.aspx page? Or is someone adding data, and other users who log in to this page pop up information?
Reply

Use magic Report

6

Threads

20

Posts

15.00

Credits

Newbie

Rank: 1

Credits
15.00

 China

 Author| Post time: 2020-1-7 10:24:01
| Show all posts
zhengminglin

Someone adds data, and other users who log in to this page all pop up messages?
Reply

Use magic Report

6

Threads

20

Posts

15.00

Credits

Newbie

Rank: 1

Credits
15.00

 China

 Author| Post time: 2020-1-7 10:54:01
| Show all posts
Iszhengminglinin. Is the latter you said is the function I want to achieve
Reply

Use magic Report

0

Threads

12

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

Post time: 2020-8-11 09:30:01
| Show all posts
The web page where "other users" is located should be refreshed regularly.
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