PROJECT DETAILS-
This system uses two files....item.txt and transaction.txt..
.when u add products, it goes to item.txt with its current stock.
...when u sell product, the stock decreases from item.txt and a
transaction entry adds to transaction.txt
First Part is completed.Dat is item.txt file..Now if i sell product,I want to decrement the stock from item.txt,,,I m facing probs in dat...
See project as attachment.
item.txt
P00001^^^^Apple^^^^50.00^^^^100
P00002^^^^Computer^^^^25000^^^^50
PROBS
IN FrmSellProd.aspx, In DecrementFromItemFile,y txtSellProdID.text is going to be ""
2) I want to ask dat suppose to edit the one line of file.I have to write the whole file again..OR I can edit that particular line in textfile.....
CZ in VB.net,we can edit that particular line.