Click here to Skip to main content
15,920,005 members

Comments by TatsuSheva (Top 99 by date)

TatsuSheva 9-Feb-18 15:51pm View    
DataTable here is not already in the invoice.
This is in the stock and now I will use it to store it in the invoice because of that I said I give the total amount and automatically it will fill the invoice with the right items , quantity and price according to the total amount
TatsuSheva 30-Apr-17 10:41am View    
Is it possible that it only shows the total not at each line ! I mean if you see the example in my case the first line in the total Bill there is 2000 and the second line 5000 but I want to be as I described in the question
TatsuSheva 30-Apr-17 10:03am View    
yes you are right, I had to remove if (dt.Rows.Count == 1)....
For the second question, the sum is done but if I click on another row I am having this error : System.InvalidCastException and the error come to this sum += Convert.ToInt32(TAB_Credit.Rows[i].Cells["Total"].Value); and this is the comment : {"Unable to cast a DBNull object in other types."}
TatsuSheva 29-Apr-17 16:50pm View    
I am having another problem , when the first row is filled and I want to fill the second row I can't... look here https://www.codeproject.com/Questions/1184657/Filling-datagridview-cells-after-validating-first
TatsuSheva 11-Jan-17 12:31pm View    
I need it to change....