Also please let me know how to do the connectivity of the database?

>connectivity of the database

Learn/Use ADO.NET Data Providers classes.

can u told me which database u r using . and language??
for c# using sql server 2005

#
using System.Data.SqlClient;


sqlconnection conn = new sqlconnection("");
like this

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.