In order to insert the value into the database
1) Create a insert_Categoria method in the .xsd file (which includes insert query)
2) Include the insert query in your class (cad) for example
public int Insert_Categoria(Int64 pId, String pCategoria)
{
return Adapter.Insert(pId,pCategoria);
}
3) Include the insert query with the object in your .aspx.cs file for example
Cad Categoria = new Cad();
int abc = label1.txt;
string pqr = text1.txt;
Categoria.Insert_Categoria(abc,pqr);