Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with Visual Studio Terminology 1

Status
Not open for further replies.

TimothyP

Programmer
Aug 6, 2002
135
US
Let's say I'm using Visual Studio to run a 'Select *' query against a SQL Server database.

It my understanding that this can be accomplished in one of two ways. (Probably more but stick with me)

Option A: Use the Visual Studio interface to drag and drop a SqlDataAdapter from the toolbox and configure the SqlDataAdapter, SqlConnection, and DataSet and their corresponding properties window using the Visual Studio interface.

Option B: Define all the objects within the code behind module. Here you would...

Code:
Dim objCommand    As SqlCommand
Dim objAdapter    As SqlDataAdapter
Dim objDataSet    As DataSet
Dim strSQLQuery   As String

Is there terminology that is used to differentiate Option A from Option B?

Thanks in advance,
Tim
 
Is the terminology different? No, the objects are the objects, it just depends on how you create them as you stated. So, differnt way, same objectes.
 
Thanks for your reply jbenson001.

I understand both options are doing the same things with the same objects.

I just didn't know if Option A had a term meaning using the Visual IDE (GUI), while Option B had a different term meaning configuring everything on the fly in the code-behind.
 
The only terminology that I would think differs between the two options, is that Option A uses a data Control whereas Option B uses data objects or classes.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top