i need code for saving a file in access database using C#
nverma 0 Newbie Poster
Recommended Answers
Jump to PostUse parameterized query. fcontent field type must be binary (blob/image) ole or something with access db.
string con = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:/C1/App_Data/db4.mdb;Persist Security Info=False"; string q="insert into table(fname,fcontent) values(?,?)" ...
All 3 Replies
ddanbe 2,724 Professional Procrastinator Featured Poster
nverma 0 Newbie Poster
kvprajapati 1,826 Posting Genius Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.