save multiple
how to save multiple entries using single text box in UI layer.means there are 10 items in invoice form..ONLY ONE TEXT BOX NAMED txtItemname.text each should save in corresponding fields..how?GIVE CODE IN 2 TIER IN C# SOON....
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Maneesh A NPosted Sep 13, 2013, 8:20 AM
Suthish NairPosted Sep 13, 2013, 8:11 AM
Maneesh A NPosted Sep 13, 2013, 7:49 AM
iSalesID int
iItemID int
vItemCode int
iNos int
deRate decimal(18, 2)
deAmount decimal(18, 2)
vTea int
vCoffee varchar(50)
vMineral varchar(50)
vSoft varchar(50)
vPhoto varchar(50)
vFax varchar(50)
vGen varchar(50)
vMiscalla varchar(50)
not two values together at a time. i means one by one.
i want to save tea,coffee through single text box..how its possible in front end?in 2 tier ,sql 2005
Suthish NairPosted Sep 13, 2013, 7:36 AM
Maneesh A NPosted Sep 12, 2013, 9:20 AM
Maneesh A NPosted Sep 12, 2013, 9:05 AM
Maneesh A NPosted Sep 12, 2013, 9:00 AM
Suthish NairPosted Sep 12, 2013, 8:55 AM
Maneesh A NPosted Sep 12, 2013, 8:38 AM
DATE TEA COFFEE SOFT DRINKS MINERAL WATER FAX
QUANTITY RS QUANTITY RS QUANTITY RS QUANTITY RS QUANTITY RS
EXAMPLE
OUTPUT
12-SEP-13 5 50 5 50 5 50 5 50 5 50
THIS IS WRONG...BECAUSE I BOUGHT ONLY 5 TEA...THEN HOW IT COMES IN PRINT OUT...IS THE MISTAKES IN CODE OR CRYSTAL REPORT DESIGN?I MENTIONED IN DETAIL WHAT I WANT,OR GETTING NOW...IF YOU UNDER STAND PLEASE GIVE ANSWER
Maneesh A NPosted Sep 12, 2013, 8:28 AM
vTea Varchar(50);
vCoffee Vrachar(50);
vMineral varchar(50);
vFax varchar(50);
vSoftDrinks varchar(50)
Design
ItemName Rate Nos Amount
txtItem.Text txtRate.text txQty.text txtAmount.text
GRID
Save Edit Search Delete
we have to design crystal report,before that should insert tea,coffee,mineral.fax,soft drinks through txtItem.text.HOW TO GIVE CODE IN FRONT END?
Jignesh TrivediPosted Sep 12, 2013, 8:09 AM
still quesition is not cleared.
are you going to insert item one by one or you have all item and going to insert value of the item?
Maneesh A NPosted Sep 12, 2013, 7:30 AM
Jignesh TrivediPosted Sep 12, 2013, 6:36 AM
Hi,
we are not getting your quesition.
please refer
http://www.aspdotnet-suresh.com/2011/02/how-to-inserteditupdate-and-delete-data.html
http://www.dotnetspark.com/kb/643-how-to-editupdatedelete-gridview.aspx
are you looking this type solution?