S
SK
Hello,
I have a Newbie question. I am using .NET 2.0 and C#.
I have a data entry screen which has about 25 fields. Excepting one
field, none of the others fields require inputs.
My question
What is the best method to insert the records to a SQL db - calling the
SQL insert i.e. "insert into...."
OR
Putting all the fields into a hashtable, and then calling a stored proc
which will take about 25 params to add a record(doesn't seem to be
good).
Is there a good way of achieving this?
Help will be highly appreciated.
Thanks
SK
I have a Newbie question. I am using .NET 2.0 and C#.
I have a data entry screen which has about 25 fields. Excepting one
field, none of the others fields require inputs.
My question
What is the best method to insert the records to a SQL db - calling the
SQL insert i.e. "insert into...."
OR
Putting all the fields into a hashtable, and then calling a stored proc
which will take about 25 params to add a record(doesn't seem to be
good).
Is there a good way of achieving this?
Help will be highly appreciated.
Thanks
SK