Here's the code I'm using to get the values into a dataset:
data1.ToTable("tblFinalista", "Data", "DataUgarte");
Then I add the data in the table. The table runs fine and the data from the database is correctly added. The problem is that I want to have a default value to the variables, and I don't know how to do that.
Here's the code for those variables:
public partial class TableFinalista : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string id = Request.QueryString["Id"];
string code = Request.QueryString["Code"];
string nombre = Request.QueryString["Nombre"];
if (id!= null && code!= null && nombre!= null)
{
// Initialize the context
var context = new Mecanica.Context();
Mecanica.Ugarte utente = new Mecanica.Ugarte();
// Add the code
utente.codigo = code;
//Add the data to the database
utente.id = id;
utente.nombre = nombre;
utente.created_on = DateTime.Now;
utente.created_by 01e38acffe
8.
The Best of Mecanica de Fluidos
09-Sep-2016
Perfect Doc Mecanica-De-Fluidos-Ugarte-Pdf-106
mecanica de fluidos ugarte pdf 106
9.
The Best of Mecanica-De-Fluidos
05-Jul-2016
Mecanica de Fluidos Doc Mecanica-De-Fluidos-Ugarte-Pdf-106
mecanica de fluidos ugarte pdf 106
10.
The Best of Mecanica de Fluidos
06-Jul-2016
Cheap Mecanica-De-Fluidos-Ugarte-Pdf-106
mecanica de fluidos ugarte pdf 106
11.
The Best of Mecanica de Fluidos
12-Jun-2016
Mecanica de Fluidos Doc Mecanica-De-Fluidos-Ugarte-Pdf-106
mecanica de fluidos ugarte pdf 106
12.
The Best of Mecanica de Fluidos
06-Jun-2016
Mecanica de Fluidos Doc Mecanica-De-Fluidos-Ugarte-Pdf-106
mecanica de fluidos ugarte pdf 106
13.
The Best of Mecanica de Fluidos
04-Jun-2016
Mecanica de Fluidos Doc Mecanica-De-Fluidos-Ugarte-Pdf-106
mecanica de fluidos ugarte pdf 106
14.
The Best of Mecanica de Fluidos
04-Jun-2016
Mecanica de Fluidos Doc Mecanica-De-Fluidos-Ugarte-Pdf-106
mecanica de fluidos ugarte pdf 106
15.
The Best of Mecanica de Fluidos
05-May-2016
Mecanica de Fluidos Doc Mecanica-De-Fluidos-Ug
Related links:
Comments