Skip to content

Instantly share code, notes, and snippets.

@crowcoder
crowcoder / OutputParamsCSharp
Created May 14, 2015 22:37
How to use OUTPUT parameters in ADO.Net c#
using System;
namespace OutputParamsInCSharp
{
class Program
{
static void Main(string[] args)
{
System.Data.SqlClient.SqlConnectionStringBuilder connectionBuilder = new System.Data.SqlClient.SqlConnectionStringBuilder();
connectionBuilder.DataSource = "(localdb)\\v11.0";
@crowcoder
crowcoder / Invoice
Created September 4, 2014 23:39
CSS/HTML only report sample implemented as a simple Invoice
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Invoice</title>
<style media="screen">
body {
font-family: 'Segoe UI','Microsoft Sans Serif',sans-serif;
}
/*
@crowcoder
crowcoder / BlobWorker.cs
Created June 11, 2014 11:21
Azure Blob Storage Operations
using System;
using System.IO;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using Microsoft.WindowsAzure.Storage.Auth;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;