Click here to Skip to main content
15,895,606 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Question[Message Deleted] Pin
Rafone9-Sep-08 6:51
Rafone9-Sep-08 6:51 
AnswerRe: Arrays in VB Pin
Gregory Gadow9-Sep-08 7:41
Gregory Gadow9-Sep-08 7:41 
AnswerRe: Arrays in VB Pin
Rafone9-Sep-08 8:35
Rafone9-Sep-08 8:35 
GeneralRe: Arrays in VB Pin
Gregory Gadow9-Sep-08 12:03
Gregory Gadow9-Sep-08 12:03 
AnswerRe: Arrays in VB Pin
Rafone9-Sep-08 12:03
Rafone9-Sep-08 12:03 
QuestionImporting XLS file to DataTable Pin
Codemonkey859-Sep-08 5:10
Codemonkey859-Sep-08 5:10 
AnswerRe: Importing XLS file to DataTable Pin
dan!sh 9-Sep-08 5:30
professional dan!sh 9-Sep-08 5:30 
GeneralRe: Importing XLS file to DataTable Pin
Codemonkey859-Sep-08 5:36
Codemonkey859-Sep-08 5:36 
Whoops!

Imports Microsoft.Office.Interop
Imports System.Runtime.InteropServices
Imports Microsoft
Imports System.Data
Imports System.Data.OleDb

Public Class Form1
    Dim WithEvents xlBook As Excel.Workbook

    'DataTable:
    '104 Rows
    '91 Columns
    '*****************************
    Dim ItemDataTable As DataTable
    '*****************************
    Dim con As OleDbConnection
    Dim da As OleDbDataAdapter
    Dim ds As New DataSet
    Dim fileName As String = ""
    Dim New_Column As DataColumn
    Dim New_Row As DataRow

    Dim ItemTable As New DataTable


Some of this stuff is unused in this example, like the OleDb stuff.

As I sit here, I contemplate the last words of Socrates: "I drank what?".

Pokémon Pearl Friend Code: 4554-2418-6836

GeneralRe: Importing XLS file to DataTable Pin
dan!sh 9-Sep-08 5:48
professional dan!sh 9-Sep-08 5:48 
GeneralRe: Importing XLS file to DataTable Pin
Codemonkey859-Sep-08 6:20
Codemonkey859-Sep-08 6:20 
GeneralRe: Importing XLS file to DataTable Pin
dan!sh 9-Sep-08 9:13
professional dan!sh 9-Sep-08 9:13 
GeneralRe: Importing XLS file to DataTable Pin
Codemonkey859-Sep-08 9:23
Codemonkey859-Sep-08 9:23 
AnswerRe: Importing XLS file to DataTable Pin
DrukenProgrammer9-Sep-08 8:58
DrukenProgrammer9-Sep-08 8:58 
GeneralRe: Importing XLS file to DataTable Pin
Codemonkey859-Sep-08 9:05
Codemonkey859-Sep-08 9:05 
GeneralRe: Importing XLS file to DataTable Pin
DrukenProgrammer9-Sep-08 9:12
DrukenProgrammer9-Sep-08 9:12 
GeneralRe: Importing XLS file to DataTable Pin
Codemonkey859-Sep-08 9:23
Codemonkey859-Sep-08 9:23 
GeneralRe: Importing XLS file to DataTable Pin
DrukenProgrammer9-Sep-08 9:34
DrukenProgrammer9-Sep-08 9:34 
GeneralRe: Importing XLS file to DataTable Pin
Codemonkey859-Sep-08 9:43
Codemonkey859-Sep-08 9:43 
Questionform name as a property of a custom control Pin
Randana9-Sep-08 4:38
Randana9-Sep-08 4:38 
AnswerRe: form name as a property of a custom control Pin
Manas Bhardwaj9-Sep-08 4:40
professionalManas Bhardwaj9-Sep-08 4:40 
GeneralRe: form name as a property of a custom control Pin
Randana9-Sep-08 4:45
Randana9-Sep-08 4:45 
AnswerWhy just the form name? Pin
Gregory Gadow9-Sep-08 8:05
Gregory Gadow9-Sep-08 8:05 
QuestionCreate a Semi Background Transparant Form Pin
pdnet9-Sep-08 3:58
pdnet9-Sep-08 3:58 
AnswerRe: Create a Semi Background Transparant Form Pin
Manas Bhardwaj9-Sep-08 4:13
professionalManas Bhardwaj9-Sep-08 4:13 
GeneralRe: Create a Semi Background Transparant Form Pin
pdnet9-Sep-08 19:15
pdnet9-Sep-08 19:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.