Unable to delete multiple grid view records
===

I am trying to delete multiple grid view records. I tried as shown below. 

 

           public void btnDelete_Click(object sender, EventArgs e)
            {
                StringCollection orderNumberCollection = new StringCollection();
                if (gridOrders.Rows.Count > 0)
                {
                     foreach (GridViewRow gvrow in gridOrders.Rows)
                        {
                             if (gvrow.RowType == DataControlRowType.DataRow) {
                                 CheckBox cbx = (CheckBox)gvrow.Cells[0].FindControl("chkdelete");
                                Label lblOrderNumner = (Label)gvrow.FindControl("labelOrderNumber");
                                Label lastName = (Label)gvrow.FindControl("LabelLastName");
                                if (cbx.Checked && lblOrderNumner != null)
                                {
                                    orderNumberCollection.Add(lblOrderNumner.Text);
                                }
                             }
                        }
                }
            if (orderNumberCollection.Count > 0)
            {
                DeleteMultipleOrders(orderNumberCollection);
            }
    }

But always check box control showing "Checked = false". Why check box control always showing false even I checked some of the check boxes?



	
