Posted on: 12/22/2012 5:26:46 AM | Views : 1075

I have created code to
Create a database, create a table, write to the table read from the table. However the reading code errors out because of no data to read. Could someone check out the code and let me know where I have gone wrong?

CREATE DATABASE ---------------------------------------------------------------------- using System; using System.Text; using System.Data; using System.Data.SqlClient; using System.IO; namespace FilesAndDatabase {     public sealed class CreateDatabase     {         public CreateDatabase()         {             if (!Directory.Exists(@"c:\NewDatabase\"))             {         ...

Go to the complete details ...