繁体中文
设为首页
加入收藏
当前位置:.Net技术首页 >> Asp.Net开发 >> 给初学的朋友们,datagrid用xml作为数据源,并且有更新,删除和排序的操作(VB)

给初学的朋友们,datagrid用xml作为数据源,并且有更新,删除和排序的操作(VB)

2007-07-15 08:00:00  作者:  来源:互联网  浏览次数:0  文字大小:【】【】【
简介: Sub Page_Load(Src As Object, E As EventArgs) If Not (IsPostBack) DataLoad("isbn") End If End Sub Sub DataLoad(parmsort as string) Dim ds As New DataSet Dim FS As New FileStream(Server.MapPath(...

<%@ Import Namespace="System.IO" %>

<%@ Import Namespace="System.Data" %>

The Best Books Ever

AllowSorting="true"

OnSortCommand="DataSort"

OnDeleteCommand="DataDelete"

OnEditCommand="DataEdit"

OnCancelCommand="DataCancel"

OnUpdateCommand="DataUpdate"

DataKeyField="isbn"

Width="100%"

BackColor="white"

BorderColor="black"

ShowFooter="false"

CellPadding=3

CellSpacing="0"

Font-Name="Verdana"

Font-Size="8pt"

Headerstyle-BackColor="lightblue"

Headerstyle-Font-Size="10pt"

Headerstyle-Font-Style="bold"

MaintainState="true"

>

By the way, here is the XML source for this example:

Run This Code

0070653623

Jack Trout, Steve Rivkin

The Power of Simplicity

selfhelp

A Real Fun Read

0887306667

Al Reiss, Jack Trout

22 Immutable Laws of Marketing

marketing

This team offers more profound advice about creating world class marketing campaigns that will be viable for a hundred years.

0887309372

Al Reiss, Laura Reiss

22 Immutable Laws of Branding

marketing

This book is great for people who used 22 Immutable Laws of Marketing to build a brand and now want to strengthen that brand.

0679757651

Tom Peters

Circle of Innovation

marketing

His most recent book is his best by far!

0884270610

Eli Goldthrait

The Goal

management

Advocate of Theory of Constraints as applied to managment and optimization.

068485600X

Jeff Cox, Howard Stevens

Selling the Wheel

management

Excellent Treatise/Novel on the entire Sales Cycle

0672316498

Alan Cooper

The Inmates Are Running The Asylum

management

The father of Visual Basic and creator of the new art of Interaction Design - very valuable in designing websites. Basically the worlds most cutting edge thinker in User Interface design aimed at simplifying software use.

责任编辑:admin
相关文章