Daily Archives: April 5, 2013

Bind Data to ASP.Net gridview using MongoDB

I have created a simple demonstration program to show how we can bind data from Mongo to gridview. Here we go through code… Create Database Connection /*create separate for connection object */ using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Configuration; using System.Data.SqlClient; using MongoDB.Driver; using MongoDB.Driver.Builders; using MongoDB.Bson; namespace Gridcontrol.Mongodb { public static […]