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 / siva

The above said is write. With addition to that To add the
row number automatically See the below code.

<asp:TemplateField HeaderText="S.No">
<ItemTemplate >
<%# Container.DataItemIndex + 1 %>
</ItemTemplate>
</asp:TemplateField>

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find Percentage, name ,College from a resume or document ? How to export these values to other page in C#?

973


What is type safe in c#?

935


Explain the difference between the system.array.copyto() and system.array.clone()?

973


Why do we need collections in c#?

918


Why do we need abstraction in c#?

968


Define sealed classes in c#?

979


What is decimal in c#?

971


Differentiate between dataset and datareader?

1010


What is the difference between console and windows application?

1022


Do events have return type c#?

981


Why do we need to serialize data?

955


Explain what a diffgram, and a good use for one Define diffgram? How it be used?

1054


what are some characteristics of an array?

1000


How a two-dimensional array declared in C#?

1020


What is datatable and dataset in c#?

1050