Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home >Search > Knowledge Base > Visual Basic.Net > Database > DataSet Object


Search:
What's New - What's Hot
How to: Turn Off Constraints While Filling a Dataset  Version: 0.00     Price: $0.00  
Total Hits: 60  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

If a dataset contains constraints (such as a foreign-key constraint) it is possible to cause exceptions to be thrown depending on the order of operations performed against the dataset. For example, loading child records before loading the related parent records can violate the constraint and cause an exception. As soon as you load a child record the constraint checks for the related parent record and raises an error. If there were no mechanism to allow temporary constraint suspension, an error w...

HOW TO: Roll Back Updates After an Error When You Are Using a DataAdapter and a DataSet (Q310351)      
Total Hits: 709  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

If your client application uses an ADO.NET DataSet object to store changes that are made to data or to add new records, you can use a Transaction object, a DataSet object, and a DataAdapter object to roll back any changes if an error occurs. If you use a CommandBuilder object to generate INSERT, UPDATE, and DELETE commands, you must set the Transaction property of the SELECT command of the DataAdapter....

How to: Fill a Dataset with Data  Version: 0.00     Price: $0.00  
Total Hits: 48  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

The phrase "filling a dataset with data" refers to loading data into the individual DataTable objects that make up the dataset. You fill the data tables by executing TableAdapter queries or by executing data adapter (for example, SqlDataAdapter) commands....

How to: Delete Records in a Database  Version: 0.00     Price: $0.00  
Total Hits: 22  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

To delete records from a database, use the TableAdapter.Update method or the TableAdapter.Delete method. Or, if your application does not use TableAdapters, you can use command objects to delete records from a database (for example, ExecuteNonQuery). The TableAdapter.Update method is typically used when your application uses datasets to store data, whereas the TableAdapter.Delete method is typically used when your application uses objects to store data....

How to populate a DataSet object from a database by using Visual Basic .NET     
Total Hits: 181  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

DataSet objects, a key part of data access in the Microsoft .NET Framework, are in-memory objects that can hold tables, views, and relationships. This article shows how to fill a DataSet object with the results of one or more database queries, and how to access that data after it is loaded into the DataSet object....

How to update a database from a DataSet object by using Visual Basic .NET     
Total Hits: 51  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

DataSet objects, a key part of data access in the Microsoft .NET Framework, are in-memory objects that can hold tables, views, and relationships. This article demonstrates how to take a DataSet that contains data (which is loaded from a database), modify that data, and then send it back to the database to update the original source....

How to marshal an object to a remote server by reference by using Visual Basic 2005 or Visual Basic .NET     
Total Hits: 99  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article demonstrates how to marshal an object by reference to a remote server. When you marshal an object by reference, the runtime creates a transparent proxy so that the server can make calls back to the object on the client. The only thing that is sent to the server is the proxy. The proxy marshals the call backs to the client....

How to find and use Office object model documentation     
Total Hits: 41  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes the resources and documentation available to you for automating Microsoft Office applications. This information can be applied regardless of the programming language you choose for automating an Office application. This article also illustrates how you can begin writing automation code by stepping you through the documentation to find the information you need to accomplish a specific task through automation....

HOW TO: Make a Typed DataSet Return a Default Value Instead of DBNull by Using Visual Basic .NET     
Total Hits: 365  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

This step-by-step article describes how to change the XML Schema file to make a typed DataSet return a default value instead of DBNULL. Visual Studio .NET may return an exception if the value of a DataRow is DBNULL, so you must handle the exception properly for values that are DBNULL. If you modify the default value for DBNULL fields, you can retrieve a value you specify other than DBNULL....

HOW TO: Transform a DataSet to Spreadsheet XML for Excel by Using Visual Basic .NET and ASP .NET (Q319180)     
Total Hits: 3351  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

This step-by-step article describes how to transform a DataSet to Spreadsheet XML that can be rendered in Excel. The Excel Spreadsheet XML format supports element tags and attributes for Excel functionality such as multi-sheet workbooks, formulas, and cell formatting....

HOW TO: Fill a DataSet from a Data Source and Update Another Data Source Using Visual Basic .NET (Q310347)      
Total Hits: 1465  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

ADO.NET provides new flexibility in how you update your data source. This article describes how you can update a data source that is different from the original data source that you use to create the DataSet object....

HOW TO: Read XML Data into a DataSet Using Visual Basic .NET (Q309702)      
Total Hits: 682  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article demonstrates how to read Extensible Markup Language (XML) data into an ADO.NET DataSet object....

HOW TO: Retrieve DataView of a Windows Forms Bound Control in Visual Basic .NET      
Total Hits: 1276  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes how to retrieve a DataView object from a Windows Forms bound control.To bind a data source to a Windows Forms control, you can code it yourself or use design-time binding. When the binding occurs at design time, you may need to access the DataView that the bound control uses. However, the DataView is not exposed by default in design-time binding....

HOW TO: Update a Database from a DataSet Object by Using Visual Basic .NET     
Total Hits: 3267  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

DataSet objects, a key part of data access in the Microsoft .NET Framework, are in-memory objects that can hold tables, views, and relationships. This article demonstrates how to take a DataSet that contains data (which is loaded from a database), modify that data, and then send it back to the database to update the original source....

How to: Commit Changes in a Dataset  Version: 0.00     Price: $0.00  
Total Hits: 38  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

As you make changes to records in a dataset by updating, inserting, and deleting records, the dataset maintains original and current versions of the records. In addition, each row's RowState property keeps track of whether the records are in their original state or have been updated, inserted, or deleted. This information is useful when you need to find a particular version of a row. Typically, you would get a subset of all changed records to send to another process. For more information, see Ho...

How to: Commit In-Process Edits on Data-Bound Controls Before Saving Data  Version: 0.00     Price: $0.00  
Total Hits: 43  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

When editing values in data-bound controls, users must navigate off the current record to commit the updated value to the underlying data source that the control is bound to. When you drag items from the Data Sources Window onto a form, the first item that you drop generates code into the save button click event of the BindingNavigator. This code calls the EndEdit method of the BindingSource. Therefore, the call to the EndEdit method is generated only for the first BindingSource that is added to...

HOW TO: Fill a DataSet from a Data Source and Update Another Data Source by Using Visual Basic .NET     
Total Hits: 274  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

ADO.NET provides new flexibility in how you update your data source. This article describes how you can update a data source that is different from the original data source that you use to create the DataSet object. Earlier versions of Microsoft ActiveX Data Objects (ADO) allow you to update records in a data source other than the original data source of those records, though this is difficult to do. Because ADO.NET is a truly disconnected model and because ADO.NET introduces the DataAdapter obj...

How to populate a DataSet object from a database by using Visual Basic .NET     
Total Hits: 143  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

DataSet objects, a key part of data access in the Microsoft .NET Framework, are in-memory objects that can hold tables, views, and relationships. This article shows how to fill a DataSet object with the results of one or more database queries, and how to access that data after it is loaded into the DataSet object....

How To Update a SQL Server Database by Using the SqlDataAdapter Object in Visual Basic .NET     
Total Hits: 105  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article contains Microsoft Visual Basic .NET code samples that demonstrate how to use the SqlDataAdapter object to update a SQL Server database with data modifications that are run on a DataSet object that is populated with data from a table in the database....

How To Persist an ADO.NET DataSet as XML by Using Visual Basic .NET     
Total Hits: 116  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article demonstrates how to persist an ADO.NET DataSet object to XML.
The following list outlines the recommended hardware, software, network infrastructure, and service packs that you need:
• Microsoft Windows 2000 Professional, Windows 2000 Server, Windows 2000 Advanced Server, or Windows NT 4.0 Server
• Microsoft Visual Studio .NET
This article assumes that you are familiar with the following topics:
• Visual Studio .NET
• ADO.NET fundamentals and syntax
• XML fundam...


1  2  Next >> 


Disclaimer - Privacy
© 2002-2012 DevASP.net