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
How do I develop c# apps?
What is parsing?
What method is used to sort the elements of the array in descending order?
Can we inherit private members of class in c#?
What does return do in unity?
What is Web.config?
What are indexers in c# .net?
What do you mean by generic class in c#?
What is ac callback?
Does c# have functions?
What is interface used in c#?
What is difference between mutable and immutable in c#?
Give an example of removing an element from the queue?
What is .cs file in c#?
What is the components of window?