Welcome to AspAdvice Sign in | Join | Help

Loading a dBase/Excel table into a GridView Control in ASP.NET 2.0

To load a dBase table using the AccessDataSource control use the following:
DataFile="data;extended properties=dBase IV"
SelectCommand="select * from [ACCOUNTS.dbf]"

To load an Excel worksheet using the AccessDataSource control use the following:
DataFile="data\ACCOUNTS.xls;extended properties=Excel 8.0"
SelectCommand="select * from [ACCOUNTS$]"

 

Sponsor
Published Friday, October 22, 2004 7:50 AM by andrewmooney

Comments

# Web 2.0 » Blog Archives » DBase III. DBASE IV. DBase V. DEZ. DataEase

# Web 2.0 » Blog Archives » dBase functions. DBM Functions. dbx functions. DB++ Functions

# Web 2.0 » Blog Archives » IBPhoenix is a web site and organization that

# Web 2.0 » Blog Archives » To load a dBase table using the AccessDataSource

# DBF and ASP.NET | keyongtech

Thursday, January 22, 2009 1:44 AM by DBF and ASP.NET | keyongtech
Anonymous comments are disabled