ok........
in window from i have three different-2 criteria to filter data for thre i have three cheakesdlistbox (1st for partyname .2nd for exchange type and 3rd one for itemname) each contain number of items let if user select(by cheeking cheak box) 10 party name now he select 2 exhange type of the available exchange type and in third ithemname may he select all item or sum now as he press show button data should be fill in datagridview with the above selection .........now i want to pass these selected values in whare clause ..like..whrere partyanme="all value from partyname" and exchangetype="a ll selected exhange type"and itemname="selec ted itemname"....
please help me how to write selct query with multiple selected values....
in window from i have three different-2 criteria to filter data for thre i have three cheakesdlistbox (1st for partyname .2nd for exchange type and 3rd one for itemname) each contain number of items let if user select(by cheeking cheak box) 10 party name now he select 2 exhange type of the available exchange type and in third ithemname may he select all item or sum now as he press show button data should be fill in datagridview with the above selection .........now i want to pass these selected values in whare clause ..like..whrere partyanme="all value from partyname" and exchangetype="a ll selected exhange type"and itemname="selec ted itemname"....
please help me how to write selct query with multiple selected values....
Comment