Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

please exaplain gridview and what are the process available
for it. how to add the row number automatically? is it
possible to add child controls ?

Answer Posted / subodh kumar

Gridview is a control provided in .net2.0 and above.
Gridview is use to display the records in tabular format.
To fill the record in Gridview control we will use the
following two properties:
1. Gridview1.DataSource=<DataSet or any other datasource>
2. Gridview1.Databinding();

Gridview supports the functionality to add, edit, or delete
the record.
It also suports pagination functionality.
It have the following events which are very usefull:
1. OnDatabind
2. OnItemCommand
3. OnIndexChange
etc.

You can add the child control in Gridview and you can
handle that event through Gridview event handle
i.e. "OnItemCommand". This process is called "Bubble event".

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What tool we have to use to install assembli in gac folder.

893


What is icomparable in c#?

944


Are arrays immutable c#?

1033


Can you declare a class or a struct as constant?

1051


Why do we use void in c#?

852


Explain constructor in c#?

1298


What is view model in c#?

834


Explain about generics in c#.net?

1021


What happens during the process of boxing?

1042


How do you access a constant field declared in a class?

891


Which of the following operations can you not perform on an ado.net dataset?

955


What is semaphore in c#?

925


How many constructors can a class have c#?

890


What are namespaces, and how they are used?

993


What is lazy loading and eager loading in c#?

899