Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert DataSet
Message
From
23/11/2006 08:50:03
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Insert DataSet
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01172036
Message ID:
01172036
Views:
49
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
Next
Reply
Map
View

Click here to load this message in the networking platform