Click here to Skip to main content
16,019,043 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello Friends,

My issue is I'm collecting user details in hash-table object and then I want to pass it as parameter to SQLCommand object which executes stored procedure to save user details.

Can anyone tell how to pass hash-table object as parameter to Command object?

Thanks in advance
Posted
Updated 14-Sep-10 21:45pm
v3
Comments
Sandeep Mewara 14-Sep-10 12:11pm    
First of all, edit your post and type full words(No text speak - any1, wanna, etc). You are not texting a SMS to your friend. You are here in a professional world asking for help.
Sandeep Mewara 14-Sep-10 12:12pm    
After that, tell us what have you tried so far and where are you stuck?
OriginalGriff 14-Sep-10 14:39pm    
No. We don't understand txtspk. We are all way to thick to cope with that childish drivel, so how could we be expected to understand your question unless you learn where the vowels are?
Dalek Dave 15-Sep-10 3:45am    
Edited for Grammar and Readability.

1 solution

You can Not pass Hashtable to Sp,
But there is way to pass multi-value to Sp,

Have a Look,
http://www.simple-talk.com/sql/t-sql-programming/faking-arrays-in-transact-sql/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900