TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Deepak M
1.2k
546
36.7k
How to delete data permanently in DBF file ?
Jan 6 2020 12:28 AM
OleDbConnection oleDbConnection =
new
OleDbConnection(
"Provider=VFPOLEDB.1;Data Source="
+ filePath +
";"
);
oleDbConnection.Open();
string
sql =
"Delete From CLIENTS"
;
OleDbCommand oleDbCommand =
new
OleDbCommand(sql, oleDbConnection);
oleDbCommand.ExecuteNonQuery();
oleDbConnection.Close();
When I use the above code it will delete all the records but not permanently. All the records are present physically in the DBF file. So how to delete all data parmanemtly ?
Reply
Answers (
2
)
How to clear the text box and By dragging changing of fields
Bar code not generating in MS VS 2008