Click here to Skip to main content
15,914,010 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Navigation Panel Pin
Joshua Quick13-Feb-06 11:26
Joshua Quick13-Feb-06 11:26 
GeneralRe: Navigation Panel Pin
Mekong River13-Feb-06 14:46
Mekong River13-Feb-06 14:46 
Questionconvert date to string Pin
ssfargade13-Feb-06 10:17
ssfargade13-Feb-06 10:17 
AnswerRe: convert date to string Pin
Joshua Quick13-Feb-06 11:17
Joshua Quick13-Feb-06 11:17 
AnswerRe: convert date to string Pin
eagertolearn14-Feb-06 7:00
eagertolearn14-Feb-06 7:00 
Questiondatagrid visualization problem Pin
Marc Soleda13-Feb-06 9:17
Marc Soleda13-Feb-06 9:17 
AnswerRe: datagrid visualization problem Pin
Marc Soleda13-Feb-06 9:47
Marc Soleda13-Feb-06 9:47 
QuestionVB.NET Windows Form Reading Excel dumping data into SQL server Pin
culbysl13-Feb-06 9:15
culbysl13-Feb-06 9:15 
I situation is I need to pull the data from an Excel Spreadsheet and Insert it into a SQL Server DB.

connecting excel via OleDb connection:
strExCN = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & FileName & ";Extended Properties=""Excel 8.0;HDR=Yes;IMEX=1"""

which is connecting as it should.

I hope someone can lend a hand on this. I can open the excel file and begins to read but when I come across an empty file I get a dbNull error.
I have changed my select statement from
"select * from [worksheet$]" to
"select isnull(ColumnName, '') from [worksheet$]" and now am receiving and error saying
OleDbException was unhandled

Wrong number of arguments used with function in query expression 'IsNull('Column Name', '')'.

Any help on this error would be wonderful. Thanks in advance

culby sl
AnswerRe: VB.NET Windows Form Reading Excel dumping data into SQL server Pin
Dave Kreskowiak14-Feb-06 8:28
mveDave Kreskowiak14-Feb-06 8:28 
QuestionGenerate PDF report Pin
eagertolearn13-Feb-06 7:54
eagertolearn13-Feb-06 7:54 
AnswerRe: Generate PDF report Pin
malharone13-Feb-06 8:28
malharone13-Feb-06 8:28 
GeneralRe: Generate PDF report Pin
eagertolearn14-Feb-06 6:58
eagertolearn14-Feb-06 6:58 
AnswerRe: Generate PDF report Pin
Mekong River13-Feb-06 14:50
Mekong River13-Feb-06 14:50 
QuestionICustomFormatter and IFormattable Pin
Jason McBurney13-Feb-06 5:36
Jason McBurney13-Feb-06 5:36 
AnswerRe: ICustomFormatter and IFormattable Pin
Dave Kreskowiak14-Feb-06 8:17
mveDave Kreskowiak14-Feb-06 8:17 
Questionabout menu?can anybody help me? Pin
flashmemory13-Feb-06 5:34
flashmemory13-Feb-06 5:34 
AnswerRe: about menu?can anybody help me? Pin
malharone13-Feb-06 7:26
malharone13-Feb-06 7:26 
Questionreading third party Snap-in information in MMC programatically Pin
krompo13-Feb-06 4:34
krompo13-Feb-06 4:34 
Question[datagrid/winforms] create column with custom control in every row Pin
Y3PP3R13-Feb-06 4:14
Y3PP3R13-Feb-06 4:14 
QuestionHow to add application to Windows Scheduler? Pin
.NetRams13-Feb-06 1:32
.NetRams13-Feb-06 1:32 
AnswerRe: How to add application to Windows Scheduler? Pin
Tim Carmichael13-Feb-06 3:14
Tim Carmichael13-Feb-06 3:14 
AnswerRe: How to add application to Windows Scheduler? Pin
Dave Kreskowiak14-Feb-06 7:56
mveDave Kreskowiak14-Feb-06 7:56 
QuestionRDA Help... Pin
UniBond13-Feb-06 1:22
UniBond13-Feb-06 1:22 
QuestionScheduler Application in VB.Net. Pin
.NetRams12-Feb-06 23:45
.NetRams12-Feb-06 23:45 
AnswerRe: Scheduler Application in VB.Net. Pin
mgilmore13-Feb-06 13:43
mgilmore13-Feb-06 13:43 

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.