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 can we close a web page in asp.net without using jscript?
How to Snap the Cursor to a Button?
how to design a ListView control?
Code for a Simple Way to Write XML in .NET (XmlTextWriter)
where is assembly are store
what is the value that reside in a hidden field when no value is assigned to it?how it can be used in a if statement??
How to get Dynamically Linked Comboboxes Set?
Code for Sending E-Mail with System.Web.Mail?
Coding for Synchronizing Cache Access in ASP.NET?
How to get the row index on checking a Checkbox in a ListView
hold checkbox values
Give coding for Implementing a Fixed GridView Header in ASP.NET?