I am new to .net and don't know how to mount the database. can someone help me with it, and, if possible, provide a sample code for basic operations, such as inserting a value into a database, reading a record, etc.
MSDN is the way to go:
How to connect to data in a database
Mark this marked answer in SO. You can use Presentation / BLL / DAL / object library for variables