Click here to Skip to main content
15,906,467 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi dere,

I have a listview with 2 columns and 3 rows.

ItemName,Price as 2 column and 2 datas are there like;
Rice,20.00
Oat,30.00


I have to insert these 2 data to database by clicking the save button.

so how to do this,i dont understand.Please sumbody help me.


Thanks
Posted
Updated 20-Nov-12 22:32pm
v2
Comments
Shivani Dash 21-Nov-12 5:03am    
please sumbody help....

1 solution

( Sound like: I have a car and the engine does not work - any help ... )
Please offer some more deatails about the problem -
Which kind of database (SQL server etc) , a new table, columns rows of an existing table ?? Do you have an exististing dataset ?
than maybe someone can help you
 
Share this answer
 
Comments
Shivani Dash 21-Nov-12 4:34am    
i am using sql server 2005.n i have to save ds 2 row data to database.
Shivani Dash 21-Nov-12 4:36am    
n ya it'll save to a new table.
if i save Rice and Oat then it'll save bth ds items n its price.
hope u undrstnd ds time

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