I am registering registrations in C # ASP.NET with SQL Server, the problem is that I do not know how to declare the checkboxes so that when one or more are selected they are registered in my table. This is what I have: The table sex and age are checkboxes.
SqlConnection conn = new SqlConnection(@"Data Source=(local);Initial Catalog=Sistemaa;User ID=sa;Password=344");
SqlCommand cmd=new SqlCommand("insert into Empleados(nombre, trabajo, sexo, edad)values ("+this.txtnombre.text+",'"+this.txttrabajo.text+....(AQUI ES DÓNDE NO SÉ CÓMO AGREGAR LOS CHECKBOX))
This is my table