... expand it, you will see that it contains a file called AssemblyInfo.cs AssemblyInfo.cs is a special file that you can use to add attributes to a program, such as the name of the author, the date ... Location field, type C:\Documents and Settings\YourName\My Documents\Microsoft Press \Visual CSharp Step by Step\Chapter Replace the text YourName in this path with your Windows user name To save ... author, the date the program was written, and so on There are additional attributes that you can use to modify the way in which the program will run These attributes are outside the scope of this...
Ngày tải lên: 26/01/2014, 13:20
... what’s new in version 2.0 Read Chapter Familiar with Scrum and Visual Studio and only want to learn how to setup and manage a Product Backlog Read Chapters and Familiar with Scrum and Visual Studio ... The team members are Anna, Art, v Dave, ieter, Raj, Toni, and Wade Art and Anna have architecture, design, and some C# experience D Dave, Wade, and Raj have solid C# experience Raj and Dieter ... cautions against teams that try to always start a Sprint on a given day The team can inadvertently give the day more importance than having a fixed Sprint length For example, if a oliday falls...
Ngày tải lên: 05/05/2014, 12:14
parallel programming with microsoft visual studio 2010 step by step
... there are formulas for calculating speedup One such formula is Amdahl’s Law Gene Amdahl created Amdahl’s Law in 1967 to calculate maximum speedup for parallel applications Amdahl’s Law Amdahl’s Law ... Task.WaitAll waits for all tasks to complete Task.WaitAny returns when any of the referenced tasks have completed Both methods accept an array of tasks as a parameter Both Task.WaitAll and Task.WaitAny ... goals are to ensure that tasks adhering to this pattern are thread safe and that the application remains scalable When possible, tasks should consume thread-local data Thread-local data is private...
Ngày tải lên: 01/08/2014, 16:45
mastering web development with microsoft visual studio 2005 (2005)
... create At the same time, the user gains full access to the functionality a SmartTag can provide For example, when a Web page contains a stock symbol, a special SmartTag provides information about ... a group of Web pages must have and then use that page as a means of starting all of the pages on a Web site A theme contains graphical and structural elements that define a basic concept for ... information in a central location The folder also contains configuration options that affect what happens when you build and run your application For example, instead of having Visual Studio ask...
Ngày tải lên: 26/10/2014, 20:37
KẾT CẤU MỚI THE ENVIRONMENTAL CONSEQUENCES OF A BUILDING WITH A WIDE SPAN
... like a camera with a variable aperture pupil to control the amount of light entering and with a light sensitive membrane retina to generate signals which are focused and transmitted to the brain ... a really clever solution So a wide span, single storey building can easily provide adequate light A light transparency of to 25% is feasible and provides adequate light A lighting strategy can ... CONDENSATION I have started with crude warm air heating because I believe it is suitable for large open space of indeterminate use Of course, radiant heat has its advocates for tall spaces I...
Ngày tải lên: 09/06/2015, 17:22
Client Side Reporting with Visual Studio in S Sharp
... However, the data table structure inside the dataset can have additional columns that are different than the data source Such columns are manipulated and filled with data programmatically at run time ... United States of America Trademarked names may appear in this book Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and ... to connect to a variety of data sources ranging from sophisticated relational databases to file-based text data You can learn more about ADO.NET and DataSet in Chapter s Note It is a common misconception...
Ngày tải lên: 20/08/2012, 13:42
apress introducing dot net 4.0 with visual studio 2010
... Printed and bound in the United States of America Trademarked names may appear in this book Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an ... Sebastian Lambla, Dane Morgridge, Barry Dorrans, Craig Murphy, Julie Lerman, Daniel Moth, Danny Shih, Shawn Farkas, Chris Hay, Phil Winstanley, David Sussman, Michael Foord, Jonathan Keen, Gabriel ... class stub creation, call hierarchy, and quick search; we will look at these features in Chapter There are also some great language enhancements that can make code cleaner, such as optional and...
Ngày tải lên: 06/08/2013, 17:29
Accessing a database using visual studio NET
... connected to the database, you can view things such as the tables You can also retrieve and modify rows in the tables You can drill down to the tables in the database by clicking the Add icon in the ... selected the ContactName, CompanyName, and CustomerID columns from the Customers table Figure 3.29: Building a SQL statement visually You can view the properties of a column in a table by clicking ... Entering a SQL statement You can build SQL statements visually by clicking the Show Diagram button in the toolbar and selecting columns from the table, as shown in Figure 3.29 As you can see,...
Ngày tải lên: 20/08/2013, 15:08
Creating a dataview using visual studio NET
... 14 // 15 InitializeComponent(); 16 17 // call the Fill() method of sqlDataAdapter1 18 // to populate dataSet11 with a DataTable named 19 // Customers 20 sqlDataAdapter1.Fill(dataSet11, "Customers"); ... data stored in dataView1 to dataGrid1 and allows dataGrid1 to access any data stored in dataView1 Figure 13.2: Setting the Properties of dataGrid1 Select View ➣ Code and set the Form1() ... "Customers"); 21 } Compile and run your form by pressing Ctrl+F5 Figure 13.3 shows the running form Notice that the information in the form comes from the DataView you created Figure 13.3: The running...
Ngày tải lên: 20/08/2013, 16:48
Defining a relationship using visual studio NET
... (used to access the Northwind database), sqlDataAdapter1 (used to handle access to the Customers table), and sqlDataAdapter2 (used to handle access to the Orders table) These objects are shown ... tray beneath the form Next, you need a DataSet object that contains DataTable objects to store the rows from the Customers and Orders tables To create a DataSet object, click your blank form and ... this dialog in their default state Figure 12.5: The Generate Dataset dialog box Notice that a new DataSet is to be created, and the Customers and Orders tables are used in the new DataSet The...
Ngày tải lên: 20/08/2013, 16:48
Reporting with Visual Studio 2008 Web Forms.
... REPORTING WITH VISUAL STUDIO 2008 WEB FORMS Step 1: Creating a Data Table Use the following steps to add a data table inside the dataset: You can go to the dataset designer in two ways: double-click ... it, and selecting Add ® New Item ® Dataset Please name the dataset dsProductDrilldown You’ll notice that Visual Studio will ask you to put the dataset inside the App_Code folder; go ahead and ... this example is the same ADO.NET interface we have used so far We connect to the database and execute the query to gather the data Once data is collected inside the dataset, we bind the dataset...
Ngày tải lên: 05/10/2013, 08:48
Reporting with Visual Studio 2008 Windows Forms
... adding the dataset and ReportViewer Step 1: Creating a Data Table Since we already have the dataset in the project, it’s time to add a data table to it Please use the following steps to add a ... Designer Let’s add the data table by right-clicking the design surface and selecting Add ® DataTable Click the header of the newly created data table, and name it dtProductProfit Let’s start adding columns ... and layout, we must select the data source and click the Next button (see Figure 14-16) You will see that a dataset will appear with the data table inside, like when we manually create the dataset...
Ngày tải lên: 05/10/2013, 08:48
Using a DataReader Object in Visual Studio .NET
... System.Data.SqlClient.SqlDataReader mySqlDataReader = sqlCommand1.ExecuteReader(); while (mySqlDataReader.Read()) { listView1.Items.Add(mySqlDataReader["CustomerID"].ToString()); listView1.Items.Add(mySqlDataReader["CompanyName"].ToString()); ... SqlDataReader object to a string Also notice you include the namespace when referencing the SqlDataReader class: you use System.Data.SqlClient SqlDataReader when creating the SqlDataReader object ... listView1.Items.Add(mySqlDataReader["CompanyName"].ToString()); listView1.Items.Add(mySqlDataReader["ContactName"].ToString()); } mySqlDataReader.Close(); sqlConnection1.Close(); } Notice you add an item to the ListView...
Ngày tải lên: 07/11/2013, 10:15
Tài liệu Accessing a Database Using Visual Studio .NET ppt
... connected to the database, you can view things such as the tables You can also retrieve and modify rows in the tables You can drill down to the tables in the database by clicking the Add icon in the ... selected the ContactName, CompanyName, and CustomerID columns from the Customers table Figure 3.29: Building a SQL statement visually You can view the properties of a column in a table by clicking ... Entering a SQL statement You can build SQL statements visually by clicking the Show Diagram button in the toolbar and selecting columns from the table, as shown in Figure 3.29 As you can see,...
Ngày tải lên: 14/12/2013, 13:15
Tài liệu Creating a Command Object Using Visual Studio .NET docx
... here Add the 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 ... continue The CommandText property of your SqlCommand object is then set to the SELECT statement you created in Query Builder Note Save your MyDataReader project by selecting File ➣ Save All You'll ... CompanyName, and ContactName columns from the Customers table You'll construct this SELECT statement using Query Builder To get started, click the ellipsis button to the right of the CommandText...
Ngày tải lên: 21/01/2014, 07:20
Tài liệu Creating a Connection Object Using Visual Studio .NET pdf
... security reasons, not enable the Allow Saving Password check box If you did, your password would be stored in the actual code, and anyone could get your password from the code Leave Allow Saving Password ... Entering the advanced connection details You can also click the All tab to view and edit all the values for the connection, as shown in Figure 7.5 To edit a value, you click Edit Value Figure ... the SQL Server Northwind database is set to data source=localhost;initial catalog=Northwind;persist security info=False; user id=sa;pwd=sa;workstation id=JMPRICE-DT1;packet size=4096 Note The...
Ngày tải lên: 21/01/2014, 07:20
Tài liệu Creating a DataAdapter Object Using Visual Studio .NET doc
... UPDATE, and DELETE statements along with the table mappings Figure 10.12 shows the final dialog box for the Data Adapter Configuration Wizard Figure 10.12: Final dialog box for the Data Adapter ... This link allows you to re-enter the Wizard to configure your DataAdapter Generate Dataset This link allows you to generate a DataSet object using the information set for your DataAdapter You'll ... for the sqlDataAdapter1 object When you're ready, select File ➣ Save All Note Don't bother running your project yet because you'll add a DataSet that will be populated using your DataAdapter in...
Ngày tải lên: 21/01/2014, 07:20
Tài liệu Creating a DataSet Object Using Visual Studio .NET docx
... sqlDataAdapter1.Fill(dataSet11, "Products"); sqlConnection1.Close(); System.Data.DataTable myDataTable = dataSet11.Tables["Products"]; foreach (System.Data.DataRow myDataRow in myDataTable.Rows) ... DataSet object in the tray Your next step is to set the Form1_Load() method of your form as follows: private void Form1_Load(object sender, System.EventArgs e) { sqlConnection1.Open(); sqlDataAdapter1.Fill(dataSet11, ... myDataTable.Rows) { listView1.Items.Add(myDataRow["ProductID"].ToString()); listView1.Items.Add(myDataRow["ProductName"].ToString()); listView1.Items.Add(myDataRow["UnitPrice"].ToString()); } }...
Ngày tải lên: 21/01/2014, 07:20
Tài liệu Creating a DataView Using Visual Studio .NET pptx
... 14 // 15 InitializeComponent(); 16 17 // call the Fill() method of sqlDataAdapter1 18 // to populate dataSet11 with a DataTable named 19 // Customers 20 sqlDataAdapter1.Fill(dataSet11, "Customers"); ... data stored in dataView1 to dataGrid1 and allows dataGrid1 to access any data stored in dataView1 Figure 13.2: Setting the Properties of dataGrid1 Select View ➣ Code and set the Form1() ... "Customers"); 21 } Compile and run your form by pressing Ctrl+F5 Figure 13.3 shows the running form Notice that the information in the form comes from the DataView you created Figure 13.3: The running...
Ngày tải lên: 21/01/2014, 07:20