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 to find Percentage, name ,College from a resume or document ? How to export these values to other page in C#?
What is type safe in c#?
Explain the difference between the system.array.copyto() and system.array.clone()?
Why do we need collections in c#?
Why do we need abstraction in c#?
Define sealed classes in c#?
What is decimal in c#?
Differentiate between dataset and datareader?
What is the difference between console and windows application?
Do events have return type c#?
Why do we need to serialize data?
Explain what a diffgram, and a good use for one Define diffgram? How it be used?
what are some characteristics of an array?
How a two-dimensional array declared in C#?
What is datatable and dataset in c#?