Click here to Skip to main content
15,791,846 members
Home / Discussions / C#
   

C#

 
GeneralRe: detecting internet connection Pin
Heath Stewart8-Dec-03 10:46
protectorHeath Stewart8-Dec-03 10:46 
GeneralDataRepeater Control Pin
RB@Emphasys8-Dec-03 9:08
RB@Emphasys8-Dec-03 9:08 
GeneralRe: DataRepeater Control Pin
Heath Stewart8-Dec-03 10:34
protectorHeath Stewart8-Dec-03 10:34 
GeneralHelp with simple user control Pin
Charlie Williams8-Dec-03 9:05
Charlie Williams8-Dec-03 9:05 
GeneralRe: Help with simple user control Pin
Heath Stewart8-Dec-03 10:25
protectorHeath Stewart8-Dec-03 10:25 
GeneralRe: Help with simple user control Pin
Charlie Williams8-Dec-03 12:56
Charlie Williams8-Dec-03 12:56 
QuestionDynamic Table Creation on Database Using SQL Datatypes from a Dataset, Possible? Pin
Paul Evans8-Dec-03 7:46
Paul Evans8-Dec-03 7:46 
AnswerRe: Dynamic Table Creation on Database Using SQL Datatypes from a Dataset, Possible? Pin
Heath Stewart8-Dec-03 8:01
protectorHeath Stewart8-Dec-03 8:01 
No, a database can't be created from a DataSet - at least not with classes in the BCL. There might be some third-party library out there that can do it, though. Mapping from a database (table, view, or stored proc) to a DataSet is easy but there just isn't support for the other way because it typically is not done (backends are usually written and mostly solidified when application coding begins).

It's obvious that one of these is a SQL Server installation, so why not just use a DTS transform? For any database with an OLE DB provider, you can create appropriate table structures, transform (if necessary) and copy data, and some other things. You even get a nice graphic utility to help you with the transform and these DTS transforms can be saved and executed again and again (hint, you can use this technique with the SQL DMO library, either using a script, native COM client, or .NET interop assembly). This is by far a better - and faster - way of doing it.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Dynamic Table Creation on Database Using SQL Datatypes from a Dataset, Possible? Pin
Paul Evans8-Dec-03 8:19
Paul Evans8-Dec-03 8:19 
GeneralRe: Dynamic Table Creation on Database Using SQL Datatypes from a Dataset, Possible? Pin
Heath Stewart8-Dec-03 10:04
protectorHeath Stewart8-Dec-03 10:04 
GeneralThread-Safe Singleton Pin
bzurer8-Dec-03 5:18
bzurer8-Dec-03 5:18 
GeneralRe: Thread-Safe Singleton Pin
Heath Stewart8-Dec-03 6:07
protectorHeath Stewart8-Dec-03 6:07 
GeneralRe: Thread-Safe Singleton Pin
Paul Evans8-Dec-03 7:37
Paul Evans8-Dec-03 7:37 
GeneralRe: Thread-Safe Singleton Pin
Heath Stewart8-Dec-03 7:56
protectorHeath Stewart8-Dec-03 7:56 
GeneralRe: Thread-Safe Singleton Pin
Paul Evans8-Dec-03 8:05
Paul Evans8-Dec-03 8:05 
GeneralRe: Thread-Safe Singleton Pin
Heath Stewart8-Dec-03 8:12
protectorHeath Stewart8-Dec-03 8:12 
GeneralRe: Thread-Safe Singleton Pin
Paul Evans8-Dec-03 8:20
Paul Evans8-Dec-03 8:20 
GeneralRe: Thread-Safe Singleton Pin
Heath Stewart8-Dec-03 11:08
protectorHeath Stewart8-Dec-03 11:08 
GeneralRe: Thread-Safe Singleton Pin
bzurer8-Dec-03 8:07
bzurer8-Dec-03 8:07 
GeneralRe: Thread-Safe Singleton Pin
Heath Stewart8-Dec-03 8:10
protectorHeath Stewart8-Dec-03 8:10 
GeneralRe: Thread-Safe Singleton Pin
bzurer8-Dec-03 8:56
bzurer8-Dec-03 8:56 
GeneralRe: Thread-Safe Singleton Pin
Heath Stewart8-Dec-03 10:14
protectorHeath Stewart8-Dec-03 10:14 
GeneralRe: Thread-Safe Singleton Pin
Zhang Ye Fan8-Dec-03 8:33
Zhang Ye Fan8-Dec-03 8:33 
GeneralRe: Thread-Safe Singleton Pin
Heath Stewart8-Dec-03 10:08
protectorHeath Stewart8-Dec-03 10:08 
GeneralRe: Thread-Safe Singleton Pin
bzurer11-Dec-03 4:31
bzurer11-Dec-03 4:31 

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.