We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Dim gv As New GridView() Dim DBConnection = New OleDbConnection( _ "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\ExcelFiles\test.xls;" & _ "Extended Properties=Excel 8.0;") DBConnection.Open() Dim SQLString As String = "SELECT * FROM [test$]" Dim DBCommand = New OleDbCommand(SQLString, DBConnection) Dim DBReader As Data.IDataReader = DBCommand.ExecuteReader() gv.DataSource = DBReader gv.DataBind() DBReader.Close() DBConnection.Close()
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|VB.net SQLCommandBuilder Insert New Records From DataGridView||3||31|
|Easy filter aspnet||2||34|
|Visual C# Windows Project - Clone Form||4||19|