07 2018 档案

摘要:public string Relication() { //实例化Type type = typeof(DbHelperSQL);//反射获取方法System.Reflection.MethodInfo[] methArray = type.GetMethods();StringBuilder s 阅读全文
posted @ 2018-07-30 07:51 真是善良 阅读(83) 评论(0) 推荐(0)
摘要:@model MODEL.biao @{ Layout = null;} <!DOCTYPE html> <html><head> <meta name="viewport" content="width=device-width" /> <title>Create</title> <script 阅读全文
posted @ 2018-07-30 01:53 真是善良 阅读(347) 评论(0) 推荐(0)
摘要:@model MODEL.biao @{ Layout = null;} <!DOCTYPE html> <html><head> <meta name="viewport" content="width=device-width" /> <title>Create</title> <script 阅读全文
posted @ 2018-07-30 01:52 真是善良 阅读(137) 评论(0) 推荐(0)
摘要:@using Webdiyer.WebControls.Mvc;@model PagedList<MODEL.biao>@{ Layout = null;} <!DOCTYPE html> <html><head> <meta name="viewport" content="width=devic 阅读全文
posted @ 2018-07-30 01:51 真是善良 阅读(250) 评论(0) 推荐(0)
摘要:using MODEL;using System;using System.Collections.Generic;using System.Data;using System.Linq;using System.Web;using System.Web.Mvc;using BLL;using Ne 阅读全文
posted @ 2018-07-30 01:50 真是善良 阅读(113) 评论(0) 推荐(0)
摘要:dal adal = new dal(); /// <summary> /// 查询 /// </summary> /// <param name="bid"></param> /// <param name="bname"></param> /// <param name="age"></para 阅读全文
posted @ 2018-07-30 01:49 真是善良 阅读(266) 评论(0) 推荐(0)
摘要:/// <summary> /// 查询 /// </summary> /// <param name="bid"></param> /// <param name="bname"></param> /// <param name="age"></param> /// <param name="li 阅读全文
posted @ 2018-07-30 01:48 真是善良 阅读(216) 评论(0) 推荐(0)
摘要:create table lei( lid int identity , lname varchar(30) )create table biao( bid int primary key identity , bname varchar(30) , age varchar(30) , lid in 阅读全文
posted @ 2018-07-29 22:42 真是善良 阅读(142) 评论(0) 推荐(0)
摘要:create table lei( lid int identity , lname varchar(30) )create table biao( bid int primary key identity , bname varchar(30) , age varchar(30) , lid in 阅读全文
posted @ 2018-07-29 21:07 真是善良 阅读(98) 评论(0) 推荐(0)
摘要:--显示 create proc up_show@tableName varchar(8000), --表名、视图名@indexCol varchar(50) = 'id', --标识列名(如:比如主键、标识,推荐使用索引列)@pageSize int = 10, --页面大小@pageIndex 阅读全文
posted @ 2018-07-29 20:55 真是善良 阅读(134) 评论(0) 推荐(0)
摘要:if exists (select * from sysobjects where name = 'UP_ADD')drop proc UP_ADDgo create proc UP_ADD( @tname varchar(30) , @tsex varchar(10) , @tage varcha 阅读全文
posted @ 2018-07-29 20:09 真是善良 阅读(262) 评论(0) 推荐(0)
摘要:修改 if exists (select * from sysobjects where name = 'up_upt')drop proc up_uptgo create proc up_upt( @id int , @tname varchar(30) , @tsex varchar(10) , 阅读全文
posted @ 2018-07-28 15:36 真是善良 阅读(521) 评论(0) 推荐(0)
摘要:--信息列表分页if exists (select * from sysobjects where name = 'up_fen')drop proc up_fengo create proc up_fen@tableName varchar(8000), --表名、视图名@indexCol var 阅读全文
posted @ 2018-07-28 15:35 真是善良 阅读(114) 评论(0) 推荐(0)
摘要:删除 create proc up_del@TableName varchar(50),@Id varchar(5000)asbegin declare @strSql varchar(5000) declare @sql varchar(4000) set @sql='select col=''' 阅读全文
posted @ 2018-07-28 15:35 真是善良 阅读(313) 评论(0) 推荐(0)