Click here to Skip to main content
16,011,436 members
Home / Discussions / C#
   

C#

 
QuestionRe: Empty DataSet??? Pin
NaNg152412-Jun-06 3:25
NaNg152412-Jun-06 3:25 
AnswerRe: Empty DataSet??? [modified] Pin
Dustin Metzgar2-Jun-06 3:44
Dustin Metzgar2-Jun-06 3:44 
GeneralRe: Empty DataSet??? [modified] Pin
NaNg152412-Jun-06 5:17
NaNg152412-Jun-06 5:17 
GeneralRe: Empty DataSet??? Pin
Dustin Metzgar2-Jun-06 5:27
Dustin Metzgar2-Jun-06 5:27 
QuestionMs Project Ole Db Pin
Philippe Generet2-Jun-06 0:50
Philippe Generet2-Jun-06 0:50 
AnswerRe: Ms Project Ole Db Pin
Emma Burrows2-Jun-06 2:53
Emma Burrows2-Jun-06 2:53 
QuestionUrgent Pin
Shiv52-Jun-06 0:47
Shiv52-Jun-06 0:47 
AnswerRe: Urgent Pin
Colin Angus Mackay2-Jun-06 1:45
Colin Angus Mackay2-Jun-06 1:45 
Shiv5 wrote:
Urgent


Just about every question you've asked over the last 3-4 days has been "urgent". Perhaps a little planning would be helpful?


Shiv5 wrote:
How do i set the Database object security from the frontend for the SQLServer with User Interface


What do you mean by your use of the proper noun "User Interface"? Do you mean using Enterprise Manager? Or did you mean "user interface" (adjective + noun combination)?

Shiv5 wrote:
Like If you create new login , What are all the privilege i need to give to that user


What do you want the user to be able to do? What do you want them not to be able to do?


Shiv5 wrote:
I m going to do this using Front End using C# with SQLServer


What is this proper noun "Front End"? Is it a new IDE? I'm gussing you mean you want to write a program in C# that will create a new user and assign privileges to that user. Is that correct?

You can run just about any SQL code through a SqlCommand object. If you can write in in Query Analyzer you can run it through a SqlCommand object (Just remember every time you see a GO in query analyzer that is new SqlCommand.

The SQL commands that you need are likely to be:
* sp_grantlogin[^]
* sp_grantdbaccess[^]
* GRANT {SELECT / UPDATE / INSERT / DELETE / EXECUTE} ON {object} ON{security account}[^]


"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)

My: Website | Blog
GeneralRe: Urgent Pin
led mike2-Jun-06 6:57
led mike2-Jun-06 6:57 
QuestionHow to handle toolbar control? Pin
maaran2-Jun-06 0:34
maaran2-Jun-06 0:34 
AnswerRe: How to handle toolbar control? Pin
Darren_2-Jun-06 0:43
Darren_2-Jun-06 0:43 
AnswerRe: How to handle toolbar control? Pin
Dan Neely2-Jun-06 2:09
Dan Neely2-Jun-06 2:09 
Questionhelp about Ascii code and text box Pin
Mairaaj Khan2-Jun-06 0:19
professionalMairaaj Khan2-Jun-06 0:19 
AnswerRe: help about Ascii code and text box Pin
Darren_2-Jun-06 0:32
Darren_2-Jun-06 0:32 
GeneralRe: help about Ascii code and text box Pin
Mairaaj Khan2-Jun-06 1:14
professionalMairaaj Khan2-Jun-06 1:14 
QuestionGoogle talk Call Pin
Rahul.RK1-Jun-06 23:30
Rahul.RK1-Jun-06 23:30 
AnswerRe: Google talk Call Pin
Darren_1-Jun-06 23:36
Darren_1-Jun-06 23:36 
QuestionControl panel application in vc#.net Pin
aloktambi1-Jun-06 22:43
aloktambi1-Jun-06 22:43 
AnswerRe: Control panel application in vc#.net Pin
Darren_1-Jun-06 23:04
Darren_1-Jun-06 23:04 
GeneralRe: Control panel application in vc#.net Pin
aloktambi2-Jun-06 22:16
aloktambi2-Jun-06 22:16 
QuestionExtending a Panel Pin
rajeshkdb1-Jun-06 22:22
rajeshkdb1-Jun-06 22:22 
QuestionSwitching Panels on a Form with Control.Remove Control.Add Pin
Darren_1-Jun-06 21:52
Darren_1-Jun-06 21:52 
AnswerRe: Switching Panels on a Form with Control.Remove Control.Add Pin
Darren_1-Jun-06 22:18
Darren_1-Jun-06 22:18 
GeneralRe: Switching Panels on a Form with Control.Remove Control.Add Pin
stancrm1-Jun-06 23:26
stancrm1-Jun-06 23:26 
GeneralRe: Switching Panels on a Form with Control.Remove Control.Add Pin
Darren_1-Jun-06 23:31
Darren_1-Jun-06 23:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.