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

What is join in c#?

939


How Is The Dll Hell Problem Solved In .net?

1025


What is callback in c#?

903


What is single dimensional array in c#?

940


Explain About Iunknown interface Queue

992


Differentiate between copy and default constructor.

1030


Are attributes inherited c#?

881


What is wpf c#?

882


Which class comes after the SortedList class?

973


Can a class or a struct have multiple constructors?

981


What is regex replace in c#?

1013


Explain About disco and uddi

1140


Why do we need to override in c#?

974


What is the difference while using directive vs using statement ?

1019


What is a factory in c#?

879