摘要: public class Valider{ private bool accept=false; private string vldemail=null; public delegate void BeginValidData(); public event BeginValidData OnBe 阅读全文
posted @ 2019-09-05 16:02 小明哥~ 阅读(211) 评论(0) 推荐(0) 编辑
摘要: public class BookDAL{ public List<Model.Book>GetBook(string search=null){ List<Model.Book>books=new List<Model.Book>(); SQLHelp db=new=new SQHelp(); i 阅读全文
posted @ 2019-08-27 16:28 小明哥~ 阅读(116) 评论(0) 推荐(0) 编辑
摘要: public class SQLHelp { private SqlConnection conn=null; private string ConnStr=" server=.;dataBase=BookShop;uid=sa;pwd=;"; public bool OpenConnection( 阅读全文
posted @ 2019-08-26 19:46 小明哥~ 阅读(124) 评论(0) 推荐(0) 编辑
摘要: create database LoveDB use Love DB; drop table LoveInHeart create table LoveInHeart( lid int identity(1,1)primary Key, lname varchar(50) not null, lse 阅读全文
posted @ 2019-08-04 20:22 小明哥~ 阅读(177) 评论(0) 推荐(0) 编辑
摘要: <%@page contentType="text/html;charset=UTF-8"language="java"%> <html> <script src="js/jquery.min.js"></script> <script type="text/javascript"> var tes 阅读全文
posted @ 2019-07-14 20:13 小明哥~ 阅读(91) 评论(0) 推荐(0) 编辑
摘要: <%@ page contentType="text/html;charset=UTF-8"language="java"%> <html> <script src="js/jquery.min.js"></script> <script type="text/javascript"> var ch 阅读全文
posted @ 2019-06-25 19:59 小明哥~ 阅读(147) 评论(0) 推荐(0) 编辑
摘要: create table student ( id int identity(1,1) primary key not mull, name varchar(20) not null, sex char(2) not default '男', cardNo varchar(18) not null 阅读全文
posted @ 2019-06-20 20:25 小明哥~ 阅读(171) 评论(0) 推荐(0) 编辑
摘要: public class App1{ public static void main(String[] args){ float a=折断筷子(筷子长度:500); System.out.println(a); } public static float 折断筷子(float 筷子长度){ floa 阅读全文
posted @ 2019-06-17 19:30 小明哥~ 阅读(191) 评论(0) 推荐(0) 编辑
摘要: package com.nf.entity; public class Test{ private Integer id; private String subject; private Integer studentId; private Integer scope; public Integer 阅读全文
posted @ 2019-06-17 09:12 小明哥~ 阅读(161) 评论(0) 推荐(0) 编辑
摘要: create table t_teacher( id int primary key, name varchar(20) ); create table t_place( id int primary key, place_name varchar(20) ); create table t_beh 阅读全文
posted @ 2019-06-03 20:06 小明哥~ 阅读(114) 评论(0) 推荐(0) 编辑