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 |
Listview design in .net
what is software testing
How to use Client-side Script to Focus Controls in ASP.NET?
how to upload an excel in c# ASP.Net?
How to get the row index on checking a Checkbox in a ListView
i have a gird with columns all are coming from database,this will bind in item templete in gridview as textboxex.and i have button below named Update.i want to update all the records in the grid,but if user change the value of one textbox,what is the easy way 2 do this
Code for Sending E-Mail with System.Web.Mail?
How we implement the paypal in my website and how we make a payment through Credit Card.
Code for Communicating over Sockets?
How to add checkbox to datagrid?
how the value of label is printed through a button in asp.net web application
How to get Dynamically Linked Comboboxes Set?