- 博客(7)
- 资源 (8)
- 收藏
- 关注
转载 C#中如何利用Gmail账户发送邮件
<br /> private void button_send_Click(object sender, EventArgs e){ //Short Method SmtpClient smtp = new SmtpClient("smtp.gmail.com", 587); smtp.UseDefaultCredentials = false; smtp.Credentials = new NetworkCredential("use
2011-05-10 22:16:00 750
转载 基于web.config动态设置LINQ dbml 文件中的连接字符串
Ideally, you want your LINQ database connection strings defined outside your compiled code and to be held in the Web.Config instead.Unfortunately, by default, they are added to your Settings.cs file which is then compiled away into your code. This has the
2011-05-10 22:11:00 2770
翻译 在WebBroswer中用javascript访问C#方法
<br />本例子演示如何用javascript访问C#代码,也可向C#方法传递参数。<br />首先,创建一个Windws Forms应用程序,并往窗体上加入一个WebBroswer控件,然后修改form的代码如下:<br />namespace WindowsFormsApplication6{ // This first namespace is required for the ComVisible attribute used on the ScriptManager class.
2011-05-10 11:11:00 620
翻译 隐藏DataGridView中无数据的列
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows.Forms; namespace MyProject{ public static class ExtensionGridView { public static DataGridView RemoveEmptyColumns(this D
2011-05-10 10:43:00 1080
转载 制作win7的可启动USB
Grab a a Windows 7 ISO image and extract it to a folder (not on the USB stick)You can use a lot of programs, many of them free, to extract from an ISO. I use 7zip.Grab a 4GB USB stickFormat the USB stick with NTFS using the “quick format”. (You can do this
2011-05-08 22:24:00 841
转载 XamlServices class in .Net 4.0
XAML has up to now played a big role in WPF and Silverlight and is seen as a markup language to design GUIs. That is not quite true. XAML describes objects, their properties and their relations. It is not limited to designing user interfaces. That is why X
2011-05-03 22:19:00 699
原创 “IServiceProvider”: 不明确的符号
为了让C#使用一个非托管Dll的类中,于用想用托管c++进行包装成托管的dll,但是在编译时出现了以下错误: 错误 2 error C3699: “*”: 不能在类型“IServiceProvider”上使用此间接寻址 c:/program files/microsoft sdks/windows/v6.0a/include/servprov.h 96 CSRLib错误 1 error C2872: “IServiceProvider”: 不明确的
2011-05-01 21:17:00 7461 2
基于http的文件共享程序
2011-07-27
桌面版谷歌翻译GTranslator
2011-01-25
桌面版谷歌翻译GTranslator
2010-10-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人