if(combobox1.selecteditem=="eid") selectedvalue=texbox1.text; else if(combobox1.selecteditem=="enmae") selectedvalue=textbox1.text;
select eid=combobox1.selecteditem,enmae=combobox1.selecteditem from tbl1 where eid=textbox1.text and enmae=textbox1.text
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)