Viewing 7 posts - 1 through 7 (of 7 total)
Duh, I just found it.
Seems I thought I was creating all my SQL command param objects up in sub Main but turns out I wasnt so when I went to...
May 10, 2006 at 2:59 pm
Ah, OK.
I wrapped the offending line with Try-catch and here's what I caught:
Try
objDataAdapter.Fill(objDataSet, "ExpenseReport")
Catch ex As Exception
Console.WriteLine(ex.Message)
End...
May 10, 2006 at 11:24 am
OK, let me describe what I'm trying to do a little better...
This is a VB.Net 2003 app that talks to MS SQL server using ADO.NET and bound controls.
Its an expense...
May 9, 2006 at 6:40 am
Yea, I tried those....
Basically, I tried the following dataset methods...
dataset.table("tablename").clear()
dataset.table("tablename").reset()
dataset.table.remove("tablename")
I'm still stumped... The really odd thing is that when I look at the dataset in the debugger I can see...
May 8, 2006 at 11:12 am
Thanks, it did.
The tricky part was understanding that you only need to add parameters once when the example in the book added them every time. Of course, the book example...
April 25, 2006 at 6:57 am
Ah, I C said the programmer. 😉
So what you're telling me is that unlike other DBs like mySQL, and Access, which have their own seperate user security system totally seperate...
March 14, 2006 at 2:00 pm
This is a cookie cutter example from O'Reilly's "Transact-SQL Programming" book.
bcp pubs..authors out authors.txt -Usa -P -Slocalhost -c
Its supposed to copy the contents of the authors table from the pubs...
March 13, 2006 at 7:40 am
Viewing 7 posts - 1 through 7 (of 7 total)