Hi,
I need to bind 3 prices ('Data' column values)to 3 text boxes.
I have the following table:
product Type Data
1111 1 22.30
1111 2 32.70
1111 3 40.00
To Add the Data_Type table I use:
dataSet.Tables.Add(Obj_DataType.GetSelect("1111");
(Obj_DataType.GetSelect("1111") - Runs a select SP that returns 3 records.
using the following will get me only the first price (22.30)
txtPrice1.DataBindings.Add("Text", dataSet, "Data_Type.Data"
How do i bind the other Data values into the rest of the text boxes?
txtPrice2.Text - ????
txtPrice3.Text - ????
Thanks
I need to bind 3 prices ('Data' column values)to 3 text boxes.
I have the following table:
product Type Data
1111 1 22.30
1111 2 32.70
1111 3 40.00
To Add the Data_Type table I use:
dataSet.Tables.Add(Obj_DataType.GetSelect("1111");
(Obj_DataType.GetSelect("1111") - Runs a select SP that returns 3 records.
using the following will get me only the first price (22.30)
txtPrice1.DataBindings.Add("Text", dataSet, "Data_Type.Data"
How do i bind the other Data values into the rest of the text boxes?
txtPrice2.Text - ????
txtPrice3.Text - ????
Thanks