Author: vijaynetpart | Posted on: 5/4/2009 7:50:34 AM | Views : 235

I am using the hashtable to my applications........
After collecting the values send it to data access layer like tht..............
Any alternate solution is there instead of hashtable?
(Is  hash table reducing the coding performance? Whats the uage of collection class...How can i use this collection instead of Hashtable? )
My Code
------------
Business Layer
-----------------------

Dim hs As New hashtable
hs.add("@FirstName",txtFirstName.Text)
DataAccess.ExecuteDataCommand("ProcedureName",hsh)
DataAccess Layer
------------------------
Class DataAccess
    Shared Sub ExecuteDataCommand(ByVal sql As String, ByVal hsh As Hashtable)
   --------Process Here ----------------

 
 
 
...

Go to the complete details ...