.NET
|
|
22 Feb 2018
Updated: 22 Feb 2018
Rating: 3.67/5
Votes: 5
Popularity: 2.56
Licence: CPOL
Views: 10,463
Bookmarked: 4
Downloaded: 0
A simple way to enumerate the OleDb Providers installed on the system
|
|
6 Apr 2016
Updated: 6 Apr 2016
Rating: 4.69/5
Votes: 4
Popularity: 2.83
Licence: CPOL
Views: 11,493
Bookmarked: 3
Downloaded: 0
An Extension Method to avoid an undocumented limitation of Exceptions
|
|
7 Dec 2014
Updated: 7 Dec 2014
Rating: 5.00/5
Votes: 5
Popularity: 3.49
Licence: CPOL
Views: 16,084
Bookmarked: 7
Downloaded: 0
Why your methods should accept DataViews; not just DataTables.
|
|
24 Jan 2013
Updated: 24 Jan 2013
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 5,781
Bookmarked: 1
Downloaded: 0
Regarding use of the various Write and WriteLine methods
|
ADO.NET
|
|
21 Feb 2018
Updated: 21 Feb 2018
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 6,150
Bookmarked: 1
Downloaded: 0
A simple way to use ADO.NET to get a list of sheets in an Excel file
|
Database Development
|
|
6 Dec 2014
Updated: 8 Dec 2014
Rating: 4.72/5
Votes: 8
Popularity: 4.26
Licence: CPOL
Views: 27,093
Bookmarked: 8
Downloaded: 0
This is an alternative for "C# Convert DataTable to List of Objects Dynamically"
|
SQL Server |
17 Dec 2011
Updated: 25 Dec 2011
Rating: 4.67/5
Votes: 5
Popularity: 3.26
Licence: CPOL
Views: 40,521
Bookmarked: 9
Downloaded: 0
Concatenating values from multiple rows into one string value via a Common Table Expression
|
|
17 Dec 2011
Updated: 25 Dec 2011
Rating: 5.00/5
Votes: 3
Popularity: 2.39
Licence: CPOL
Views: 20,032
Bookmarked: 1
Downloaded: 0
Using a Common Table Expression to produce a list of Views, Procedures, and Functions
|
|
1 Mar 2012
Updated: 26 Apr 2012
Rating: 0.00/5
Votes: 0
Popularity: 0.00
Licence: CPOL
Views: 12,511
Bookmarked: 0
Downloaded: 0
How to get a list of SQL Server modules to refresh
|
|
15 Mar 2012
Updated: 15 Mar 2012
Rating: 0.00/5
Votes: 0
Popularity: 0.00
Licence: CPOL
Views: 10,740
Bookmarked: 0
Downloaded: 0
This is an alternative for "LPAD and RPAD functions in SQL"
|
|
28 Mar 2012
Updated: 28 Mar 2012
Rating: 0.00/5
Votes: 0
Popularity: 0.00
Licence: CPOL
Views: 19,199
Bookmarked: 1
Downloaded: 0
Performing a bitwise OR aggregate in SQL Server
|
|
3 May 2012
Updated: 3 May 2012
Rating: 0.00/5
Votes: 0
Popularity: 0.00
Licence: CPOL
Views: 11,472
Bookmarked: 2
Downloaded: 0
This is an alternative for "List SQL Server table column name as rows"
|
|
13 Dec 2014
Updated: 13 Dec 2014
Rating: 5.00/5
Votes: 10
Popularity: 5.00
Licence: CPOL
Views: 25,108
Bookmarked: 12
Downloaded: 0
A stored procedure I use to find duplicate records in tables and views.
|
|
28 Mar 2012
Updated: 1 Jun 2016
Rating: 5.00/5
Votes: 3
Popularity: 2.39
Licence: CPOL
Views: 21,511
Bookmarked: 1
Downloaded: 0
Interspersing 'Total' rows among summarized data rows in the correct order
|
|
23 Feb 2012
Updated: 23 Feb 2012
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 11,854
Bookmarked: 1
Downloaded: 0
See also Stupid CTE tricks -- string concatenation[^]
|
Desktop Programming
|
Windows Forms |
7 Aug 2014
Updated: 7 Aug 2014
Rating: 3.00/5
Votes: 2
Popularity: 0.90
Licence: CPOL
Views: 8,860
Bookmarked: 5
Downloaded: 0
This is an alternative for "Adding Functionality To .NET Controls"
|
|
6 Dec 2011
Updated: 25 Dec 2011
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 9,021
Bookmarked: 1
Downloaded: 0
OK, here's another way (I found this at http://dotnet.mvps.org/dotnet/faqs/?id=textboxcaretpos&lang=en[^]). [System.Runtime.InteropServices.StructLayoutAttribute (System.Runtime.InteropServices.LayoutKind.Sequential)]private struct ApiXY{ public int X ; public int Y ;}[ ...
|
|
29 Nov 2011
Updated: 3 Jan 2012
Rating: 5.00/5
Votes: 4
Popularity: 3.01
Licence: CPOL
Views: 81,753
Bookmarked: 8
Downloaded: 0
Getting the line and position of the cursor in a TextBox
|
|
8 Nov 2011
Updated: 7 Jan 2012
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 31,341
Bookmarked: 6
Downloaded: 0
A binary search technique to determine which TabPage of a TabControl was clicked
|
General Programming
|
Algorithms |
11 Sep 2015
Updated: 11 Sep 2015
Rating: 4.83/5
Votes: 3
Popularity: 2.31
Licence: CPOL
Views: 14,420
Bookmarked: 2
Downloaded: 0
This is an alternative for "Split Any Delimited String in SQL"
|
String |
10 Feb 2012
Updated: 23 Feb 2012
Rating: 4.60/5
Votes: 5
Popularity: 3.22
Licence: CPOL
Views: 12,632
Bookmarked: 3
Downloaded: 0
An Extension Method that is similar to String.StartsWith, but uses a StringComparer
|
|
1 Feb 2013
Updated: 27 Mar 2015
Rating: 4.60/5
Votes: 3
Popularity: 2.19
Licence: CPOL
Views: 32,943
Bookmarked: 11
Downloaded: 0
Extension methods to select a Dictionary entry using StartsWith
|
IList
|
|
8 Dec 2011
Updated: 8 Dec 2011
Rating: 0.00/5
Votes: 0
Popularity: 0.00
Licence: CPOL
Views: 5,540
Bookmarked: 1
Downloaded: 0
I wasn't going to publish this version, but I just used it a second time, so maybe someone else will need it too. This is very much like the second version above except that it uses a non-generic IList. Today, I used this to find and insert TreeNodes in a TreeNodeCollection, yesterday I used it...
|
|
7 Dec 2011
Updated: 25 Dec 2011
Rating: 4.56/5
Votes: 2
Popularity: 1.37
Licence: CPOL
Views: 36,432
Bookmarked: 4
Downloaded: 0
A binary search of a sorted IList to retrieve an index
|
Operating Systems
|
DOS |
8 Nov 2011
Updated: 10 Nov 2011
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 9,465
Bookmarked: 2
Downloaded: 0
Using DOS' FOR command to delete subtrees
|
|
12 Nov 2011
Updated: 13 Nov 2011
Rating: 0.00/5
Votes: 0
Popularity: 0.00
Licence: CPOL
Views: 7,251
Bookmarked: 1
Downloaded: 0
Using a few members of the System.Console class to fill the screen
|
Programming Languages
|
C# |
16 Jun 2014
Updated: 16 Jun 2014
Rating: 4.71/5
Votes: 4
Popularity: 2.84
Licence: CPOL
Views: 18,146
Bookmarked: 9
Downloaded: 0
This is an alternative for "How to Split Long Strings into Manageable Portions and Display them in a MessageBox"
|
|
23 Nov 2011
Updated: 23 Nov 2011
Rating: 5.00/5
Votes: 2
Popularity: 1.51
Licence: CPOL
Views: 26,327
Bookmarked: 3
Downloaded: 0
A C# class to raise KeyPress events for use in Console Applications
|
|
6 Apr 2018
Updated: 6 Apr 2018
Rating: 4.83/5
Votes: 6
Popularity: 3.76
Licence: CPOL
Views: 7,890
Bookmarked: 4
Downloaded: 0
A Trim method for strings that provides flexibility without requiring the use of large character arrays
|
|
15 May 2012
Updated: 15 May 2012
Rating: 3.67/5
Votes: 3
Popularity: 1.75
Licence: CPOL
Views: 11,800
Bookmarked: 1
Downloaded: 0
This is an alternative for "The Elegant Art of Programming"
|
|
16 May 2012
Updated: 18 May 2012
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 25,943
Bookmarked: 3
Downloaded: 0
This is an alternative for "The Elegant Art of Programming"
|
|
7 Nov 2016
Updated: 7 Nov 2016
Rating: 4.38/5
Votes: 4
Popularity: 2.63
Licence: CPOL
Views: 9,432
Bookmarked: 2
Downloaded: 0
A method to match a string within a string, but with added features
|
|
9 Apr 2011
Updated: 10 Apr 2011
Rating: 4.75/5
Votes: 3
Popularity: 2.27
Licence: CPOL
Views: 21,864
Bookmarked: 4
Downloaded: 0
Using Reflection to instantiate an Exception of a given type
|
|
25 Apr 2010
Updated: 11 Jul 2010
Rating: 3.88/5
Votes: 7
Popularity: 3.27
Licence: CPOL
Views: 17,750
Bookmarked: 3
Downloaded: 0
A way to define system-wide compiler symbols to be used for all C# builds
|
|
20 Feb 2012
Updated: 20 Feb 2012
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 16,902
Bookmarked: 0
Downloaded: 0
This is much simpler: fewer new strings created, no recursion. And it allows the caller to specify how to do a string comparison.public static boolWildcardMatch( this string Subject, string Pattern, System.StringComparison...
|
C# 4.0 |
12 Jul 2012
Updated: 12 Jul 2012
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 8,891
Bookmarked: 1
Downloaded: 0
This is an alternative for "PrettyXML (.NET Port)"
|
|
6 Jun 2012
Updated: 6 Jun 2012
Rating: 0.00/5
Votes: 0
Popularity: 0.00
Licence: CPOL
Views: 15,428
Bookmarked: 1
Downloaded: 0
This is an alternative for "Sorting Strings based on the position of the block letter"
|
SQL |
19 Nov 2017
Updated: 19 Nov 2017
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 8,064
Bookmarked: 2
Downloaded: 0
This is an alternative for "SQL Convert Sentence to Proper Case"
|
|
11 Apr 2011
Updated: 20 Apr 2011
Rating: 5.00/5
Votes: 3
Popularity: 2.39
Licence: CPOL
Views: 29,873
Bookmarked: 7
Downloaded: 0
Using Reflection to instantiate a System.Data.SqlClient.SqlException
|
|
11 Jul 2010
Updated: 14 Jul 2010
Rating: 4.90/5
Votes: 6
Popularity: 3.81
Licence: CPOL
Views: 113,957
Bookmarked: 12
Downloaded: 0
Simple demonstration of using UDTTs and TVPs to pass DataTables to SQL Server 2008
|
T-SQL |
16 Feb 2012
Updated: 16 Feb 2012
Rating: 3.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 13,270
Bookmarked: 0
Downloaded: 0
In SQL Server 2008, I do that with a CLR User Defined Function:namespace PIEBALD.Lib{ public static partial class LibSql { public static string Trim ( string Victim ) { return ( Victim.Trim() ) ; } }}Needs to be built into a...
|
Stopwatch
|
|
28 Nov 2011
Updated: 25 Dec 2011
Rating: 1.67/5
Votes: 2
Popularity: 0.50
Licence: CPOL
Views: 26,372
Bookmarked: 4
Downloaded: 0
Making Stopwatches easier to insert (and remove) when looking for bottlenecks
|
Web Development
|
ASP.NET |
19 Apr 2012
Updated: 19 Apr 2012
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 9,452
Bookmarked: 2
Downloaded: 0
This is an alternative for "Validating gender dynamically using REGEX"
|
HTML |
4 Jan 2016
Updated: 4 Jan 2016
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 34,238
Bookmarked: 3
Downloaded: 535
Attempts to resize a Form to show the entire table of a DataGridView
|
|
17 Dec 2010
Updated: 19 Dec 2010
Rating: 5.00/5
Votes: 4
Popularity: 3.01
Licence: CPOL
Views: 20,543
Bookmarked: 2
Downloaded: 0
How about loading it into an XmlDocument and getting the InnerText? (Provided the HTML is well-formed XML, of course.)
|
|
5 Jan 2016
Updated: 5 Jan 2016
Rating: 2.80/5
Votes: 2
Popularity: 0.84
Licence: CPOL
Views: 10,051
Bookmarked: 1
Downloaded: 19
A Dictionary that is constrained to hold only the defined members of an enumeration
|