|
|
Browse by Tags
All Tags » VB.NET » C# (RSS)
-
This tutorial will show you how to share code between pages using ASP.NET 2.0 and VB.NET.
Although you can place code inside each page within your site (using the inline or code-behind separation models described in the previous section), there are times when you will want to share code across several pages in your site. It would be inefficient ...
-
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 ...
|
|
|