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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Jignesh TrivediRank #16 · 50.3K reputationPosted Sep 12, 2013, 2:36 AM EDT
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?
Maneesh A N179 reputationPosted Sep 12, 2013, 3:30 AM EDT
Jignesh TrivediRank #16 · 50.3K reputationPosted Sep 12, 2013, 4:09 AM EDT
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 N179 reputationPosted Sep 12, 2013, 4:28 AM EDT
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?
Maneesh A N179 reputationPosted Sep 12, 2013, 4:38 AM EDT
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
Suthish NairRank #92 · 22.8K reputationPosted Sep 12, 2013, 4:55 AM EDT
Maneesh A N179 reputationPosted Sep 12, 2013, 5:00 AM EDT
Maneesh A N179 reputationPosted Sep 12, 2013, 5:05 AM EDT
Maneesh A N179 reputationPosted Sep 12, 2013, 5:20 AM EDT
Suthish NairRank #92 · 22.8K reputationPosted Sep 13, 2013, 3:36 AM EDT
Maneesh A N179 reputationPosted Sep 13, 2013, 3:49 AM EDT
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 NairRank #92 · 22.8K reputationPosted Sep 13, 2013, 4:11 AM EDT
Maneesh A N179 reputationPosted Sep 13, 2013, 4:20 AM EDT