Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > Sql Method calls
 

Sql Method calls

I have not had a chance ot look through the source code, however in the white paper there are calls to SqlHelper and instances of DataSetTasks...where are these types and methods defined? 

BTW, thanks for writing this in VB.NET.  Now the C# folks will know what our daily struggle is with all of the C# examples. 

 
MigrationUser 1  Wednesday, February 12, 2003 2:38 PM
I had the same question, but I have found the answer

The sqlhelper is part of ApplicationBlocks.

ApplicationBlocks is a class that Microsoft wrote. You can read more about this class and download it at:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/daab-rm.asp


The DatasetTasks --don't know. Maybe that's inside of AppBlocks also?

julie
MigrationUser 1  Wednesday, February 12, 2003 5:42 PM
You should get the source and take a look at it. There are quite a few "wrapper" classes encapsulating data access functionality. The code makes a very interesting read.

Clay
MigrationUser 1  Sunday, February 16, 2003 6:16 PM
I took a look thru them, its grim, I was trying to make it work on a server not on my local machine with a seperate Web Server, Client and SQL installation.

I had to change the security to pass the UID and password in, it failed to work, I later found I needed to change the setting PersistSecurity to make this work.

This is because The webservice passes a DBConnection object, but somewhere deep down in the calls it passes the connection string instead, then creates a new connection.  Why ?

Why create another connection, rather wastefull dont you think ?


PS.  Why cant I change my profile name in this forum thingy I typo'd it.
MigrationUser 1  Monday, February 17, 2003 8:11 AM

You can use google to search for other answers

Custom Search

More Threads

• When will Terrarium work with C# Express?
• VS 2005 Pro - How do I make my own control show move not resize handles?
• Localization form
• Latest download of C# Movie Collection Starter Kit did not have online search enabled
• TaskVision Source Code Installation Error
• Terrarium 1.2 strange error
• Did IssueVission run on SQL Server Express ?
• "Thought for too long"?
• Updating Data Bindings
• How come there is no download or synchronize option?