Hi
I have Form1.cs (with a datagrid)
when the datagrid is double-clicked the ID value of the record is passed to hidden text box on Form2.cs using public property form1TextBoxValue
as
i have textboxes i would now like to populate based on the ID i have passed.
the connection and table is the same as Form1.cs but how can i best populate these textboxes.
i have created another connection, data adapter and dataset on form2.cs also.
thanks
chris
I have Form1.cs (with a datagrid)
when the datagrid is double-clicked the ID value of the record is passed to hidden text box on Form2.cs using public property form1TextBoxValue
as
Code:
this.txtID.Text = tempvalue.ToString();
i have textboxes i would now like to populate based on the ID i have passed.
the connection and table is the same as Form1.cs but how can i best populate these textboxes.
i have created another connection, data adapter and dataset on form2.cs also.
thanks
chris