Hi
I'm building this new app and wanted to create a Data Class which should practically open a connection with sql server, mak the necessary command and closes the connection.
So i have a function which i was thinking of hving two input parameters: one for the Stored Procedure to be used within the command and the other a Set of Parameters (ie SQLParameterCollection). The latter is whats making the problem..i don;t what i should use to have a collection of parameters and how i can use them , before and after they have been passd!
any help with this would be fantastic!
thanks in advance
B
I'm building this new app and wanted to create a Data Class which should practically open a connection with sql server, mak the necessary command and closes the connection.
So i have a function which i was thinking of hving two input parameters: one for the Stored Procedure to be used within the command and the other a Set of Parameters (ie SQLParameterCollection). The latter is whats making the problem..i don;t what i should use to have a collection of parameters and how i can use them , before and after they have been passd!
any help with this would be fantastic!
thanks in advance
B