This application is a WinForm application with Dot Net Framework 4.0.
I have created a user control which shows product line in text boxes i.e. Product Code, Quantity, Rate and Amount.
This user control repeats set of text boxes to show this detail for each Product line.
I want to bind ProductLines to custom control to show all the product lines.
Problem: When I set current position to next, text boxes show data for the next product line, but I want to show all the product lines on form at a time. Like shown below:
Product Line 1 : ProductCode, Qty, Rate, Amount
Product Line 2 : ProductCode, Qty, Rate, Amount
Product Line 3 : ProductCode, Qty, Rate, Amount
Product Line 4 : ProductCode, Qty, Rate, Amount
I tried setting new BindingContext also but no luck.
Please let me know the solution. Thanks in advance.