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
Is c# still popular?
Why do we need constructors?
What are delegates?
Which of the following operations can you not perform on an ado.net dataset?
What is the difference between add and addrange in c#?
What is a statement c#?
What is stringbuilder c#?
How to Show Message box in Metro Style App?
What is console programming language?
Can derived classes have greater accessibility than their base types?
What does addressof operator do in background ?
Is hashset serializable c#?
What is foreach loop in c#?
Helo , Help Me , Help Me About : C# Windows Application - Network How To Manage IP Client's Accessiblity To The Internet Share concise Substitute , Minor ISA Server
What is byte c#?