I have a gridview which is having a TemplateField with a checkbox.When I edit this field an erro is occured saying,"Could not find control 'chkPrimary' in ControlParameter 'Primary_Skill'."I am giving the code below..Plz help me...
ConnectionString="<%$ ConnectionStrings:MyDatabase%>"
SelectCommand="select ES.Skill_id,Skill_name,emp_code,No_Months,Primary_Skill from Skill S
join Emp_skills ES on S.Skill_id=ES.Skill_id
where emp_code=@Emp_code order by Skill_name"
UpdateCommand="update emp_Skills set No_Months=@No_Months,Primary_Skill=@Primary_Skill where Skill_id=@Skill_id AND EMP_CODE=@Emp_Code">
Replies
Know the answer? Post it — somebody with the same question will find it here.