Считайте выбранные ряды Gridview в JavaScript
protected void Page_Load(object sender, EventArgs e)
{
var list = (new[] { new { ItemID = 1 }, new { ItemID = 2 }, new { ItemID = 3 }, new { ItemID = 4 }, new { ItemID = 5 }, new { ItemID = 6 }, new { ItemID = 7 }, new { ItemID = 8 } }).ToList();
gvPurchaseOrderDetails.DataSource = list;
gvPurchaseOrderDetails.DataBind();
}
Odd Owl