Need procedure for insert two table at a time and truncate table
Like table1
Button1 I need to insert these two tables in front end asp.net using c# (web application)
Date 18.8.13
Productname cement
Price 300
Extra 10 (310*14.5/100)=44.95
Vat 14.5/100
Total 354.95
Table2
Date
Productname: closeup
Price 50
Vat 14.5/100
Total 57.25
Button 2 click event I need to truncate table1
Loading


Iftikar HussainRank #423 · 5.9K reputationPosted Aug 18, 2013, 12:37 AM EDT
Create procedure for deleting record from table1 . You want to truncate or delete data from TABLE1
Regards,
Iftikar
Jignesh TrivediRank #16 · 50.3K reputationPosted Aug 18, 2013, 7:05 PM EDT
Can you please provide more information? so that we can help you.
we are not getting you problem.
selvi subramanianRank #2,007 · 723 reputationPosted Aug 18, 2013, 9:27 PM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 18, 2013, 9:30 PM EDT
selvi subramanianRank #2,007 · 723 reputationPosted Aug 18, 2013, 9:34 PM EDT
hussain i need to multiply the dropdown value and textbox value .
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 18, 2013, 9:37 PM EDT
If you don't know how to create procedure, then go thru the below link
http://www.codeproject.com/Articles/38682/Overview-of-SQL-Server-Stored-Procedure
Regards,
Iftikar