.net
yanlixin4csdn
这个作者很懒,什么都没留下…
展开
-
实例化SqlParameterCollection的方法是
实例化SqlParameterCollection的方法是 SqlParameterCollection parmCollection = (new SqlCommand("a"screen.width/2)this.width=screen.width/2" vspace=2 border=0>).Parameters ;这招有点笨,但很有效!screen.width/2)this.width原创 2004-06-30 14:31:00 · 4344 阅读 · 0 评论 -
发现一个好站点,推荐一下 (.net 开源项目)
http://csharp-source.net/原创 2004-10-20 14:29:00 · 1345 阅读 · 0 评论 -
用C#把winform中的databinding信息取出,并附给datarow
private void button1_Click(object sender, System.EventArgs e) { try { object ds ; string bindingField,propertyName; System.Data.DataRow dr = objdataSet.Tables[0].NewRow(); foreach(C原创 2004-09-03 14:20:00 · 2973 阅读 · 0 评论 -
.net分布式事务例子
using System;//引用系统命名空间using System.Data.OleDb;//引用ADO.net命名空间using System.Data;//引用数据空间using System.Runtime.InteropServices;//为了调用GUIDusing System.EnterpriseServices;//引用COM+名命空间using System.Runtime.原创 2004-09-20 16:14:00 · 2321 阅读 · 2 评论 -
写组件时需要的注释与属性书写方法
using System;using System.ComponentModel;using System.Collections;using System.Diagnostics;namespace WindowsApplication1{ /// /// Component1 的摘要说明。 /// /// #region 给组件加图标的三种方法 /* // Specifies原创 2004-08-29 13:37:00 · 1540 阅读 · 0 评论 -
.net中设置系统时间
转自 http://search.csdn.net/Expert/topic/847/847765.xml?temp=.8445551回复人: acptvb(微软全球技术中心 VB技术支持) ( ) 感谢您使用微软产品。.NET并没有提供可以修改系统时间的名字空间(namespace),您可以通过Win32 API的SetSystemTime API函数来设置系统时间:using原创 2004-08-29 12:38:00 · 2256 阅读 · 3 评论 -
.net中取当前系统的想关信息的类
System.Environment此类可取出多数的系统信息原创 2004-08-29 12:36:00 · 1100 阅读 · 0 评论 -
开始使用SQLServer2005,没用过MSDE,一开始还不知道怎么下手呢,呵呵
开始使用SQLServer2005,没用过MSDE,一开始还不知道怎么下手呢,呵呵 转:http://www.cnblogs.com/duibudui/archive/2004/07/22/29699.aspx 按如下方法(网上查到的):So onto the Command Prompt ! (wooohooo)SQLCMD.exe will be your friend t原创 2004-09-02 12:24:00 · 2080 阅读 · 0 评论 -
不同应用程序域中访问数据!(反射)
private void button1_Click(object sender, System.EventArgs e) { Evidence asEvidence = currentDomain.Evidence; currentDomain.Load("WindowsApplication2",asEvidence); Assembly[] assems = current原创 2004-08-17 10:03:00 · 1549 阅读 · 1 评论 -
每个开发人员现在应该下载的十种必备工具
msdn中的文章,怕找不到, 加个连接 http://www.microsoft.com/china/MSDN/library/enterprisedevelopment/softwaredev/TenMHToolEDevShouDN.mspx原创 2004-07-22 10:44:00 · 1311 阅读 · 2 评论 -
用c#打开一个外部文件
System.Diagnostics.Process.Start(listBox1.SelectedItem.ToString());原创 2004-06-30 14:26:00 · 2168 阅读 · 1 评论 -
C#中用回车代替tab
form的 keypreview设为true private void SmtpForm_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) { if (e.KeyChar==(char)13) { this.SelectNextControl(this.ActiveControl,tr原创 2004-06-30 14:26:00 · 2837 阅读 · 1 评论 -
c#存取图片
http://www.codeproject.com/cs/database/albumviewer.asp原创 2004-06-30 14:28:00 · 1395 阅读 · 0 评论 -
对路径“C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/webservice1/5163874c/83859bc7”的访问被拒绝。
“/WebService1”应用程序中的服务器错误。 -------------------------------------------------------------------------------- 对路径“C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/webservice1/5163874原创 2004-12-12 10:48:00 · 8627 阅读 · 1 评论