Click here to Skip to main content
15,888,282 members
Home / Discussions / C#
   

C#

 
GeneralRe: Add the RegularExpressionValidator on the server side Pin
Not Active13-Jun-11 7:46
mentorNot Active13-Jun-11 7:46 
GeneralRe: Add the RegularExpressionValidator on the server side Pin
vanikanc13-Jun-11 7:48
vanikanc13-Jun-11 7:48 
GeneralRe: Add the RegularExpressionValidator on the server side Pin
Not Active13-Jun-11 8:37
mentorNot Active13-Jun-11 8:37 
QuestionBasic Insert Row Question Pin
AmbiguousName13-Jun-11 1:46
AmbiguousName13-Jun-11 1:46 
AnswerRe: Basic Insert Row Question Pin
Pete O'Hanlon13-Jun-11 2:07
mvePete O'Hanlon13-Jun-11 2:07 
GeneralRe: Basic Insert Row Question Pin
AmbiguousName13-Jun-11 2:30
AmbiguousName13-Jun-11 2:30 
GeneralRe: Basic Insert Row Question Pin
Pete O'Hanlon13-Jun-11 2:51
mvePete O'Hanlon13-Jun-11 2:51 
AnswerRe: Basic Insert Row Question Pin
phil.o13-Jun-11 2:16
professionalphil.o13-Jun-11 2:16 
Hi,

Try to remove Integrated Security=SSPI; from your connection string. You are trying to use two connection methods at the same time (SSPI means you're trying to authenticate as the calling user, and you provide other authentification information at the same time).

Moreover, it's a very bad design to authenticate as 'sa' in your code ; better create a connection in your SQL instance matching your user login, and give it the roles you want on the database(s) you want. Then you'll be able to use Integrated Security=SSPI;, without supplying UserId and Password information in your connection string.
GeneralRe: Basic Insert Row Question Pin
AmbiguousName13-Jun-11 2:29
AmbiguousName13-Jun-11 2:29 
GeneralRe: Basic Insert Row Question Pin
phil.o13-Jun-11 2:35
professionalphil.o13-Jun-11 2:35 
GeneralRe: Basic Insert Row Question Pin
AmbiguousName13-Jun-11 2:42
AmbiguousName13-Jun-11 2:42 
GeneralRe: Basic Insert Row Question Pin
phil.o13-Jun-11 2:49
professionalphil.o13-Jun-11 2:49 
AnswerRe: Basic Insert Row Question Pin
RaviRanjanKr13-Jun-11 2:48
professionalRaviRanjanKr13-Jun-11 2:48 
AnswerRe: Basic Insert Row Question Pin
BobJanova13-Jun-11 3:25
BobJanova13-Jun-11 3:25 
AnswerRe: Basic Insert Row Question Pin
AmbiguousName13-Jun-11 18:34
AmbiguousName13-Jun-11 18:34 
Questionhow to monitor downloaded and uploaded data Pin
Aisha sharma12-Jun-11 22:17
Aisha sharma12-Jun-11 22:17 
QuestionHow to create xml file in disk location using SQL Server 2005 & C#...? Pin
Manish_Kumar_Nayak12-Jun-11 21:03
Manish_Kumar_Nayak12-Jun-11 21:03 
AnswerRe: How to create xml file in disk location using SQL Server 2005 & C#...? Pin
Richard MacCutchan12-Jun-11 23:46
mveRichard MacCutchan12-Jun-11 23:46 
AnswerRe: How to create xml file in disk location using SQL Server 2005 & C#...? Pin
jschell13-Jun-11 8:43
jschell13-Jun-11 8:43 
QuestionGetting data from host, convert to string and then to bytes again. Pin
krosty478212-Jun-11 13:06
krosty478212-Jun-11 13:06 
AnswerRe: Getting data from host, convert to string and then to bytes again. Pin
Luc Pattyn12-Jun-11 13:42
sitebuilderLuc Pattyn12-Jun-11 13:42 
GeneralRe: Getting data from host, convert to string and then to bytes again. Pin
krosty478212-Jun-11 15:07
krosty478212-Jun-11 15:07 
AnswerRe: Getting data from host, convert to string and then to bytes again. Pin
Luc Pattyn12-Jun-11 15:21
sitebuilderLuc Pattyn12-Jun-11 15:21 
GeneralRe: Getting data from host, convert to string and then to bytes again. Pin
krosty478215-Jun-11 12:53
krosty478215-Jun-11 12:53 
AnswerRe: Getting data from host, convert to string and then to bytes again. Pin
Luc Pattyn12-Jun-11 15:34
sitebuilderLuc Pattyn12-Jun-11 15:34 

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.