Click here to Skip to main content
15,911,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to create user when I connect with data base using ado.net connection


I create new connection from
server explorer ->
Data Connection ->
Add Connections ->
Server Name->Microsoft SQL Server (SqlClient).
Data Base -> XXXXXXXxxx(database name.


Which query is used to create user and how to display how many users created...
Posted
Updated 24-Feb-11 3:08am

1 solution

To create a user you, amazingly :), use CREATE USER[^].
 
Share this answer
 
Comments
Espen Harlinn 25-Feb-11 8:35am    
Ouch - my 5 :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900