This page provides a simple example of how to query an Excel spreadsheet
from an ASP.NET page using either C# or VB.NET. Check it out!
This code was written in response to a message posted on one of
Charles Carroll''s ASP.NET lists. You can sign up for one or all
of the lists here.
Here is the code:
<%@ Page Language="VB" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.Oledb" %>
C# Syntax
<%@ Page Language="C#" %>
<%@ Import Namespace="System.Data.OleDb" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System" %>
Tidak ada komentar:
Posting Komentar