I created a combobox and binded it with MS access table using following code:
this->oleDbDataAdapter1->SelectCommand->CommandText="SELECT DISTINCT Profile_Name FROM Profiles"; this->oleDbDataAdapter1->Fill(dataSet1,"Profiles"); DataTable^dt= dataSet1->Tables["Profiles"]; comboBox1->DataSource= dt; comboBox1->DisplayMember = "Profile_Name";
I got the correct profile name I needed in the combobox. I tried it using textbox,
However,it always return me "System.Data.DataRowView". How can I get the correct selected item?
Forgive me for keep spamming question as I m really working under very limited time constraint. Thanks in advance.