Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
In DB.GetData(select) is executed
new SqlDataAdapter(Select, dbConnection).Fill(table)
0
1725
posted 16 years ago by tomaszsimon
You have a white shine on top just by changing the background color in whatever color you like.
0
1798
posted 16 years ago by crs
Here is a nice snippet to open links in pop-up windows. Just add the popup css class to your link to make it work.
3
2473
posted 16 years ago by math89
The target="blank" attribute is not valid XHTML 1.0 Strict.
using jQuery, you can achieve the same functionality without having validation problems.
0
1819
posted 16 years ago by math89
Great way to show the user that something is happening without too much tedious work. As simple to use as putting the following code in Form_Load:
AutoWaitCursor.Cursor = Cursors.WaitCursor;
AutoWaitCursor.Delay = new TimeSpan(0, 0, 0, 0, 25);...
1
4143
posted 16 years ago by pckujawa
Calculate dir size recursive, follow the link above because the version above is better.
0
2012
posted 16 years ago by ginoplusio
Call it in the button click event after in(de)crementing CurrentPage value
0
1537
posted 16 years ago by tomaszsimon
For .net 2.0+ The one limitation to enumerations is revealed when you try to reverse lookup an enumeration value using Enum.Parse(). The parse function will return an inconsistent enum object if ever there are two or more enumerations with the same...
0
2583
posted 16 years ago by bryanlyman
In order for the code snippet(s) to work, you need to do the following:
1. Go download the EWS API SDK: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=c3342fb3-fbcc-4127-becf-872c746840e1
2. Install the SDK on your machin...
0
2049
posted 16 years ago by blackf0rk
Perform a search of all user tables in the current database to locate a column defined in a user table that matches a certain name. The first query looks for an exact column name and the second one returns all column names which match a keyword (usi...
1
2290
posted 16 years ago by kencyber
an easy-to-use function to connect to your del.icio.us account and perform a query.
query commands can be found on their api help: http://delicious.com/help/api
1
1732
posted 16 years ago by stephanepericat