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
Can property be private in c#?
What is arraylist c#?
What is clr namespace?
What is difference between static and constant variable?
Explain the use of SN.exe
Is visual c# free?
Is stringbuilder thread safe c#?
Overloaded constructor will call default constructor internally?
What are events in C#?
Hi to all..I have to create an intranet application on C#.NET windows Application so please please let can you people help me as iam new in .NET and if u have any samples or website address from where i can get sample please let know.
What is selector c#?
explain the three services model commonly know as a three-tier application.
How to Show Message box in Metro Style App?
What is the ouput of the following program?
What is a method c#?