We're building a brand new version of the site, and we'd love to hear your ideas
Members
Technology Zones
IBM Learning Center
Articles
Hosted By
Info
|
Sample Code  -
ADO.NET 2 has new classes that makes it quite easy to write data-programs independent of the database engine. Learn how here..  -
This is some code I wrote a little while back as an example O/R mapper..  -
You can save code by piling SQL statements into one SqlCommand and then getting a DataReader with multiple result sets. .  -
Demonstrates how to connect to a MySQL database with C#..  -
Complex Data Binding a collection implementing IBindingList and ITypedList.  -
Demonstrates how Databind the SqlTypes using the PropertyDescriptor class and the ITypedList Interface..  -
This code shows you how to delete records with an SQL statement and get the number of records deleted returned back as an integer..  -
Since a connection cannot be used until a DataReader has been closed, it is quite often necessary to read the results of a DataReader into an array, then close the DataReader, then you can process the data in the array while you use the connection for something else. This shows you how..  -
Just supply your database connection string and this code will give you a radio button list of all your SQL Server tables and will show their fields. . 
|
Search
Code Samples
New Members
|