I have been alloted an assignment, it goes as :
1.Place 3 textboxes,for name, city & age
2.Create an Class.cs, in that declare property to get & set values.
3.Create instance of Class.cs in code behind and assign the textbox values to it.
4.And insert the values in database using the instance from another class.cs (where i will place my insert command)
I have finished the above 4.......Next...
User Profile
Collapse
-
Inserting HashTable Values into Database
I have created a stored procedure for insert
CREATE PROCEDURE dbo.insert_samp le(@Name varchar(50),@Ag e char(4),@City varchar(50))
AS
INSERT dbo.Test1 VALUES(@Name,@A ge,@City)
I want to create an HashTable, and insert Hashtable values to table......
waiting for answers
No activity results to display
Show More
Leave a comment: