How to get the row index on checking a Checkbox in a ListView
on ListView_itemDataBound event
Label lblsno = (Label)e.item.Cells[1].FindControl
("lblsno");
int count = grdorderdetail.Rows.Count;
for (int i = 0; i <= count; i++)
{
lblsno.Text = (i + 1).ToString();
}
Is This Answer Correct ? | 11 Yes | 2 No |
how to track links visited in google using iframes
How to get the row index on checking a Checkbox in a ListView
how to upload an excel in c# ASP.Net?
HOw to Build a Nested GridView Control with ASP.NET?
Data Reader Vs DataSet
How to get Dynamically Linked Comboboxes Set?
How to Bind Nested XML to a Repeater Control with Container.DataItem?
Code for Presenting Parent/Child Data in a Data Grid Row?
Code for Using Keyboard Events?
how can we close a web page in asp.net without using jscript?
Code for a Simple Way to Write XML in .NET (XmlTextWriter)
hold checkbox values