2010-09-14, 07:54 AM
My limited knowledge has me stumped...
What the equivalent NPVR code for this GBPVR code? I've tried various combinations of the methods available in the DatabaseHelperFactory but no joy to date:confused:
Is the ConnectionString = "Data Source=\""+NUtility.SettingsHelper.GetInstance().GetDataDirectory()+"npvr.db3\";Version=3;";
What the equivalent NPVR code for this GBPVR code? I've tried various combinations of the methods available in the DatabaseHelperFactory but no joy to date:confused:
Code:
SQLiteConnection connection;
connection = (SQLiteConnection)DatabaseHelperFactory.getDbProviderFactory().CreateConnection();
connection.ConnectionString=GBPVRInfo.GBPVRDBConnectionString;
connection.Open();
SQLiteCommand command = connection.CreateCommand();
command.CommandText="select * from CHANNEL";
sqlite_datareader=command.ExecuteReader();
connection.Close();
Is the ConnectionString = "Data Source=\""+NUtility.SettingsHelper.GetInstance().GetDataDirectory()+"npvr.db3\";Version=3;";
[SIZE="1"]Silverstone GD01S-MXR (three dead rows of pixels in the LCD and defective remote control), Power: Zalman ZM460B-APS (blew up - can't remember what's there now); CPU: Pentium D 3.2 GHz with Asus V72 Cooler; MD: Asus P5LD2 Deluxe 2048MB,
WDC WD10EADS 1TB Data, 320GB System, Asus EN9400GT Silent 512MB, Hauppauge HVR 1300,
XP Home SP3, GB-PVR 2.0, ExternalDisplay v0.3[/SIZE]
WDC WD10EADS 1TB Data, 320GB System, Asus EN9400GT Silent 512MB, Hauppauge HVR 1300,
XP Home SP3, GB-PVR 2.0, ExternalDisplay v0.3[/SIZE]