Select Page

K2 Blackpearl file upload to custom table

I have recently had a lot of K2 development on my hands.  I came across an issue where I had to upload files to a custom table from a K2 Smart Form.  I will show you step by step how accomplish this using K2 BlackPearl SmartForms and a custom database table without...

Two-way data binding on a custom user control

A few people asked me recently how you can add a custom control inside a GridView and then allow two-way data binding to this custom user control. In this very short post I will explain how to do two-way data binding using .Net Framework 4.5, SQL and C#. I have also...

Exporting Microsoft SharePoint 2010 list to SQL server database

SharePoint 2010 has some interesting things you can do with it. In this blog I will show you how to export a SharePoint list or lists to a SQL database. Problem: We had to do some enhancements on a big SharePoint 2010 solution designed by someone else. The design of...

Create SharePoint Document Libraries from PowerShell

Creating SharePoint Document Libraries is normally quick and easy.  We came across this client who wanted near hundred libraries and each library had 3 of the same custom columns in. Problem: You need to create more than one Document Library in SharePoint and all of...

Export all user permissions from a SharePoint 2010 Site to CSV

I was recently asked to help with a PowerShell script that will extract all user permissions from a SharePoint 2010 Site to a CSV. Problem: A SharePoint site went down and we needed to recover it.  Most of the issues are already sorted out but we now need to move all...

Extract files from SharePoint Content Database using SQL

If you ever had the problem where you need to extract files from a SharePoint Content Database or normal SQL Database stored as binary, this post will help you. The script I have included will export all the content from the SharePoint Content Database to the file...