Click here to Skip to main content
16,006,355 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Numerical accuracy in calculation Pin
Andy_L_J10-Oct-09 23:11
Andy_L_J10-Oct-09 23:11 
GeneralRe: Numerical accuracy in calculation Pin
A.Najafi11-Oct-09 0:13
A.Najafi11-Oct-09 0:13 
GeneralRe: Numerical accuracy in calculation Pin
Andy_L_J11-Oct-09 0:34
Andy_L_J11-Oct-09 0:34 
GeneralRe: Numerical accuracy in calculation Pin
A.Najafi11-Oct-09 1:42
A.Najafi11-Oct-09 1:42 
GeneralRe: Numerical accuracy in calculation Pin
Dave Kreskowiak11-Oct-09 6:57
mveDave Kreskowiak11-Oct-09 6:57 
GeneralRe: Numerical accuracy in calculation Pin
Luc Pattyn11-Oct-09 8:13
sitebuilderLuc Pattyn11-Oct-09 8:13 
Questioninserting input into matlab and run m-file from vb Pin
waiting 4 some110-Oct-09 21:17
waiting 4 some110-Oct-09 21:17 
QuestionHow to add headings to a dataset Pin
Dhruva Hein10-Oct-09 9:27
Dhruva Hein10-Oct-09 9:27 
I'm building a dataset by querying several different Oracle tables with the same query.

I want to output the dataset to an Excel file with a separate heading for the results from each Oracle table.

To do this, so far I've added a 'Heading" column to the datatable, but I can't figure out how to fill that column to identify the datarows that came from each Oracle table.

If anyone can shed some light on this it would be appreciated.

For i = 0 To 3

Try

CN = New OracleConnection("Data Source=xe;User Id=" & Username(i) & ";Password=" & Password(i))

'create the dataadapter object

Dim adp As New OracleDataAdapter(SQL(i), CN)

adp.Fill(ds)

If i = 0 Then

ds.Tables(0).Columns.Add("Headings")

End If
AnswerRe: How to add headings to a dataset Pin
Henry Minute10-Oct-09 11:18
Henry Minute10-Oct-09 11:18 
GeneralRe: How to add headings to a dataset Pin
Dhruva Hein10-Oct-09 12:49
Dhruva Hein10-Oct-09 12:49 
GeneralRe: How to add headings to a dataset Pin
Henry Minute10-Oct-09 13:38
Henry Minute10-Oct-09 13:38 
GeneralRe: How to add headings to a dataset Pin
Dave Kreskowiak10-Oct-09 16:15
mveDave Kreskowiak10-Oct-09 16:15 
QuestionOpen File with my application Pin
Anubhava Dimri10-Oct-09 0:24
Anubhava Dimri10-Oct-09 0:24 
AnswerRe: Open File with my application Pin
Steven J Jowett10-Oct-09 0:41
Steven J Jowett10-Oct-09 0:41 
QuestionNeed Help Pin
Purish Dwivedi9-Oct-09 22:53
Purish Dwivedi9-Oct-09 22:53 
AnswerRe: Need Help PinPopular
Andy_L_J9-Oct-09 23:03
Andy_L_J9-Oct-09 23:03 
GeneralRe: Need Help Pin
Mycroft Holmes10-Oct-09 1:26
professionalMycroft Holmes10-Oct-09 1:26 
GeneralRe: Need Help Pin
Richard MacCutchan10-Oct-09 2:48
mveRichard MacCutchan10-Oct-09 2:48 
Questionmouse over form border event problem Pin
faith4ever4u9-Oct-09 12:12
faith4ever4u9-Oct-09 12:12 
AnswerRe: mouse over form border event problem Pin
Dave Kreskowiak9-Oct-09 12:20
mveDave Kreskowiak9-Oct-09 12:20 
GeneralRe: mouse over form border event problem Pin
faith4ever4u10-Oct-09 0:46
faith4ever4u10-Oct-09 0:46 
QuestionConvert Little Endian code to ASCII Pin
IvanIT9-Oct-09 6:23
IvanIT9-Oct-09 6:23 
AnswerRe: Convert Little Endian code to ASCII Pin
Luc Pattyn9-Oct-09 7:31
sitebuilderLuc Pattyn9-Oct-09 7:31 
GeneralRe: Convert Little Endian code to ASCII Pin
IvanIT9-Oct-09 8:22
IvanIT9-Oct-09 8:22 
GeneralRe: Convert Little Endian code to ASCII Pin
Luc Pattyn9-Oct-09 8:33
sitebuilderLuc Pattyn9-Oct-09 8:33 

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.