CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of value
C#
return members == null ? 0 : members.Count;
by Warren Wiltshire   May 10, 2012 @ 6:57am
18 Views
no comments
 
SQL
CREATE PROC SearchAllTables
(
    @SearchStr nvarchar(100)
)
AS
BEGIN
    CREATE TABLE #Results (ColumnName nvarchar(370), ColumnValue nvarchar(3630))
 
    SET NOCOUNT ON
by Prithvi Ramana A   December 22, 2011 @ 6:46am
62 Views
no comments
 
SQL
CREATE FUNCTION [dbo].[udf_StringToTable]
(
    @string VARCHAR(MAX),
    @delimiter CHAR(1)
)
RETURNS @output TABLE(
    data VARCHAR(256)
)
BEGIN
by jaredmroberts   May 31, 2011 @ 11:01am
109 Views
no comments
 
C#
using System;
using System.Windows.Controls;
using System.Windows.Data;
 
namespace ContosoSales
{
    /// <summary>
    /// Step down the opacity of something based on the length of the
    /// text entered into the TextBox for which this watermark is used.
    /// </summary>
by Jeff Handley   February 22, 2010 @ 4:24pm
229 Views
no comments
 
We have implemented the OpenID in our application.
 
Following is the code snippet.
 
var response = openid.GetResponse();
 
 
Sometimes it is NOT working in Internet Explorer on some machines.
 
We are getting the "response" value NULL. And because of that user is not able to get into the application.
by sachin   January 29, 2010 @ 11:36pm
147 Views
no comments
 
C#
[DebuggerDisplay("{value}", Name="[{key}]", Type="")]
internal class KeyValuePairs
{
    // Fields
    [DebuggerBrowsable(DebuggerBrowsableState.Never)]
    private object key;
    [DebuggerBrowsable(DebuggerBrowsableState.Never)]
    private object value;
 
    // Methods
by Athens Springer   October 29, 2009 @ 12:52pm
201 Views
no comments
 
C#
[Serializable, StructLayout(LayoutKind.Sequential)]
public struct KeyValuePair<TKey, TValue>
{
    private TKey key;
    private TValue value;
    public KeyValuePair(TKey key, TValue value)
    {
        this.key = key;
        this.value = value;
    }
by Athens Springer   October 29, 2009 @ 12:47pm
206 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate