Browse by Tags

All Tags » c# » asp.net (RSS)

Custom Paging in Grid view by aghausman12

So, it takes too long for me to write this post. even though I completed the coding stuff a week back but it is really hard to manage time these days. In this post, I will explain and demonstrate you how to create custom paging in Grid view control. Paging...
Filed under: , , ,

Datatable to JSON by aghausman12

In this post I will explain you, how can we serialize Datatable to JSON. So that, it can easily pass to JavaScript to get the AJAX done. First of all fill a Datatable with some results. DataTable dt = new DataTable();   SqlConnection objSqlCon =...
Filed under: , , , ,

Authenticated File Access using HTTP Handler. by aghausman12

In this post I will explain you how authenticate the request directly coming to access a file that is downloadable. some thing like *.pdf or *.zip. Mostly, people make it working by creating an *.aspx page and then write binary of that file in Response...
Filed under: , ,

Saving and Retrieving File Using FileStream SQL Server 2008 by aghausman12

FileStream data type is a very important feature of SQL Server 2008 and gradually getting popular amongst developer for it’s feasibility. And in the past few days specially after “ Configure SQL Server 2008 for File Stream ” post. I received several feedbacks...
Filed under: , , ,

Validate username using custom validation (AJAX) by aghausman12

In this post, I will explain you how to have an ajax call on custom validator control and check for the username in the database. This task will include two pages one is the form page (default.aspx in our case) in which we have the custom validator and...
Filed under: , , ,

ASP menu to show files in a folder by aghausman12

In this post, we will see how can we fill the Asp Menu by specifying folder instead of some other data source. Following is the folder structure which this code is supported Root -> Folder 1 -> Files -> Folder 2 -> Files -> Folder 3 ->...
Filed under: , ,
More Posts