GridView
private void btnDeactivate_Click(object sender, EventArgs e) { if (btnDeactivate.Text == "Deactivate") { tbCardName.Enabled = false; tbCardDescrptn.Enabled = false; btnDeactivate.Text = "Activate"; objCardType.CardName=tbCardName.Text; objCardType.CardDescription=tbCardDescrptn.Text; int t =objCardType.DeleteUpdate(); if (t > 0) { lblOutPut.Text = "Deleted"; } }
pre
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)