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 a custom attribute?
What is a protected class in c#?
How do you encapsulate in c#?
Explain states of a thread in c#?
What is the difference between function and method in c#?
Explain circular reference in c#?
What are sorted lists?
What is variable in c#?
Does console.writeline() stop printing when it reaches a null character within a string?
What is regex c#?
What are the 3 elements of delegation?
What is disconnected data architecture in c#?
What is transparent caching with aop ?
What is difference between code access and role based security?
How to install or uninstall a windows service?