... Creating a Command Object Using Visual Studio .NET To create a SqlCommand object using Visual Studio .NET (VS .NET), you drag a SqlCommand object from the Data tab of the Toolbox ... CustomerID, CompanyName, and ContactName columns using Query Builder, as shown in Figure 8.3. Figure 8.3: Adding the CustomerID, CompanyName, and ContactName columns to the query using Query ... project named MyDataReader containing a Windows application. 2. Add a SqlConnection object to your project (refer back to the previous chapter to see how to add a SqlConnection object using VS .NET)....