Click here to Skip to main content
15,890,123 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: s/m has to send mail on button click event Pin
Member 870181318-Feb-13 7:26
Member 870181318-Feb-13 7:26 
Questionsending mail on button click event from the s/m Pin
Member 870181318-Feb-13 5:15
Member 870181318-Feb-13 5:15 
AnswerRe: sending mail on button click event from the s/m Pin
Sandeep Mewara18-Feb-13 6:00
mveSandeep Mewara18-Feb-13 6:00 
QuestionUsing Ajax in my project Pin
javeed03518-Feb-13 3:32
javeed03518-Feb-13 3:32 
Questionweb service keep a process open Pin
dcof17-Feb-13 13:12
dcof17-Feb-13 13:12 
AnswerRe: web service keep a process open Pin
N a v a n e e t h17-Feb-13 17:15
N a v a n e e t h17-Feb-13 17:15 
Questionerror in passing array parameter to a storedprocedure Pin
Member 870181316-Feb-13 16:28
Member 870181316-Feb-13 16:28 
AnswerRe: error in passing array parameter to a storedprocedure Pin
Sandeep Mewara16-Feb-13 18:18
mveSandeep Mewara16-Feb-13 18:18 
Member 8701813 wrote:
cmd.Parameters.AddWithValue("@Document1location", doc1location);
cmd.Parameters.AddWithValue("@Document2location", doc2location);
cmd.Parameters.AddWithValue("@Document3location", doc3location);


Member 8701813 wrote:
@doc1location nvarchar(max),
@doc2location nvarchar(max),
@doc3location nvarchar(max),

Do you see the mismatch in the names of the parameter?

SP is expecting a parameter name '@doc1location' where as you are passing '@Document1location' from your code. (same error will be raised for doc2 & doc3).

Make sure the parameter name expected/defined in SP is exactly the same as you pass from your code behind.
Sandeep Mewara
Microsoft ASP.NET MVP 2012 & 2013

[My Blog]: Sandeep Mewara's Tech Journal!
[My Latest Article]: HTML5 Quick Start Web Application

GeneralRe: error in passing array parameter to a storedprocedure Pin
Member 870181316-Feb-13 20:45
Member 870181316-Feb-13 20:45 
QuestionPublishing asp.net website on cpanel Pin
Arun kumar Gautam15-Feb-13 2:12
Arun kumar Gautam15-Feb-13 2:12 
AnswerRe: Publishing asp.net website on cpanel Pin
Richard Deeming15-Feb-13 2:38
mveRichard Deeming15-Feb-13 2:38 
Questionasp.net Pin
Member 983745515-Feb-13 0:49
Member 983745515-Feb-13 0:49 
AnswerRe: asp.net Pin
Marco Bertschi15-Feb-13 2:43
protectorMarco Bertschi15-Feb-13 2:43 
AnswerA quick tip for new members... Pin
Marco Bertschi15-Feb-13 2:49
protectorMarco Bertschi15-Feb-13 2:49 
AnswerRe: asp.net Pin
Sandeep Mewara15-Feb-13 10:07
mveSandeep Mewara15-Feb-13 10:07 
Questionasp.net Pin
Member 983745515-Feb-13 0:47
Member 983745515-Feb-13 0:47 
AnswerRe: asp.net Pin
Marco Bertschi15-Feb-13 2:41
protectorMarco Bertschi15-Feb-13 2:41 
Questionfileupload control Pin
Member 870181314-Feb-13 20:58
Member 870181314-Feb-13 20:58 
AnswerRe: fileupload control Pin
Sandeep Mewara15-Feb-13 10:09
mveSandeep Mewara15-Feb-13 10:09 
Questionhow to check the given string language weather it is marathi hindi or any other Pin
jalbaji13-Feb-13 8:57
professionaljalbaji13-Feb-13 8:57 
AnswerRe: how to check the given string language weather it is marathi hindi or any other Pin
Richard Deeming13-Feb-13 9:44
mveRichard Deeming13-Feb-13 9:44 
AnswerRe: how to check the given string language weather it is marathi hindi or any other Pin
N a v a n e e t h13-Feb-13 19:14
N a v a n e e t h13-Feb-13 19:14 
Questionvbscript question.. Pin
buffering8313-Feb-13 0:48
buffering8313-Feb-13 0:48 
QuestionSelect only 1 checbox in a checkbox list Pin
berba12-Feb-13 23:21
berba12-Feb-13 23:21 
AnswerRe: Select only 1 checbox in a checkbox list Pin
Sandeep Mewara13-Feb-13 0:03
mveSandeep Mewara13-Feb-13 0:03 

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.