文件名称:Jd_sql
- 所属分类:
- .net编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 625kb
- 下载次数:
- 0次
- 提 供 者:
- 安*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
C# SQL高效操作类源码
技术特点:
使用极其灵活可以非常方便快捷的操作数据库,是的sql2005操作起来方便程度超过Mysql,
最适合制作企业网站,开发效率极高,操作非常简单。
使用例子:
Object[] str = { biaoti.Text,
neirong.Text,
DateTime.Now
}
Conn.Add("news", "biaoti,neirong,date", str)
修改:
int id = System.Convert.ToInt32(myid.Text)
Object[] str = { Request["biaoti"],
Request["neirong"],
DateTime.Now
}
Conn.Edit("news", "biaoti,neirong,date", str, " id=" id)
删除例子:
int id = System.Convert.ToInt32(Request.QueryString["id"])
Conn.Delete("news", " id=" id) //注意这里 不用加 where
Response.Redirect("Default.aspx")
列表例子:
//输出分页 接收分页数
p = System.Convert.ToInt32(Request.QueryString["p"])
..................
功能描述:增、删、改、查、类表分页,sql2005转Mysql操作习惯。
注意事项:最适合企业网站、论坛等网站使用。-C# SQL efficient operation class source
Features:
Extremely flexible and can be very easy to use and efficient operation of the database is up and ease of operation of sql2005 over Mysql,
Most suitable for making corporate Web site, developed highly efficient operation is very simple.
Use examples:
Object [] str = {biaoti.Text,
neirong.Text,
DateTime.Now
}
Conn.Add ("news", "biaoti, neirong, date", str)
Review:
int id = System.Convert.ToInt32 (myid.Text)
Object [] str = {Request ["biaoti"],
Request ["neirong"],
DateTime.Now
}
Conn.Edit ("news", "biaoti, neirong, date", str, "id =" id)
Delete example:
int id = System.Convert.ToInt32 (Request.QueryString ["id"])
Conn.Delete ("news", "id =" id) // Note that where no increase
Response.Redirect ("Default.aspx")
List of examples:
// Output paging receiver sub-pa
技术特点:
使用极其灵活可以非常方便快捷的操作数据库,是的sql2005操作起来方便程度超过Mysql,
最适合制作企业网站,开发效率极高,操作非常简单。
使用例子:
Object[] str = { biaoti.Text,
neirong.Text,
DateTime.Now
}
Conn.Add("news", "biaoti,neirong,date", str)
修改:
int id = System.Convert.ToInt32(myid.Text)
Object[] str = { Request["biaoti"],
Request["neirong"],
DateTime.Now
}
Conn.Edit("news", "biaoti,neirong,date", str, " id=" id)
删除例子:
int id = System.Convert.ToInt32(Request.QueryString["id"])
Conn.Delete("news", " id=" id) //注意这里 不用加 where
Response.Redirect("Default.aspx")
列表例子:
//输出分页 接收分页数
p = System.Convert.ToInt32(Request.QueryString["p"])
..................
功能描述:增、删、改、查、类表分页,sql2005转Mysql操作习惯。
注意事项:最适合企业网站、论坛等网站使用。-C# SQL efficient operation class source
Features:
Extremely flexible and can be very easy to use and efficient operation of the database is up and ease of operation of sql2005 over Mysql,
Most suitable for making corporate Web site, developed highly efficient operation is very simple.
Use examples:
Object [] str = {biaoti.Text,
neirong.Text,
DateTime.Now
}
Conn.Add ("news", "biaoti, neirong, date", str)
Review:
int id = System.Convert.ToInt32 (myid.Text)
Object [] str = {Request ["biaoti"],
Request ["neirong"],
DateTime.Now
}
Conn.Edit ("news", "biaoti, neirong, date", str, "id =" id)
Delete example:
int id = System.Convert.ToInt32 (Request.QueryString ["id"])
Conn.Delete ("news", "id =" id) // Note that where no increase
Response.Redirect ("Default.aspx")
List of examples:
// Output paging receiver sub-pa
相关搜索: mvc3
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Jd_sql.sln
Jd_sql.suo
......\add.aspx
......\add.aspx.cs
......\add.aspx.designer.cs
......\bin\Jd_Conn.dll
......\...\Jd_Conn.pdb
......\...\Jd_sql.dll
......\...\Jd_sql.pdb
......\Default.aspx
......\Default.aspx.cs
......\Default.aspx.designer.cs
......\delete.aspx
......\delete.aspx.cs
......\delete.aspx.designer.cs
......\edit.aspx
......\edit.aspx.cs
......\edit.aspx.designer.cs
......\Jd_sql.csproj
......\Jd_sql.csproj.user
......\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
......\...\.....\Jd_sql.csproj.FileListAbsolute.txt
......\...\.....\Jd_sql.dll
......\...\.....\Jd_sql.pdb
......\...\.....\ResolveAssemblyReference.cache
......\Properties\AssemblyInfo.cs
......\Scripts\jquery-1.4.1-vsdoc.js
......\.......\jquery-1.4.1.js
......\.......\jquery-1.4.1.min.js
......\Web.config
......\Web.Debug.config
......\Web.Release.config
......\write.aspx
......\write.aspx.cs
......\write.aspx.designer.cs
......\obj\Debug\TempPE
......\...\Debug
......\App_Data
......\bin
......\obj
......\Properties
......\Scripts
Jd_sql
Jd_sql.suo
......\add.aspx
......\add.aspx.cs
......\add.aspx.designer.cs
......\bin\Jd_Conn.dll
......\...\Jd_Conn.pdb
......\...\Jd_sql.dll
......\...\Jd_sql.pdb
......\Default.aspx
......\Default.aspx.cs
......\Default.aspx.designer.cs
......\delete.aspx
......\delete.aspx.cs
......\delete.aspx.designer.cs
......\edit.aspx
......\edit.aspx.cs
......\edit.aspx.designer.cs
......\Jd_sql.csproj
......\Jd_sql.csproj.user
......\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
......\...\.....\Jd_sql.csproj.FileListAbsolute.txt
......\...\.....\Jd_sql.dll
......\...\.....\Jd_sql.pdb
......\...\.....\ResolveAssemblyReference.cache
......\Properties\AssemblyInfo.cs
......\Scripts\jquery-1.4.1-vsdoc.js
......\.......\jquery-1.4.1.js
......\.......\jquery-1.4.1.min.js
......\Web.config
......\Web.Debug.config
......\Web.Release.config
......\write.aspx
......\write.aspx.cs
......\write.aspx.designer.cs
......\obj\Debug\TempPE
......\...\Debug
......\App_Data
......\bin
......\obj
......\Properties
......\Scripts
Jd_sql