I have to save the following variables to a database:

```
        string PoliciaID = Session["username"];
        string PlacaAuto = Page.Request.QueryString["placaauto"];
        string Carnet = Page.Request.QueryString["carnet"];
        string Fecha = DateTime.Now;
        string TipoInfraccion = Page.Request.QueryString["tipo"];

```

PoliciaID is the primary key of another table called **Policia** and Carnet is primary key of a table called **Persona**.

How could I save information in this situation using C#?

Thank you for your time!