how to bind data to gridview using DataReader in asp.net

By bhaskarareddy on  From aspdotnet-sharepoint.com
Earliar posts i explained how to bind data to grid view, bind data to dropdownlist in grid view, Export Gridview Data to Word Document, Sorting and Paging in Gridview, Edit,Delete,Update in Gridview.Here i will show how to bind data to grid view using Data reader in asp.net <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title>Bind data to Gridview with DataReader in asp.net</title> </head> <body> <form id="form1" runat="server"> <asp:GridView ID="GVdynamicdr" runat="server" AutoGenerateColumns="False" > <Columns> <asp:BoundField DataField="drOrderID" HeaderText="drOrderID"/> <asp:BoundField DataField="OrderName" HeaderText="drOrderName"/> <asp:BoundField DataField="drPhone" HeaderText="drPhone"/> <asp:BoundField DataField="drAddress" HeaderText="drAddress"/> <asp:BoundField DataField="drAmount" HeaderText="drAmount"/> </Columns> </asp:GridView> </form> </body> </html> CodeBehind: using System; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data...Read Full Story

Display custom messages or images when there is no records in GridView Data Source

By Gaurav Chauhan on  From chiragkanzariya.blogspot.com
Display custom messages or images when there is no records in GridView Data Source This is a very frequent requirements to display Custom Messages or Images when there is no records in Grid View. I found people used custom code to achieve this. But ASP.NET Gridview having some inbuilt features to do the same.   You can use EmptyDataTemplate using GridView to display any custom message or Images or even web controls to add new records or whatever you want as per your requirements. Display...Read Full Story

Gridview Paging using C#

By Gaurav Chauhan on  From chiragkanzariya.blogspot.com
A GridView is most often used to display the data retrieved from the database in Tabular form with features of Gridview like data paging, sorting and auto formats. You can use C# code to bind the SQL data with GridView control and follow the following simple steps to make your ASP.Net GridView control with paging enabled. First of all drag the GridView control from Data controls menu. It will add the GridView control HTML source code as given above. Now click on GridView control to load the...Read Full Story

Windows Phone 7 Application Development (Developer’s Library) ★☆

By orriswvschreck on  From featuredbrand.gozbuy.com
Windows Phone 7 Application Development (Developer’s Library) windows phone 7 application development – click on the image below for more information. windows phone 7 application development Corey Schuman’s Windows Phone 7 Application Development is timed and designed to catch the initial wave of demand for a quick, reliable jumpstart to Windows Phone 7 development. Written for all beginning Windows Phone 7 developers – including developers migrating from other platforms – this book’s...Read Full Story

Most popular Beginning Windows Phone 7 Application Development: Building Windows Phone Applications Using Silverlight and XNA (Wrox Programmer to Programmer) ★☆

By orriswvschreck on  From featuredbrand.gozbuy.com
Beginning Windows Phone 7 Application Development: Building Windows Phone Applications Using Silverlight and XNA (Wrox Programmer to Programmer) windows phone 7 silverlight – click on the image below for more information. windows phone 7 silverlight Discover the core concepts essential for developing apps for Windows PhoneSilverlight and XNA provide you with a powerful development platform and key tools for programming Windows Phone 7 series applications. This book offers a foundation for...Read Full Story
More From Zimbio
Copyright © 2013 - Livingly Media, Inc. All Rights Reserved.
Zimbio Entertainment