Click here to Skip to main content
15,888,527 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Download Files Pin
Guffa19-Nov-06 23:58
Guffa19-Nov-06 23:58 
GeneralRe: Download Files Pin
softwarejaeger20-Nov-06 1:58
softwarejaeger20-Nov-06 1:58 
AnswerRe: update problem in datagrid when using SQL Server 2000 as Database Pin
Dave Kreskowiak18-Nov-06 5:24
mveDave Kreskowiak18-Nov-06 5:24 
QuestionI cant a Button control with two images status >> Pin
kindman_nb17-Nov-06 22:53
kindman_nb17-Nov-06 22:53 
AnswerRe: I want a Button control with two images status >> Pin
kindman_nb17-Nov-06 23:06
kindman_nb17-Nov-06 23:06 
AnswerRe: I cant a Button control with two images status >> Pin
Christian Graus17-Nov-06 23:07
protectorChristian Graus17-Nov-06 23:07 
AnswerRe: I cant a Button control with two images status >> Pin
MohammadAmiry17-Nov-06 23:07
MohammadAmiry17-Nov-06 23:07 
Questionvb.Net vs SQL Sever Datatypes Pin
RichardBerry17-Nov-06 21:48
RichardBerry17-Nov-06 21:48 
Hi
I need to add (INSERT) stock items to a SQL server Database of an ERP system. I import the new data from Excel and now need to change it to the correct data type before writing it to the server. In the ERP system documentation, for the stock table, they refer to 4 data types:

CHAR

INTEGER

DOUBLE

DATE

and after each data type, they have the length - E.g CHAR 3 for 3 charater text type field.


I have THREE questions
:

1) Is there a way to do a SELECT statement, use DataAdapter.Fill and DataAdapter.FillSchema, and then display the datatypes of each column (i.e like ...GetType.Name.ToString or something?)

2) Is there a way to use the type information returned from the DataAdapter to set/cast the type of the data Imported from Excel before writing the new data into the database.

3) What are the VB.Net equivalent datatypes for CHAR 3, INTEGER 4, DOUBLE 6 DATE 8 etc.

PS I'm not too phased about the DATE, since this does not apply to my import, so that one is only for interest sake (and I always seem to struggle with dates...)

Cheers
Richard
AnswerRe: vb.Net vs SQL Sever Datatypes Pin
RichardBerry17-Nov-06 22:53
RichardBerry17-Nov-06 22:53 
GeneralRe: vb.Net vs SQL Sever Datatypes Pin
Colin Angus Mackay19-Nov-06 2:39
Colin Angus Mackay19-Nov-06 2:39 
GeneralRe: vb.Net vs SQL Sever Datatypes Pin
RichardBerry19-Nov-06 21:15
RichardBerry19-Nov-06 21:15 
QuestionHow to make multi language interface program ?? Pin
kindman_nb17-Nov-06 20:46
kindman_nb17-Nov-06 20:46 
AnswerRe: How to make multi language interface program ?? Pin
MohammadAmiry17-Nov-06 23:11
MohammadAmiry17-Nov-06 23:11 
GeneralRe: How to make multi language interface program ?? Pin
kindman_nb17-Nov-06 23:48
kindman_nb17-Nov-06 23:48 
QuestionHow to find - Windows Applicatin Bootup Disk? Pin
Anandan k17-Nov-06 20:30
Anandan k17-Nov-06 20:30 
AnswerRe: How to find - Windows Applicatin Bootup Disk? Pin
Dave Kreskowiak18-Nov-06 5:22
mveDave Kreskowiak18-Nov-06 5:22 
AnswerHow to find - System Bootup Disk in Windows Application(XP)? Pin
Anandan k20-Nov-06 23:23
Anandan k20-Nov-06 23:23 
Questionproblem with windows service - msgbox problem Pin
BSRK17-Nov-06 19:08
BSRK17-Nov-06 19:08 
AnswerRe: problem with windows service - msgbox problem Pin
MatrixCoder19-Nov-06 22:09
MatrixCoder19-Nov-06 22:09 
QuestionHow do I delete all files in a folder? Pin
Code Crapper17-Nov-06 14:18
Code Crapper17-Nov-06 14:18 
AnswerRe: How do I delete all files in a folder? Pin
Christian Graus17-Nov-06 15:08
protectorChristian Graus17-Nov-06 15:08 
GeneralRe: How do I delete all files in a folder? Pin
Code Crapper18-Nov-06 12:36
Code Crapper18-Nov-06 12:36 
GeneralRe: How do I delete all files in a folder? Pin
Christian Graus18-Nov-06 12:55
protectorChristian Graus18-Nov-06 12:55 
AnswerRe: How do I delete all files in a folder? Pin
Janani Divya17-Nov-06 15:22
Janani Divya17-Nov-06 15:22 
AnswerRe: How do I delete all files in a folder? Pin
The ANZAC18-Nov-06 13:24
The ANZAC18-Nov-06 13:24 

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.