M
Mythran
Yes, I know how to use it, but darn...I could do what I want to do in ADODB
(non-dotnet) with just a few statements, ADO.NET (which is supposed to be better)
requires more than 1000 statements to do the same task! There is no easier and
quicker way in ADO.NET.
I've got 33 tables, all these tables have relationships with one another in one
way or another. I'm reading through a HIPAA compliant file which, if any of you
know hipaa, is no easy task. Then to place ALL values from this file into a
typed dataset, then inserting this data from the data into the database is a
pain. Not only a pain, I'm totally lost in doing it
ALL tables have a RecordId field which is an autogenerated uniqueidentifier
field. These fields are autogenerated on the server (SQL Server). That is my
first problem, I am not allowed to use ANY stored procedures on the server. Not
allowed meaning NO IF'S ANDS OR BuTs.
So, any suggestions on that part would be helpful.
Next question would be, I've filled the entire dataset. Remember, 33 tables in
the dataset. Each table is NOT the same...building the dataset was just dropping
the table listing from the SQL Server to the DataSet screen in the IDE.
Now that I'm here, how do I, after the dataset has all the values I need in it,
save them to the database. Ok, another question arises, the datasets don't have
the unique identifiers in them, so they can't contain or hold the
relationships...how the heck could it?!?
I'm lost, I'm forgotten, I'm upset, I'm ... just tired today heh..
Thanks in advance,
Mythran
(non-dotnet) with just a few statements, ADO.NET (which is supposed to be better)
requires more than 1000 statements to do the same task! There is no easier and
quicker way in ADO.NET.
I've got 33 tables, all these tables have relationships with one another in one
way or another. I'm reading through a HIPAA compliant file which, if any of you
know hipaa, is no easy task. Then to place ALL values from this file into a
typed dataset, then inserting this data from the data into the database is a
pain. Not only a pain, I'm totally lost in doing it
ALL tables have a RecordId field which is an autogenerated uniqueidentifier
field. These fields are autogenerated on the server (SQL Server). That is my
first problem, I am not allowed to use ANY stored procedures on the server. Not
allowed meaning NO IF'S ANDS OR BuTs.
So, any suggestions on that part would be helpful.
Next question would be, I've filled the entire dataset. Remember, 33 tables in
the dataset. Each table is NOT the same...building the dataset was just dropping
the table listing from the SQL Server to the DataSet screen in the IDE.
Now that I'm here, how do I, after the dataset has all the values I need in it,
save them to the database. Ok, another question arises, the datasets don't have
the unique identifiers in them, so they can't contain or hold the
relationships...how the heck could it?!?
I'm lost, I'm forgotten, I'm upset, I'm ... just tired today heh..
Thanks in advance,
Mythran