25-04-15, 04:02 PM
select * from residancee where Num = & DataGridView1.CurrentCell.Value.
احدف ' ' و tostring
طريقة اخرى استعمل البارمترات
dim cd as oledbcommand -1
cd.commandtext="select * from table where num =@prmnum" -2
cd.parametres.addwithvalue("@prmnum",DataGridView1.CurrentCell.Value) -3
احدف ' ' و tostring
طريقة اخرى استعمل البارمترات
dim cd as oledbcommand -1
cd.commandtext="select * from table where num =@prmnum" -2
cd.parametres.addwithvalue("@prmnum",DataGridView1.CurrentCell.Value) -3

