简体   繁体   中英

datalist must be refresh without postback when record inserted into table in asp.net C#

My table is:

student

Roll_number  name
1            farhat
2            rupali

I want to fetch this record in datalist . Actually I get record properly but whenever I insert record then immediately insert that record in datalist without any postback only datalist is refreshed not whole page.

Try using Ajax Update panel with triggers.

Hope this helps.

http://www.aspdotnet-suresh.com/2012/05/ajax-updapanel-control-with-triggers.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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