Add, delete, and modify news lists based on ASP. NET cainiao, and asp.net news lists
Background
I am an ASP. NET cainiao, now learning ASP. NET. I have recorded the code I personally typed here. There is not much reference value. Please see the friends who gave me a thumbs up to support me. Thank you.Website Introduction
The method modified based on the video example. The data does not pass through the database, but passes throughStaticAttribute to save a unique list as a data source to simplify the operation. ,
This website containsDisplay, add, delete, and modifyFour functions.
Results
Knowledge points include building a framework using div + css, registering events with buttons using JQuery, using iframe labels, and using the C # foreach loop to bind data functions at the front end, register the confirmation event for the deletion function. When modifying the content, use hidden to save the ID, and submit and obtain the Form tag.The IsPostBack mechanism.
Display Interface
Modify Interface
Source code download
Link: http://pan.baidu.com/s/1eQwEbOA password: 7ij2