I have my following code:
public class UsrConexion
{
public string cadenaconexion;
protected string sql;
protected int resultado;
protected SqlConnection cnn;
protected SqlCommand comandosql;
protected string mensaje;
protected string sql1;
public UsrConexion()
{
this.cadenaconexion = ("data source=ECRIBOL\Juan360;initial catalog=Degi;user id=sa;password=12stones.4;MultipleActiveResultSets=True");
this.cnn = new SqlConnection(this.cadenaconexion);
}
}
}'
I have my 2 tables Invoices and Buyer
What I want is to save the data, including the pdf file and the id of the Buyer table on a server and in the sql save your route. I hope you can help me. (I just want to do it through a consultation or a small example, I'm a novice and I've never worked with files, much less with routes)