|
|
Browse by Tags
All Tags » VB.Net » .Net 1.1 (RSS)
-
In this tutorial, we will show you how to make a Transact-SQL transaction in a SQL Server database. We will use ASP.NET 2.0 and VB.NET in the sample. First, import the namespace of System.Data.SqlClient. The System.Data.SqlClient namespace is the.NET Framework Data Provider for SQL Server. The.NET Framework Data Provider for SQL Server describes a ...
-
How to read data from an XML file and display it in a DataGrid?
VB.NET
dim ds as new DataSet()
ds.ReadXml (Server.MapPath ("products.xml"))
DataGrid1.DataSource =ds
DataGrid1.DataBind()
C#
DataSet ds= new DataSet ();
ds.ReadXml (Server.MapPath ("products.xml"));
DataGrid1.DataSource =ds;
DataGrid1.DataBind();
How ...
|
|
|