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
What is join in c#?
How Is The Dll Hell Problem Solved In .net?
What is callback in c#?
What is single dimensional array in c#?
Explain About Iunknown interface Queue
Differentiate between copy and default constructor.
Are attributes inherited c#?
What is wpf c#?
Which class comes after the SortedList class?
Can a class or a struct have multiple constructors?
What is regex replace in c#?
Explain About disco and uddi
Why do we need to override in c#?
What is the difference while using directive vs using statement ?
What is a factory in c#?