附:jquery.more.js插件内容
Home > Web Front-end > JS Tutorial > jQuery .net enables browsing more content (adapted php version)_jquery

jQuery .net enables browsing more content (adapted php version)_jquery

WBOY
Release: 2016-05-16 17:39:01
Original
1455 people have browsed it

Adapted from the php version, original text:
jQuery PHP implementation Browse more content http://www.helloweba.com/view-blog-130.html
The implementation under .net is recorded here
1. First create the database table test and insert some test data :

Copy the code The code is as follows:

go
if exists (select * from sysobjects where name='test')
drop table [test]
go
CREATE TABLE [test](
[id] [int] IDENTITY(1,1),
[author] [varchar](50),
[content] [varchar](2000),
[createOn] [datetime]
)
declare @index int;
set @index = 1;
while(@index < 1000)
begin
insert into test([author],[content],[createOn])
values ​​
('author' cast(@index as varchar(4)),'content' cast(@index as varchar(4)),DATEADD(DAY,@index,getdate()))
set @index = @index 1
end
go

2. Create an html file
Copy code The code is as follows:



< ;head>



Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template