对于模糊查询的问题
bookmgr.book_name = "%" + txtbook_name.Text + "%";bookmgr.book_author = "%" + txtbook_author.Text + "%";bookmgr.book_pub = "%" + txtbook_pub.Text + "%";strSQL.Append("SELECT a.book_id , a.book_name , a.book_author , a.book_pub, "); strSQL.Append("a.book_flg , a.book_pst , b.bor_date ,b.rtn_date "); strSQL.Append(" FROM book_master a , book_manager b "); strSQL.Append("
《C#Web应用程序入门经典》学习笔记
最近看了《Beginning C# Web Applications Wtith Visual Studio .Net 》。感觉这本书在一些细节方面写的不错,特做笔记,为后来者提供一些或许有用的东东。今天先写出来一些,年前正确整理完。当前日期:Lbll.Text = DateTime.Now.ToLongDataString();This.controls.Add(lbl);URL:HyperLink reg = new HyperLink();Reg.Text = “Register;Reg.NavigateUrl = Context.Request.ApplicationPath + “Myfirst.aspx”;判断用户授权:Context.User.Identity.IsAuthenticated;表格相关:1. 新建一图片img2. img添加到cell3. cell添加到row4. row添