Jeff Widmer's Blog
ASP.NET, ASP.NET MVC, C#, VB.NET, IIS7, Windows Forms, VB6, ASP 3.0
Browse by Tags
All Tags
»
C#
(
RSS
)
.NET
ASP.NET
ASP.NET Membership
ASP.NET MVC
QuickBooks
QuickBooks Online Edition (QBOE)
Sample Code
SQL Server
Tips & Tricks
Visual Basic
Visual Studio
Generating a random strong password
You can use the ASP.NET Membership provider to generate a new random strong password. In the past I have usually either rolled my own authentication system or integrated an asp.net authentication system into an existing application and therefore I did...
How to quickly format a C# class file – Ctrl-K, Ctrl-D
In C# as you are typing in a class file the indenting of your code can easily get out of alignment making the code hard to read. Where does your class, if block, or method begin and end?? You can manually go and fix each line but there is a much...
Timestamp string with milliseconds from a System.DateTime
You can easily convert a System.DateTime object into a string based on the current date and time by using the ToString() method of the DateTime object. For instance: DateTime d = DateTime.Now; String s = d.ToString(“yyyyMMdd-HHmmss”); Will produce...
Parse a non-standard date string into a System.DateTime object
The other day I had a date that was in the form of yyyyMMdd and I needed to parse that string into a System.DateTime object. Just trying to parse the string into a System.DateTime object would not work: String dateString = "20091016";...
Asynchronously sending a System.Net.Mail.MailMessage in C#
When sending an email in your ASP.NET application there are times when you do not want the user experience to slow just to wait for an email to be sent. The code sample below is how to send a System.Net.Mail.MailMessage asynchronously so that the...
How to disable an ASP.NET button when clicked
Scenario: user clicks a button in your ASP.NET page and you want to disable it immediately using javascript so that the user cannot accidentally click it again. Originally I thought this was going to be simple by using the onclientclick property...
How to programmatically connect to QuickBooks Online Edition (QBOE)
Here are all the steps to connect to QuickBooks Online Edition (QBOE) and retrieve some data. Special thanks to Keith Palmer for his comments, answers, and his Consolibyte Solutions Website which really helped me get this working. Originally...
Version number of current application
The other day I was writing an application that posted Journal Entries to QuickBooks and I wanted to include a memo line in the Journal Entry that not only included a timestamp but also included the version number of the application that posted the Journal...
Credit Card Expiration Date ASP.NET MVC SelectList Sample Code
A couple weeks ago I wrote about how to create credit card expiration date drop downs for your ASP.NET application. Today I had to do the same thing but in ASP.NET MVC. For the most part I was able to use the same logic but instead of slowly...
Credit Card Expiration Date DropDownList Sample Code
The other day I needed to create a credit card input form including the drop down lists for the credit card expiration month and year. I started to write the code to populate the month and year drop down lists and I wanted to make them dynamic so...
More Posts
Next page »
Search
Go
This Blog
Home
Contact
About
News
Jeff Widmer's StackOverflow Profile
Ads by Lake Quincy Media
Ads by Lake Quincy Media
Tags
.NET
ASP.NET
ASP.NET Membership
ASP.NET MVC
BabySmash
C#
Canon Scanner CanoScan Toolbox
CMS 2002
Community News
CSS
Gmail
Hyper-V
IIS6
IIS7
Index Server
Instant Church Directory
ISO Country Codes
Koah
Machine Setup
MindManager
Notepad
OneNote
osql.exe
Outlook
QuickBooks
QuickBooks Online Edition (QBOE)
random.org
Sample Book Chapter
Sample Code
Seinfeld
SendTo
SMTP
SourceGear
SQL
SQL Script
SQL Server
SQL Server Management Studio
StackOverflow
Tips & Tricks
Unicode encoding
Utilities
VB6
Viral Marketing
Visual Basic
Visual Basic 6.0
Visual Studio
Windows 7
Windows Server 2008
Navigation
Home
Blogs
Archives
November 2009 (3)
October 2009 (15)
September 2009 (17)
August 2009 (6)
June 2009 (2)
May 2009 (3)
October 2008 (1)
August 2008 (1)
December 2007 (3)
November 2007 (1)
August 2007 (1)
April 2007 (1)
March 2007 (1)
September 2006 (1)
August 2006 (1)
January 2006 (1)
December 2005 (3)
September 2005 (1)
August 2005 (1)
July 2005 (2)
October 2004 (1)
March 2004 (1)
February 2004 (2)
January 2004 (6)
Recommended Blogs
Scott Guthrie
Day Dream Land
Syndication
RSS
Atom
Comments RSS