increment database name on button click?

Posted by Shameer.Ali87 under ASP.NET on 2/28/2013 | Points: 10 | Views : 857 | Status : [Member] | Replies : 3
hi all,

when ever a user registers for my site, I am creating a database with name DB1,
now i need to dynamically increment the database name from DB1 to DB2,DB3 and so on..

while incrementing the database name, it should check the previous value of database name..

i am designing the site in asp.net 3.5, c# and sql server..

thanks

shameer ali shaik


Responses

Posted by: Vuyiswamb on: 2/28/2013 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
Why do you want to create a Database everytime a user register ?


Thank you for posting at Dotnetfunda
[Administrator]

Shameer.Ali87, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 2/28/2013 [Member] Starter | Points: 25

Up
0
Down
you want to create database for each user, weird

Shameer.Ali87, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Abhaydhar on: 2/28/2013 [Member] Starter | Points: 25

Up
0
Down

Create a master table with User records , use a Identity data type on User Id , or increment the value of last user in C# code.

ABD

Shameer.Ali87, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response