G
Ghost
Hello.
I have such question:
I want to create SqlCeDataAdapter object at runtime...
I'm writing:
SqlCeDataAdapter dataAdapter = new SqlCeDataAdapter();
then I specify Select Command:
dataAdapter.SelectCommand = new SqlCeCommand("SELECT * FROM Supplier",
sqlCeConnection);
I want specify other commands too, such as Insert, Update and Delete
commands, but they are too large for inserting it into my code manualy, when
I'm working not in Compact Framework I can just drag the DataAdapter
component to my form and allow it while its configuration to generate these
commands automaticaly, so I can Update my datasets and not only view them.
Is there any method to generate SqlCeDataAdapter commands automaticaly at
runtime and don't insert them to my code manualy ?
If its poseble PLEASE show me some example or demo.
I have such question:
I want to create SqlCeDataAdapter object at runtime...
I'm writing:
SqlCeDataAdapter dataAdapter = new SqlCeDataAdapter();
then I specify Select Command:
dataAdapter.SelectCommand = new SqlCeCommand("SELECT * FROM Supplier",
sqlCeConnection);
I want specify other commands too, such as Insert, Update and Delete
commands, but they are too large for inserting it into my code manualy, when
I'm working not in Compact Framework I can just drag the DataAdapter
component to my form and allow it while its configuration to generate these
commands automaticaly, so I can Update my datasets and not only view them.
Is there any method to generate SqlCeDataAdapter commands automaticaly at
runtime and don't insert them to my code manualy ?
If its poseble PLEASE show me some example or demo.