SharePoint Comic
Home
About Me
Speaking
Resources
Contact
Sitemap
Oct
22
Unrecoverable build error
Categories:
Visual Studio
,
Errors
,
ASP.NET
Ouch. This error has bothered me for a couple of days now, and I finally found a solution. I kept getting this error when I was building a depolyment project. First, you should try Microsoft's Knowledge Base article on the problem: http://suppo...
17 Comments
| [admin only]
0 Links to this post
Sep
20
Check to see if a string is empty
Categories:
ASP.NET C#
There are several ways to check a string to see if it’s empty. However, you should try to always use the following method. It’s faster, and uses less resources. This may seem like a minimal piece of code - but if you were checking strings through...
1 Comment
| [admin only]
0 Links to this post
Aug
10
Adding a ListItem to a dynamic dropdown list
Categories:
ASP.NET C#
If you manually add a listitem to a dynamic dropdown list, ensure that you set the appenddatabounditems attribute to true. If you don’t, the dynamic items will overwrite the ones you manually added. <asp:dropdownlist id="DevelopmentCycleDr...
0 Comments
| [admin only]
0 Links to this post
May
8
Compiler Error Message: CS0030: Cannot convert type ‘ASP.login_aspx’ to ‘System.Web.UI.WebControls.Login’
Categories:
ASP.NET C#
Argh. What a silly error this is. There are a couple of things that need to happen for this to happen in .net. 1. You precompiled your app (2.0)2. You publish your site as ‘updateable’3. You named a page that is the same as a Class in .net Most deve...
0 Comments
| [admin only]
0 Links to this post
Jan
17
.NET Framework Library Source Code
Categories:
ASP.NET C#
Want to debug the .net framework? Or super geeky and just want to see how it's all done? The .NET framework libraries' source is now available. .NET Base Class Libraries (including System, System.CodeDom, System.Collections, System.ComponentModel...
0 Comments
| [admin only]
0 Links to this post
Aug
30
Allow Only Numbers In A String - C#
Categories:
ASP.NET C#
Often you may have user input that needs to only be numbers, and the input doesn’t allow characters. There is javascript that you can put on the front end to limit what keystrokes can be made in an input field; however, there are still ways around ...
6 Comments
| [admin only]
0 Links to this post
Jul
31
Difference between two Dates
Categories:
ASP.NET C#
Here’s some useful code if you need to know how much time has elapsed between two days. DateTime oldDate = new DateTime(2005, 7, 31); DateTime newDate = DateTime.Now; // Difference in days, hours, and minutes. Time...
1 Comment
| [admin only]
0 Links to this post
Jul
18
Regular Expression Library
Categories:
ASP.NET C#
Regular Expressions. Joy oh Joy. Here’s a great site to help ease the pain in writing one: Regular Expression Library. They have over a thousand indexed expressions and it even has an online tool to help you test expressions: http://www.regexlib....
0 Comments
| [admin only]
0 Links to this post
May
9
Use an Image in a HyperLinkColumn
Categories:
ASP.NET C#
I’ve seen a lot of posts on boards of people inquiring how to utilize an image in a hyperlinkcolumn. I found those posts, because I was trying to do the same thing. In my codebehind, I had some custom things going on for the link, and really didn’...
0 Comments
| [admin only]
0 Links to this post
Apr
14
Determine how many records are in a DataSet
Categories:
ASP.NET C#
To determine how many records are in a dataset, you can use the Count method of the Rows in a table (last line in code). // New DataSet DataSet dbSet = new DataSet(); // Populate DataSet with data dbAdapt....
1 Comment
| [admin only]
0 Links to this post
Next >>
Popular Posts
Event ID: 2436 SharePoint Search Error
STSADM Technical Reference for SharePoint
Sharing The Point is now SharePoint Comic
IIS 6.0 and Flash streaming (FLV)
Unrecoverable build error
Create a Custom Theme for WSS 3.0 or MOSS 2007
Determine Which Version of SharePoint is Installed
Translate this page
Powered by
Microsoft® Translator
Categories
ASP.NET
General
iPhone Backgrounds
Microsoft Certification
Miscellaneous
Presentations
RMS
SharePoint 2010
SharePoint Administration
SharePoint Branding
SharePoint Comic
SharePoint Designer
SharePoint Errors
SharePoint News
SharePoint Security
SharePoint Tips
SQL Server
Tools and Utilites
Visual Studio
Windows 7
Windows Server 2008
Archives
March 2010
(2)
February 2010
(6)
January 2010
(2)
December 2009
(3)
November 2009
(7)
October 2009
(8)
September 2009
(8)
August 2009
(8)
July 2009
(8)
June 2009
(2)
May 2009
(7)
April 2009
(12)
March 2009
(11)
February 2009
(5)
January 2009
(10)
December 2008
(6)
November 2008
(6)
October 2008
(5)
September 2008
(8)
August 2008
(6)
July 2008
(2)
June 2008
(2)
May 2008
(7)
April 2008
(5)
March 2008
(1)
February 2008
(2)
January 2008
(2)
December 2007
(3)
November 2007
(1)
October 2007
(3)
September 2007
(2)
August 2007
(1)
July 2007
(1)
May 2007
(3)
April 2007
(1)
February 2007
(2)
January 2007
(2)
November 2006
(1)
August 2006
(1)
July 2006
(2)
May 2006
(1)
April 2006
(4)
March 2006
(3)
August 2005
(1)
July 2005
(1)