- 博客(15)
- 资源 (5)
- 收藏
- 关注
原创 查看当前数据库的连接数
select count(*) as connumber from master..sysprocesses where db_name(dbid)=keede1228
2010-01-30 17:16:00 773
原创 展示一下我做的第一个程序,哈哈
是一个windows服务程序,在特定的时间调用存储过程,并把查询结果输出到XML文件中。using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Diagnostics;using System.Linq;using S
2010-01-27 17:26:00 1033 1
原创 只带一个参数变量的存储过程
CREATE PROCEDURE 存储过程名 @变量名 int(数据类型) as select * from goods where id=@我叫变量
2010-01-23 17:11:00 592
原创 C#查询数据库把结果输出到XML的例子
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data.SqlClient;using System.Data;namespace ConsoleApplication4{ class Program {
2010-01-23 15:26:00 3035 1
原创 用C#读SQL SERVER到控制台的简单示例
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data.SqlClient;namespace ConsoleApplication4{ class Program { static v
2010-01-23 11:39:00 1815 1
原创 C#显示(读取)XML元素内容的简单例子
接上一篇显示所有结点的内容1 原xml文件 bookstore.xml who am i who 999 2 program.cs using System;using System.Xml;namespace ReadXml{ class Class1 { static void Main(str
2010-01-16 17:11:00 5781
原创 C#删除XML结点的简单例子
接上一篇删除原genre属性,删除leixing=love的所有结点。1 原xml文件 bookstore.xml who am i who 999 CS从入门到精通 黎明 222 2 program.cs using System;using System.Xml;namespace ReadXml{ c
2010-01-16 17:01:00 876
原创 C#修改XML的简单例子
接上一篇《C#写XML的简单例子》 这个例子要修改XML文件中结点的属性和和元素的文本 1 原xml文件 bookstore.xml who am i who 999 CS从入门到精通 候捷 222 2 program.cs using System;using System.Collections.Gene
2010-01-16 13:28:00 2112
原创 C#写XML的简单例子
这个例子要把bookstore.xml文件增加一条book记录1 bookstore.xml who am i who 999 2 bookstore.cs using System;using System.Collections.Generic;using System.Linq;using System.Text;using Syst
2010-01-15 19:57:00 685
转载 最简单的带变量的存储过程
CREATE PROCEDURE dbo.AXzhz/*这里写注释*/@startDate varchar(16),@endDate varchar(16) AS select id from table_AX where commentDateTime>@startDate and commentDateTime 注:@startDate varchar(16)是声明@start
2010-01-14 16:34:00 609
转载 ASP.NET调用存储过程
public static string GetCustomerCName(ref ArrayList arrayCName,ref ArrayList arrayID) { SqlConnection con=ADConnection.createConnection(); SqlCommand cmd=new SqlCo
2010-01-14 16:32:00 540
原创 web.config配置连接数据库字符串
1 设置连接字符串 providerName="System.Data.SqlClient" /> providerName="System.Data.SqlClient" /> providerName="System.Data.SqlClient" /> providerName="System.Data.SqlClient"
2010-01-12 11:21:00 957
原创 静态网页自动跳转
方法一: function c() { document.all.LinkButton1.click(); } 使用的script,如果浏览器有阻止,需要允许浏览器跳转。 方法二: 这个就可以直接实现跳转了,很好用。
2010-01-07 19:22:00 1785
转载 aspx,ascx和ashx使用小结
aspx,ascx和ashx使用小结转自 :http://www.cnblogs.com/wjfluisfigo/archive/2009/07/07/1517628.html 做asp.net开发的对.aspx,.ascx和.ashx都不会陌生。关于它们,网上有很多文章介绍。“纸上得来终觉浅,绝知此事要躬行”,下面自己总结一下做个笔记。1、.aspxWeb窗体设计页面。Web窗体页由
2010-01-04 14:02:00 4232 1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人