2
Contributors
4
Replies
14
Views
3 Years
Discussion Span
Last Post by Khyxz
1

Step1

TextBox1.Text = sender.text & ","

Step2

TextBox1.Text = TextBox1.Text & sender.text

Step3

        Dim qty As String = TextBox1.Text.Substring(0, TextBox1.Text.ToString.LastIndexOf(","))
        Dim itemName As String = TextBox1.Text.Replace(qty & ",", "")
        DataGrid.Rows.Add(itemName, "", "", qty)

Step4

Label.Text = DataGrid.Rows(index).Cells(index).Value
0

Thanks for your response!
Sorry Sir, but I have no Idea on where/what event I should put the codes...
Can you please elaborate it more?
Thanks a lot!

0

put the code of step1 in all qty button click and you can put the codes of step2, step3 and step4 in all item button click

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.