sql - Visual Studio MS Access tables not reflecting changes -
sql - Visual Studio MS Access tables not reflecting changes -
i have visual studio project accesses ms access database using simple queries. 1 of insert operation query(insertcompany
)
insert `corporate` (`compname`, `rid`, `networth`, `shares`, `price`, `mktvalue`) values (?, ?, ?, ?, ?, ?)
here corporate
info table in dalalstreetdataset
when phone call project using
private sub button1_click(sender object, e eventargs) handles button1.click if corporatetableadapter2.insertcompany(textbox1.text, textbox2.text, textbox3.text, textbox4.text, textbox5.text, textbox5.text) msgbox("company added") end if end sub
the database file not reflect changes or insertions
i have such query insertion procedure on form works fine addresses table in same file
the first issue insert
query:
it should read
insert corporate (compname, rid, networth, shares, price, mktvalue) values (?, ?, ?, ?, ?, ?)
the next issue may info types you're giving parameters. however, without insight wrapper corporatetableadapter2
there no chance finding these kind of issues.
sql vba visual-studio-2013
Comments
Post a Comment