Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert DataSet
Message
De
23/11/2006 08:50:03
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Insert DataSet
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01172036
Message ID:
01172036
Vues:
50
Hi

How I make to insert a DataSet in a Table I've this

DataSet vl_dsDatos = new DataSet();
DataTable vl_dtDatos = new DataTable("FST_TBLPLTA_CLTE_ADMIN");
DataRow vl_drValores;
vl_dtDatos.Columns.Add("id_Admin");
vl_dtDatos.Columns.Add("users_id");
vl_dtDatos.Columns.Add("id_plnta");

vl_drValores = vl_dtDatos.NewRow();
vl_drValores["id_Admin"] = 2
vl_drValores["users_id"] = 3
vl_drValores["id_plnta"] = 5
vl_dtDatos.Rows.Add(vl_drValores);

vl_dsDatos.Tables.Add(vl_dtDatos);

I need insert this in a table.

Thaks
Daniel Vargas.
MCP - Microsoft Certified Professional

"El callar y escuchar es cosa de sabios por ello nuestro grito nace de silencio consciente fuerte y elocuente... vivir de manera diferente es morir siendo libre"

Elkin Ramirez-Kraken

My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform