narasiman rao

narasiman rao

  • NA
  • 519
  • 768.7k

how to write checkbox selection code from aspxto codebehind

Oct 17 2016 6:17 AM
 My code as follows
 
 
$(".chkboxPDC").each (function (i) {
 
if ($(".chkboxPDC")[i].checked == true) {
 
PDCAssociatecount++;
 
}
 }
 
 
in Run mode as follows
 
 
Assoicateid      Project name       Project dedicated cab     
 
   1                         A                        Checkbox
 
i want one submit as follows
 
 in submit i want to write the whether checkbox selected or not.
 
protected void BtnSubmitClick(object sender, EventArgs e)
{
    //In submit button i want to call chkboxPDC function
 
 
  In submit button i want to call chkboxPDC function  for that how can i do codebehind page using c#.

Answers (1)