how to connected data base(sql) with c language......?
with exampal...?

Sonuja, we aren't interested in "providing examples" and explanations for SQL access.

What we do is help you with your C code, if we can. You need to put in the work to first, get a start on your code. Then post it, and tell us what's gone wrong or what has you stumped.

There are a LOT of SQL access examples on Google, if you want to study them.

Accessing databases can be quite complicated. There are a lot of tutorials about ODBC, the oldest and most widely used way to do it. Here are a few tutorials for you to study. There are several other ways to do it, depending on the database and operating system, but ODBC is the most common and supported by all SQL-compliant databases.

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.