Click here to Skip to main content
15,891,184 members
Home / Discussions / C#
   

C#

 
QuestionHow to convert DateTime in C# into DateTime in MSAccess Pin
zecodela5-Nov-03 2:13
zecodela5-Nov-03 2:13 
AnswerRe: How to convert DateTime in C# into DateTime in MSAccess Pin
Jeff Varszegi5-Nov-03 3:48
professionalJeff Varszegi5-Nov-03 3:48 
GeneralRe: How to convert DateTime in C# into DateTime in MSAccess Pin
zecodela5-Nov-03 13:30
zecodela5-Nov-03 13:30 
GeneralRe: How to convert DateTime in C# into DateTime in MSAccess Pin
Giles6-Nov-03 1:01
Giles6-Nov-03 1:01 
GeneralSQL server connection string issue :-( Pin
Nish Nishant5-Nov-03 1:16
sitebuilderNish Nishant5-Nov-03 1:16 
GeneralRe: SQL server connection string issue :-( Pin
Michael P Butler5-Nov-03 1:52
Michael P Butler5-Nov-03 1:52 
GeneralRe: SQL server connection string issue :-( Pin
Nish Nishant5-Nov-03 2:04
sitebuilderNish Nishant5-Nov-03 2:04 
GeneralRe: SQL server connection string issue :-( Pin
apferreira5-Nov-03 4:29
apferreira5-Nov-03 4:29 
Have you tried this at the command prompt? This solved a similar connection problem on my computer.


osql -E -S (local)\DBNAME -Q "sp_grantlogin 'MACHINENAME\ACCOUNTNAME'"<br />
<br />
osql -E -S (local)\DBNAME -d Pubs -Q "sp_grantdbaccess 'MACHINENAME\ACCOUNTNAME'"<br />
osql -E -S (local)\DBNAME -d Pubs -Q "sp_addrolemember 'db_owner', 'MACHINENAME\ACCOUNTNAME'"


Substitute elements in UPPERCASE with the relevant informantion from your specific case.

Note: Contrary to you, I was using Windows Authentication instead of SQL Server Authentication.
GeneralRe: SQL server connection string issue :-( Pin
Jeff Varszegi5-Nov-03 4:30
professionalJeff Varszegi5-Nov-03 4:30 
GeneralRe: SQL server connection string issue :-( Pin
Heath Stewart5-Nov-03 4:33
protectorHeath Stewart5-Nov-03 4:33 
GeneralCachedbitmap Pin
mhmoud rawas5-Nov-03 0:48
mhmoud rawas5-Nov-03 0:48 
Generaltranslate into c#............please Pin
Ahmed El Sherbeeny4-Nov-03 20:18
Ahmed El Sherbeeny4-Nov-03 20:18 
GeneralRe: translate into c#............please Pin
Corinna John4-Nov-03 20:25
Corinna John4-Nov-03 20:25 
GeneralRe: not working Pin
Ahmed El Sherbeeny4-Nov-03 20:44
Ahmed El Sherbeeny4-Nov-03 20:44 
GeneralRe: not working Pin
Corinna John4-Nov-03 22:35
Corinna John4-Nov-03 22:35 
GeneralPopulate ImageList with embedded Icons Pin
pnolan4-Nov-03 18:23
pnolan4-Nov-03 18:23 
GeneralRe: Populate ImageList with embedded Icons Pin
Anonymous5-Nov-03 20:10
Anonymous5-Nov-03 20:10 
Questionhow to make ms agent ask yes/no questions Pin
Sonia Jaiswal4-Nov-03 14:37
Sonia Jaiswal4-Nov-03 14:37 
Generalreading remote machine registry Pin
Waqar AMIN4-Nov-03 14:23
Waqar AMIN4-Nov-03 14:23 
GeneralRe: reading remote machine registry Pin
miahrugger4-Nov-03 16:47
miahrugger4-Nov-03 16:47 
GeneralRe: reading remote machine registry Pin
Daniel M. Edwards5-Nov-03 1:12
Daniel M. Edwards5-Nov-03 1:12 
Question.NET form apps portable? Pin
Anonymous4-Nov-03 8:43
Anonymous4-Nov-03 8:43 
AnswerRe: .NET form apps portable? Pin
leppie4-Nov-03 9:49
leppie4-Nov-03 9:49 
GeneralRe: .NET form apps portable? Pin
Mike Ellison4-Nov-03 10:08
Mike Ellison4-Nov-03 10:08 
QuestionCan a rich text box control displays HTML code correctly? Pin
trungbkvn4-Nov-03 8:33
trungbkvn4-Nov-03 8:33 

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.