no value given for one or more required parameters in vb.net i have use Ms Access when cust_id assign 1 then no error when assign 0 then occur error -
no value given 1 or more required parameters in vb.net. have used ms access when cust_id
assign 1 no problem; when assign 0 error occur.
try con.connectionstring = "provider=microsoft.jet.oledb.4.0;data source=pradnya_datab.mdb" con.open() dt = new datatable ds = new dataset ss = "select cust_id customer" da = new oledbdataadapter(ss, con) da.fill(ds, "customer") textbox2.datasource = ds.tables("customer") textbox2.valuemember = "cust_id" textbox2.displaymember = "cust_id" catch ex exception msgbox(ex.message) dt.clear() con.close() end try
Comments
Post a Comment