
sql语句
文章平均质量分 88
张东_
csdn乐知学院.NET
展开
-
oracle数据库远程连接配置以及ado连接
前台: onclick="Button1_Click" /> onclick="Button2_Click" /> 后台:using System;using System.Co原创 2013-05-31 10:52:49 · 1960 阅读 · 0 评论 -
<Table>实现分页
前台: runat="server" Text="搜索" onclick="Button3_Click" /> runat="server" Text="下一页" onclick="Button2_Click" />原创 2013-03-13 17:19:07 · 3474 阅读 · 0 评论 -
数据绑定版省市选择器
aspx: onselectedindexchanged="DropDownList1_SelectedIndexChanged"> aspx.csusing System;usin原创 2012-11-29 17:36:05 · 587 阅读 · 0 评论 -
触发器的定义与使用
--每次插入数据时候都把数据值打印出来create trigger tri_student_afteron student after insertasbegindeclare @sClassId intdeclare @SName nvarchar(50)declare @sAge intselect @sClassId=sClassId,@SName=sName原创 2012-11-14 19:02:37 · 688 阅读 · 0 评论 -
游标的建立
--使用游标--游标的定义--(1)定义declare cur_student cursor fast_forward--游标快速向前for select * from student--基于返回的结果集--2(打开)open cur_student--3操作fetch next from cur_student--向下移动一条游标while @@fetch_s原创 2012-11-14 18:54:23 · 594 阅读 · 0 评论 -
asp中实现sql事务登录_增删改查
web.config 有关如何配置 ASP.NET 应用程序的详细消息,请访问 http://go.microsoft.com/fwlink/?LinkId=169433 --> login.aspx: 用户名原创 2012-11-13 20:08:41 · 2685 阅读 · 0 评论 -
利用sql存储过程显示内容到dataGridView
app.config ClassModel.cs:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace WindowsFormsApplication1{ clas原创 2012-11-13 19:54:45 · 905 阅读 · 0 评论 -
dataGridView分页显示数据
app.config: ClassModel_student.cs:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace WindowsFormsApplication1{原创 2012-11-13 19:52:02 · 672 阅读 · 0 评论 -
ADO中使用储存过程_sql事务
app.config c#: private void button3_Click(object sender, EventArgs e) { string connstr= ConfigurationManager.ConnectionStrings["connstr3"].C原创 2012-11-13 19:46:53 · 488 阅读 · 0 评论 -
ADO实现sql事务
app.config: c#using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data.SqlClient;using System.Configuration;namespa原创 2012-11-13 19:40:20 · 731 阅读 · 0 评论 -
sql语句小练习
1计算100天后病毒发作的日期。print convert(varchar(50),dateadd(day,100,getdate()),111)2凡是入职一年以上的员工,工资增加500¥update employeeset fsalary=fsalary+500where datediff(yy,empintime,GETDATE())=13计算1975年10月5原创 2012-11-07 16:43:31 · 902 阅读 · 0 评论