Ajax without refreshing pages (jquery + JSON)

Source: Internet
Author: User

Think about a project without any process,

Most of them are some basic operations on data.

I don't know if it's good to use the gradview of Asp.net.

I can see that the online comments on this control are not very good.

Let's talk about paging. We need to use Microsoft's Ajax framework.

I used jquery for too long.

So I have not studied Microsoft's Ajax framework.

Fortunately, we made a user control implemented using jquery.

Vs2008 + Access

It is only used for play, so access database is used.

Jquery + ashx + JSON

Use ashx to receive requests,

The data format is JSON.

 

Batch (select) operations are implemented,

Edit interface (two values are reversed for user-defined operations)

Delete,

Custom columns (two values are reversed for user-defined operations)

Style generation (that is, two style sheets are written)

Convert columns (that is, what is in your database, and convert them to the corresponding Chinese characters for men and women)

Set the number of records displayed on each page in config,

That's all about these features.

 

Source code

Http://liujuajaxtable.googlecode.com/svn/trunk/

You can use SVN to check out all of them.

Many people do not have SVN, so I made a package.
Http://liujuajaxtable.googlecode.com/svn/trunk/CodeAjaxDataTable.zip

Effect view Address http://liuju150.cacacoo.com/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.