Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Binding Combox Problem(Urgent)

I actually have a problem with retrieving the data saved through combobo
I have combox which contains names of employees but i am saving the equivalent empid in my database by seting the

dataset properties and DiplayMember as "EmpName"
and Value member as "mpId"
The data is saving perfectly. but while retrieving i cannot get the proper retrieval.
my retrieval is through an Sql string which has the select statement.
I am binding all other controls such as the textboxes. The string shows the proper output in the debugger but when it comes to the combo Box
Its giving error.

I hope i have explained it properly
Any help would be appreciated
Thanks in Advance
i am adding my piece of code for databinding the combo box


Comments

  • hamdanohamdano Member Posts: 1
    : I actually have a problem with retrieving the data saved through combobo
    : I have combox which contains names of employees but i am saving the equivalent empid in my database by seting the
    :
    : dataset properties and DiplayMember as "EmpName"
    : and Value member as "mpId"
    : The data is saving perfectly. but while retrieving i cannot get the proper retrieval.
    : my retrieval is through an Sql string which has the select statement.
    : I am binding all other controls such as the textboxes. The string shows the proper output in the debugger but when it comes to the combo Box
    : Its giving error.
    :
    : I hope i have explained it properly
    : Any help would be appreciated
    : Thanks in Advance
    : i am adding my piece of code for databinding the combo box
    :
    :
    :

Sign In or Register to comment.