Posted 16 May 2018, 2:56 pm EST
i want get data from C1TextInput
i should get data
String line_t1 = txtAddrT1.Text;
String line_t1 = txtAddrT1.Value.ToString();
for insert data to database
Forums Home / ComponentOne / WinForms Edition
Posted by: eploentham on 16 May 2018, 2:56 pm EST
Posted 16 May 2018, 2:56 pm EST
i want get data from C1TextInput
i should get data
String line_t1 = txtAddrT1.Text;
String line_t1 = txtAddrT1.Value.ToString();
for insert data to database
Posted 17 May 2018, 4:12 pm EST
Hello,
It seems that you are using C1TextBox control of the Input components.
The statement
String line_t1 = txtAddrT1.Text;
would work well for you to fetch the Text associated with a specific C1TextBox.
We have attached a sample showing how this is done and how the fetched data is added to a DataTable.
If you still face any issue, we request you to share the details of the issue for us to assist you at the earliest.
Thanks and Regards,
Esha
C1TextBox_DataTable.zip
Posted 20 May 2018, 2:38 am EST
thank youy