Stream Database Photo as ASPX page...





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 3 4 Next »
-1
Date Submitted Tue. Oct. 11th, 2005 9:53 PM
Revision 1
Helper ses5909
Tags Email | Send | VB.NET
Comments 1 comments
Send Basic Email
-4
Date Submitted Wed. Oct. 12th, 2005 9:51 PM
Revision 1
Helper ses5909
Tags HTML | String | Strip | VB.NET
Comments 1 comments
Strip HTML Tags From a String
3
Date Submitted Sat. Oct. 15th, 2005 5:32 PM
Revision 1
Helper ses5909
Tags Directory | Files | List | VB.NET
Comments 1 comments
List Files in a Directory in VB.NET
-2
Date Submitted Sat. Oct. 22nd, 2005 5:26 PM
Revision 1
Helper ses5909
Tags CheckBoxList | Selected | Values | VB.NET
Comments 1 comments
Dynamically Populate a CheckBoxList in VB.Net
-6
Date Submitted Mon. Oct. 24th, 2005 5:22 PM
Revision 1
Helper ses5909
Tags CheckBoxList | Selected | Values | VB.NET
Comments 4 comments
Get Selected Values From a CheckBoxList in C#
5
Date Submitted Thu. Nov. 3rd, 2005 7:10 PM
Revision 1
Helper ses5909
Tags "SQL Server" | Portion | SQL | String
Comments 0 comments
Return a Portion of a Character String
-3
Date Submitted Thu. Feb. 23rd, 2006 9:57 AM
Revision 3
Helper jpinkham
Tags Java | JDBC | lightweight | orm | SQL
Comments 1 comments
I actually like SQL. So, things like Hibernate with it's own query language don't quite fit my style. But, I don't want to code the same catch SQLException conn.close over and over either. So, I came up with this.

The idea is you extend SQLCommand (usually anonymously) override getSql(), and call execute() to get a list of whatever objects you are selecting - all the cleanup stuff is taken care of. It also handles nullable attributes more intuitively using ResultSetWrapper and PreparedStatementWrapper so that in your overridden getRow(ResultSetWrapper rs) method, you can call getInt on a nullable column and have it return null - what a concept! Also I like java.util.Date for my dates, so the wrappers convert to/from java.sql.Timestamp.

Right now I've only bothered with some basic types - it should be pretty clear how to add more if you need em.

See what ya'll think.

Oh, it uses JDK 1.5 Generics, but stripping that away would be pretty easy if you wanted 1.2 compliance.
-8
Date Submitted Fri. Mar. 10th, 2006 9:29 AM
Revision 1
Helper ses5909
Tags "ASP.NET 2.0" | C | VB.NET
Comments 2 comments
Databinding in asp.net 2.0 is takes very few lines of code.
-7
Date Submitted Fri. Mar. 10th, 2006 9:32 AM
Revision 1
Helper ses5909
Tags "ASP.NET 2.0" | C | VB.NET
Comments 2 comments
Databinding in asp.net 2.0 takes very few lines of code. This example shows how to bind a CheckBoxList using a SqlDataSource.
3
Date Submitted Tue. Jun. 13th, 2006 3:21 PM
Revision 1
Helper gbarendt
Tags enum | String | VB.NET
Comments 0 comments
Given a string, you can return an Enum value

Originally found at http://codeproject.com/dotnet/EnumTips.asp?df=100&forumid=38264&exp=0&select=797671
« Previous 1 2 3 4 Next »