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

C#

 
GeneralRe: dynamically adding tabpages to a tabcontrol Pin
sreejith ss nair9-Aug-04 20:06
sreejith ss nair9-Aug-04 20:06 
GeneralDrag and Drop to Desktop Pin
c-minor9-Aug-04 17:32
c-minor9-Aug-04 17:32 
GeneralRe: Drag and Drop to Desktop Pin
Heath Stewart9-Aug-04 17:54
protectorHeath Stewart9-Aug-04 17:54 
Generalado .net sql insert - should be simple but don't get it Pin
JeromeKJerome9-Aug-04 14:07
JeromeKJerome9-Aug-04 14:07 
GeneralRe: ado .net sql insert - should be simple but don't get it Pin
Heath Stewart9-Aug-04 18:01
protectorHeath Stewart9-Aug-04 18:01 
GeneralRe: ado .net sql insert - should be simple but don't get it Pin
JeromeKJerome10-Aug-04 6:23
JeromeKJerome10-Aug-04 6:23 
GeneralRe: ado .net sql insert - should be simple but don't get it Pin
Heath Stewart10-Aug-04 6:29
protectorHeath Stewart10-Aug-04 6:29 
GeneralRe: ado .net sql insert - should be simple but don't get it Pin
JeromeKJerome10-Aug-04 8:17
JeromeKJerome10-Aug-04 8:17 
I've been reading documentation for two full days and only your comments made complete sense. While you were posting your reply I was testing that same section of code you mention and I commented out the AcceptChanges and GetChanges. When I do that I get an exception accessing the sql server. I suppose that's progress and I deduce that before commenting out those lines, update was not even trying to access the sql server because there were no changes.

Now I get an sqlException that says the login failed for user 'IBMX40\ASPNET'. IBMX40 is the sql server, but I don't recall ever setting up a user named ASPNET. Need I do that, or can't I simply link the user to the windows log in?

I don't see anything in the properties pages for either the adapter or the connection that allows entry of a password or user. When I issue fill dataset from the data menu while the adapter is selected, I get the test row from the database, so it's accessing sql server for the select.

UPDATE: I went into computer management and gave the ASPNET account (which was already created) administrator privileged and now this code works. Thanks so much for the help!
GeneralRe: ado .net sql insert - should be simple but don't get it Pin
Heath Stewart10-Aug-04 9:44
protectorHeath Stewart10-Aug-04 9:44 
GeneralThin Client Pin
Anton Dorrestijn9-Aug-04 12:53
Anton Dorrestijn9-Aug-04 12:53 
GeneralRe: Thin Client Pin
Nick Parker9-Aug-04 13:52
protectorNick Parker9-Aug-04 13:52 
GeneralMixing .NET languages Pin
paulains9-Aug-04 12:47
paulains9-Aug-04 12:47 
GeneralRe: Mixing .NET languages Pin
Mark Greenwood9-Aug-04 13:27
Mark Greenwood9-Aug-04 13:27 
GeneralRe: Mixing .NET languages Pin
paulains9-Aug-04 17:51
paulains9-Aug-04 17:51 
GeneralRe: Mixing .NET languages Pin
Heath Stewart9-Aug-04 18:05
protectorHeath Stewart9-Aug-04 18:05 
GeneralRe: Mixing .NET languages Pin
Nick Parker9-Aug-04 13:45
protectorNick Parker9-Aug-04 13:45 
GeneralRe: Mixing .NET languages Pin
paulains9-Aug-04 17:56
paulains9-Aug-04 17:56 
GeneralArrays in c# Pin
cheesepirate9-Aug-04 9:04
cheesepirate9-Aug-04 9:04 
GeneralRe: Arrays in c# Pin
Reinout Hillmann9-Aug-04 9:51
sussReinout Hillmann9-Aug-04 9:51 
GeneralRe: Arrays in c# Pin
cheesepirate9-Aug-04 10:00
cheesepirate9-Aug-04 10:00 
GeneralRe: Arrays in c# Pin
Nick Parker9-Aug-04 10:21
protectorNick Parker9-Aug-04 10:21 
GeneralRe: Arrays in c# Pin
Bret Mulvey9-Aug-04 16:45
Bret Mulvey9-Aug-04 16:45 
GeneralRe: Arrays in c# Pin
leppie9-Aug-04 19:36
leppie9-Aug-04 19:36 
GeneralInheriting User Controls Pin
Brett Slaski9-Aug-04 6:41
Brett Slaski9-Aug-04 6:41 
GeneralRe: Inheriting User Controls Pin
Syed Abdul Khader9-Aug-04 6:51
Syed Abdul Khader9-Aug-04 6:51 

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.