Hi everyone

I'm trying to connect and display data in a TDBGrid (component) from an .mdf (made in sql) and connect it to a Delphi application. the .mdf is on the desktop and my databases name is Attach.

If anyone has any clues or advice please let me know!

Many thanks and kind regards
R.

I managed by using SQL script in delphi to create a database , but if anyone knows a better method please let me know

*.mdf is ms-sql server files. so unless u know how these file are structured, u can not open it in ur application without using ms-sql.

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.