网上书店系统毕业论文 - 图文

2026/4/24 14:55:38

DataNavigateUrlFormatString=\

Text=\详细\

<%--

后台核心代码:

public static Book AddBook(Book book) {

string sql =

\WordsCount, UnitPrice, ContentDescription, AuthorDescription, EditorComment, TOC, CategoryId, Clicks)\

\ALUES (@Title, @Author, @PublisherId, @PublishDate, @ISBN, @WordsCount, @UnitPrice, @ContentDescription, @AuthorDescription, @EditorComment, @TOC, @CategoryId, @Clicks)\

sql += \

try {

SqlParameter[] para = new SqlParameter[] { new SqlParameter(\ new SqlParameter(\ new SqlParameter(\ new SqlParameter(\ new SqlParameter(\ new SqlParameter(\ new SqlParameter(\ new SqlParameter(\ new SqlParameter(\

33

new SqlParameter(\ new SqlParameter(\ new SqlParameter(\ };

int newId = DBHelper.GetScalar(sql, para); return GetBookById(newId); }

catch (Exception e) {

Console.WriteLine(e.Message); throw e; } }

public static void ModifyBook(Book book) {

string sql =

\ \

\ \ \ \

\ \

\ \

\ \ \ \ \

try {

SqlParameter[] para = new SqlParameter[] { new SqlParameter(\ new SqlParameter(\ new SqlParameter(\ new SqlParameter(\ new SqlParameter(\ new SqlParameter(\

34

new SqlParameter(\ new SqlParameter(\ new SqlParameter(\ new SqlParameter(\ new SqlParameter(\ new SqlParameter(\ new SqlParameter(\ };

DBHelper.ExecuteCommand(sql, para); }

catch (Exception e) {

Console.WriteLine(e.Message); throw e; }

}

public static IList GetAllBooks() {

string sqlAll = \ return GetBooksBySql(sqlAll); }

35

5.1.9订单管理

图5-9 订单管理

页面部分实现代码:

<%@ Page Language=\

AutoEventWireup=\Title=\订单详情|IT之友网上书店\

36


网上书店系统毕业论文 - 图文.doc 将本文的Word文档下载到电脑
下载这篇word文档
搜索更多关于: 网上书店系统毕业论文 - 图文 的文档
相关推荐
相关阅读
× 游客快捷下载通道(下载后可以自由复制和排版)

下载本文档需要支付 10

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:xuecool-com QQ:370150219