Dear guies,
this method is not wprking properly....send me another soln.
U open the server explorer and click attach server then one form will opend ..
in that u write ur server name (computername ; eg : cmc12\SQLEXPRESS) like and write database name click ok ..
database is created .. u click tables u create tables and use it ..