i have created an local database in mdf...
when data is inserted in it then it overwrite previous data how can we prevent from overwriting...

SQL Server is basically Sybase with warts. Please provide examples - input and subsequent output. Also, provide information about the API's that your are using, language (C, C++, C#, whatever), and the functions you are using to store the data.

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.