C#jmail邮件发送源码
完整的web应用程序源码,使用jmail实现邮件的发送,并且可以发送多个附件文件。项目包含jmail的组件,无需下载jmail的安装版,也无需注册jmail。解压项目后,使用vs2008打开项目,修改web.config中的appSettings节点,配置自己的发送邮件的地址、密码及服务协议。运行即可。希望帮到需要者。
<appSettings>
<!--邮件信息发送配置-->
<add key="sendu_mail" value="xxxxxxxx@126.com"/>
<add key="sendu_pwd" value="xxxxxxx"/>
<add key="mail_stmp" value="smtp.126.com" />
</appSettings>
ORCALE11-instantclient-basic-win32-11.2.0.1.0
ORCALE11-instantclient-basic-win32-11.2.0.1.0.
android控件应用 自定义的ListView控件,下拉刷新上拉加载更多
android控件应用 自定义的ListView控件,下拉刷新上拉加载更多,完整的资源应用
android自定义的可扩展漂亮的dialog对话框
android自定义可扩展漂亮的dialog对话框,支持android 2.2以上的版本,可用作条件筛选、消息提示、浮出窗口的应用操作。
Silverlight实现简单拖放
Silverlight 2.0 开发应用示例,本模块主要是实现button的拖动和停放。
jQuery.Select
a、优化代码。
b、针对索引值进行了测试,修正部分情况下索引值混乱的Bug。
c、增加对home\pg up\pg dn\end 的支持
d、生成select宽度可自动延展性质。
e、一些细节调整。
在线投票,在线调查在线投票,在线调查
大学生调查投票系统源码
1、该系统管理员登录后,可向数据库中添加投票选项
2、系统能够自动统计投票数目,并将其转化为百分比和图像,使投票结果更直观形象。
3、登录后,能够对选项进行编辑,删除。
“编辑投票选项”说明编辑投票内容时,格式为"“票数,投票选项”
初始时,在“,”前指定为0.“,”为英文状态下输入的
DB_51aspx下为Sql数据库文件,附加即可
默认管理帐号/密码:51aspx/51aspx
ASP.NET AJAX控件之ToggleButton.
AJAX控件
ToggleButton.
ASP.NET AJAX控件之ToggleButton.
NBEARLISY使用
做数据映射层
NBearLite Version 1.0.0.9 beta
-------------------------------
Author: Teddy (shijie.ma@gmail.com)
Official Site: http://nbear.org
Open Source License: BSD
Copyright: 2007-2010
Release Notes
-------------
Version 1.0.0.9 beta
1. Fix bug of getting oracle table and view info in QueryColumnsGenerator.exe tool.
2. Change the NBearLite_Documentation format from chm to general HTML to prevent some operation
system's could not open it issue.
Version 1.0.0.8 beta
1. Fix type cast bug when QueryColumnsGenerator.exe generated out parameter value is dbnull.
2. Enhance QueryColumnsGenerator.exe to generate one more method for each stored procedure with
a DbTransaction tran parameter.
Version 1.0.0.7 beta
1. Fix bug in Aggregation select.
2. Provide Chinese version full documentation of NBearLite in doc folder.
Version 1.0.0.6 beta
1. Add ToDbCommand() method to InsertSqlSection/UpdateSqlSection/DeleteSqlSection classes.
2. Add 8 Save() method overridens to Database class to support DataTable/DataRows saving.
e.g. Sample Save code:
SelectSqlSection selectSection = db.Select(Northwind.Categories)
.Where(Northwind.Categories.CategoryID == catID)
.OrderBy(Northwind.Categories.CategoryID.Desc)
.SetSelectRange(1, 0, Northwind.Categories.CategoryID);
DataTable dt = selectSection.ToDataSet().Tables[0];
dt.Rows[0]["CategoryName"] = "modified";
//save a modified row
db.Save(selectSection.ToDbCommand(), 10, dt);
dt.Rows[0]["CategoryName"] = "modified2";
DataRow newRow = dt.NewRow();
newRow["CategoryName"] = "new";
dt.Rows.Add(newRow);
//save 1 modified row and insert a new row
db.Save(selectSection.ToDbCommand(), tran, 0, dt.Rows[0], dt.Rows[1]);
Version 1.0.0.5 beta
1. Add ToDbCommand() method to SelectSqlSection class.
e.g. We can use database.Select(Northwind.Categories).ToDbCommand();
2. Enhance strong type query with sub query support. Add ToSubQuery()
method to SelectSqlSection class.
e.g. Sample strong type query with sub queries:
DataSet ds = db.Select(Northwind.Products)
.Where(Northwind.Products.CategoryID.In
(
db.Select(Northwind.Categories, Northwind.Categories.CategoryID).SetSelectRange(10, 0, Northwind.Categories.CategoryID).ToSubQuery())
)
.ToDataSet();
ds = db.Select(Northwind.Products)
.Where(Northwind.Products.CategoryID ==
(
db.Select(Northwind.Categories, Northwind.Categories.CategoryID).SetSelectRange(1, 0, Northwind.Categories.CategoryID).ToSubQuery())
)
.ToDataSet();
Version 1.0.0.4 beta
1. Enhanced NBearLite.QueryColumnsGenerator to generate Stored Procedure
Wrapper methods for SqlServer, Oracle, MySql and PostgreSql databases.
Version 1.0.0.3 beta
1. Fix bug in PostgreSql DbProvider.
Version 1.0.0.2 beta
1. Fix bug in preview version.
2. Add PostgreSql DbProvider in NBearLite.AdditionalDbProviders.dll.
3. Release as the first beta version.
Version 1.0.0.0 preview
1. Release the initial preview version.
Introdution Q & A
-----------------
Q: What is NBearLite?
A: NBearLite is a .NET 2.0 data access component which supports MsAccess, SqlServer, Oracle, Sqlite, MySql, PostgreSql databases.
Q: Is NBearLite an O/R Mapping component?
A: No.
Q: Then what are the main features of NBearLite?
A: With NBearLite, you can transparently query databases by a strong type query language similar to LINQ.
The strong type query language provided by NBearLite supports not only basic CRUD but also complex select
queries with ORDER BY, GROUP BY, PAGING, INNER JOIN, BATCH OPERATION...- Most common database operations
we may met in our development life, which significantly simplifies database operations from our .Net code
and saves our development time. The select query of NBearLite returns Scalar, DataSet or IDataReader.
Q: Is NBearLite easy to use?
A: Yes, super easy. You can easily reference NBearLite.dll, use NBearLite.QueryColumnsGenerator.exe tool
provided by together with NBearLite.dll to generate QueryColumns code from existing database and then
freely query your database through NBearLite's strong type query language. Please check code in NBearLite.Test
project for basic usage. NBearLite.QueryColumnsGenerator itself is a sample WinForm application using NBearLite.
More tutorials is incoming.
Q: What is the relation of NBearLite and NBear?
A: NBearLite is maintained by NBear team. It shares the DbProvider and query kernalcode of NBear but provides
cleaner namespaces, code structure and more powerful data access fucntions working with ADO.NET build-in DataSet
instead of Entity classes in NBear. Yes, to begin from NBearLite, there is no need to write any entity classes or
entity configurations.