Hi,
I have the following code;
This code doesn't reflect the cmbactiveproj.SelectedIndex to display the txtprojnameupdt.Text.Code:txtprojnameupdt.Text = txtProjname.Text cmbactiveproj.SelectedIndex = cmbactiveproj.FindStringExact(Replace(txtprojnameupdt.Text, "'", "''"))
Please anyhelp..
Before I had
and it worked fine, but know txtprojnameupdt has a possibility of having apostrophe and hence I had the replace any help pls!Code:cmbactiveproj.SelectedIndex = cmbactiveproj.FindStringExact.txtprojnameupdt.Text




Reply With Quote