Click here to Skip to main content
15,900,378 members
Home / Discussions / Database
   

Database

 
QuestionNull value Pin
Icarus12326-Mar-07 1:44
Icarus12326-Mar-07 1:44 
AnswerRe: Null value Pin
szukuro26-Mar-07 2:49
szukuro26-Mar-07 2:49 
QuestionDatabase Attach error Pin
samerh26-Mar-07 0:39
samerh26-Mar-07 0:39 
QuestionNeed query............. [modified] Pin
Member 387988125-Mar-07 20:53
Member 387988125-Mar-07 20:53 
AnswerRe: Need query............. Pin
Harini N K25-Mar-07 22:07
Harini N K25-Mar-07 22:07 
GeneralRe: Need query............. Pin
N a v a n e e t h25-Mar-07 22:34
N a v a n e e t h25-Mar-07 22:34 
GeneralRe: Need query............. Pin
PlayByTheRules26-Mar-07 0:17
PlayByTheRules26-Mar-07 0:17 
QuestionHow to create an new database by using XSD Schemas? Pin
Gywox24-Mar-07 17:24
Gywox24-Mar-07 17:24 
Hi Everyone!
I'm trying to create a new database file from XSD schema and then populate the empty SQL database with a DataSet. The major problem is to create a table from XSD schema file. I'm using SQL Server 2005 Compact Edition and VS 2005.

File.Delete("Test.sdf");
string connString = "Data Source='Test.sdf'; LCID=1033; Password=\"s$;2'!dS64\"; Encrypt = TRUE;";
SqlCeEngine engine = new SqlCeEngine(connString);
engine.CreateDatabase();
engine.Dispose();
SqlCeConnection conn = new SqlCeConnection(connString);
conn.Open();

DataSet dbSet = new DataSet("myDataSet");
dbSet.ReadXmlSchema("myData.xsd");
dbSet.EnforceConstraints = false;
dbSet.ReadXml("myData.xml");

// Create SQL Tables and Insert Data ?!
...

conn.Close();


Any help would be greatly appreciated.
Gywox


-- modified at 10:34 Thursday 29th March, 2007
Questionhow to make PC2 access the Database in PC1 Pin
marwan_siala23-Mar-07 23:07
marwan_siala23-Mar-07 23:07 
AnswerRe: how to make PC2 access the Database in PC1 Pin
Colin Angus Mackay24-Mar-07 3:48
Colin Angus Mackay24-Mar-07 3:48 
GeneralRe: how to make PC2 access the Database in PC1 Pin
marwan_siala24-Mar-07 5:23
marwan_siala24-Mar-07 5:23 
GeneralRe: how to make PC2 access the Database in PC1 Pin
Colin Angus Mackay24-Mar-07 5:28
Colin Angus Mackay24-Mar-07 5:28 
GeneralRe: how to make PC2 access the Database in PC1 Pin
marwan_siala24-Mar-07 5:39
marwan_siala24-Mar-07 5:39 
GeneralRe: how to make PC2 access the Database in PC1 Pin
Colin Angus Mackay24-Mar-07 5:56
Colin Angus Mackay24-Mar-07 5:56 
GeneralRe: how to make PC2 access the Database in PC1 Pin
marwan_siala24-Mar-07 6:26
marwan_siala24-Mar-07 6:26 
GeneralRe: how to make PC2 access the Database in PC1 Pin
marwan_siala29-Mar-07 21:53
marwan_siala29-Mar-07 21:53 
QuestionDoubt in Stored procedure Pin
Prashant C23-Mar-07 19:56
Prashant C23-Mar-07 19:56 
AnswerRe: Doubt in Stored procedure Pin
N a v a n e e t h23-Mar-07 20:13
N a v a n e e t h23-Mar-07 20:13 
GeneralRe: Doubt in Stored procedure Pin
Mark Greenwood24-Mar-07 2:03
Mark Greenwood24-Mar-07 2:03 
GeneralRe: Doubt in Stored procedure Pin
M.H.1.2.325-Mar-07 18:07
M.H.1.2.325-Mar-07 18:07 
QuestionStored Procedure Pin
yaminilatha23-Mar-07 18:28
yaminilatha23-Mar-07 18:28 
AnswerRe: Stored Procedure Pin
Christian Graus23-Mar-07 18:33
protectorChristian Graus23-Mar-07 18:33 
GeneralRe: Stored Procedure Pin
yaminilatha29-Mar-07 2:25
yaminilatha29-Mar-07 2:25 
AnswerRe: Stored Procedure Pin
N a v a n e e t h23-Mar-07 20:14
N a v a n e e t h23-Mar-07 20:14 
GeneralRe: Stored Procedure Pin
yaminilatha29-Mar-07 2:29
yaminilatha29-Mar-07 2:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.