Posts tagged "gridview"

Datagrid and Gridview in Asp.net


ASP.NET version 1.x have one most commonly used Web controls that is DataGrid. DataGrid control helps to display data on an ASP.NET page just like a breeze. we can simply drag and drop the DataGrid on our webpage, we can also specify columns/fields and we can also format that fields and columns. There are some feature of DataGrid that’s helps end user to page, sort, and even edit the data within the DataGrid.

After that DataGrid takes a huge improvement over pre-ASP.NET techniques for showing data,But have some limitations till now. For starters, binding any data to a DataGrid still required some code to written, and often repetitive code at that. And something more that how to utilize any of the DataGrid more advanced features—handling deletes, providing pagination, or sorting support—required additional code and time.

ASP.NET 2.0 gernate some facility to fixes the problems of the DataGrid through a set of data source controls designed to manage data that can be bound to data Web controls, and a replacement the DataGrid with GridView control.For accessing data in ASP.NET 1.x, developers need some code.with the help of data source controls,data can be easily accessed through simple syntax in the HTML portion of the ASP.NET Web page.The data source controls can be added to a page by simply dragg and drop.And, the specific data to retrieve can be specified entirely through the Design view. Once a data source control sholud configured, it can be easily bound to a data Web control, just like GridView, by setting the data Web control’s DataSourceID property to the ID of the data source control.

Data source controls in ASP.NET 2.0 access data with quicker and easier with compare to to ASP.NET version 1.x.GridView also makes showing that data much simpler than with the DataGrid in ASP.NET version 1.x.

With the GridView you can specify that the data be sortable and/or pageable by simply checking a checkbox.This process is also when Delete column.

To know more about asp net interview questions visit – dotnetquestion.info

Adam Sturo provide you the best and latest Dot Net Interview Questions by studing these questions you can get a Dot Net Jobs easily


Article from articlesbase.com

Find More ASP.NET Articles



Be the first to comment - What do you think?
Posted by Anand Narayanaswamy - March 15, 2011 at 12:04 pm

Categories: ASP.NET   Tags: ASP.NET, Datagrid, gridview

how to make GridView auto partial update like Gmail inbox


The way presented in this article is a way of how to add new rows from database to gridview without refresh of the page . This is useful when a client want to see new rows (eg. new letters) without having to refresh the page. If you wanna see a live demo, please logIn to your Gmail account(load standard Gmail), then send a letter from a different browser to your Gmail address and see that your Gmail Inbox will auto add the new letter’s row to your letters’ gridView

There are a quick way to show new rows : put GridView inside an updatePanel and refresh the updatePanel every 3(or any) seconds, but this way increase page source’s size and page’s load time…….


but , in this article we will learn a way to automatically get new rows automatically every 3(or any) seconds [by javascript timeout] from server[by jQuery get method] and then those new rows to gridView [by jQuery html manipulation]  


You should know :


jQuery html manipulation – you can learn from w3schools.com


jQuery and ajax – you can learn from w3schools.com


Suppose we wanna(want to) have a gridView with ability of auto adding new rows from database to it
we follow the following steps to have a gridView like Gmail Inbox perl gridView !


step 1 :
Add the following Javascript code to the page that contains your gridView


Be the first to comment - What do you think?
Posted by Anand Narayanaswamy - September 30, 2010 at 8:24 pm

Categories: C#   Tags: gmail, gridview, inbox, partial, update

Gaia Ajax 3.6 Alpha Released: GridView and Adaptiv Rendering

Reaching the first release of Gaia Ajax 3.6 is a great step for us. For those who have waited for it; we hope you will be rewarded with a great, new web development experience. We think 3.6 is not only an important step for us, but also for the future of web development itself. It is our vision to bring you the finest quality platform for developing ajax applications  on ASP.NET. The 3.6 version comes with practical innovation previously unavailable to ASP.NET developers. It’s going to brings back memories from the first time Microsoft unveiled ASP.NET and the "goosebumps" it brought.

Adaptive Rendering Adaptive Rendering is a mind-blowing concept that enables dynamic insertion, removal, moving and replacement of individual controls. Adaptive rendering will replace partial rendering. This concept represents a major breakthrough in making Gaia Ajax an even better choice for your web application development.

[Learn more - Sample I]

Gaia Ajax GridView The Gaia Ajax GridView is a premier example of adaptive rendering as it enables the worlds most advanced GridView for ASP.NET. Some beat us on design, but nobody beats us on Ajax+GridView architecture.

[Learn more - Sample]

Please visit http://gaiaware.net/ for more information and also to download the latest bit of the product.

Be the first to comment - What do you think?
Posted by Anand Narayanaswamy - September 15, 2009 at 5:55 am

Categories: Press Releases   Tags: ajax, ASP.NET, components, controls, gaia, gridview, scada controls silverlight, scriptmanagerproxy example