您目前尚未登陆,请选择【登陆】或【注册
首页->博客论坛->博客源代码(课程设计,3层架构)>>App-Code/Leibie.cs>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:博客源代码(课程设计,3层架构)
当前文件:文件类型 MVCBlog/App_Code/Leibie.cs打开代码结构图
普通视图
		            
1using System; 2using System.Data; 3using System.Configuration; 4using System.Data.SqlClient; 5using System.Collections.Generic; 6using System.Data.OleDb; 7 8/// <summary> 9/// Leibie 的摘要说明 10/// </summary> 11public class Leibie 12{ 13 private int _id; 14 private string _leibie; 15 16 // This is a named argument. 17 public int id 18 { 19 get 20 { 21 return this._id; 22 } 23 set 24 { 25 this._id = value; 26 } 27 } 28 29 public string leibie 30 { 31 get 32 { 33 return this._leibie; 34 } 35 set 36 { 37 this._leibie = value; 38 } 39 } 40 41 public Leibie() 42 { 43 // 44 // TODO: 在此处添加构造函数逻辑 45 // 46 } 47 public Leibie(SqlDataReader dr) 48 { 49 this._id =Convert.ToInt32( dr["ID"]); 50 this._leibie = dr["LEIBIE"].ToString(); 51 } 52} 53
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:博客源代码(课程设计,3层架构)
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号