Click here to Skip to main content
15,888,286 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow to use reusuable control in ajax tab control? Pin
Dhyanga6-Apr-11 4:38
Dhyanga6-Apr-11 4:38 
AnswerRe: how to use reusuable control in ajax tab control? Pin
Ali Al Omairi(Abu AlHassan)7-Apr-11 11:00
professionalAli Al Omairi(Abu AlHassan)7-Apr-11 11:00 
GeneralRe: how to use reusuable control in ajax tab control? Pin
Dhyanga12-Apr-11 5:25
Dhyanga12-Apr-11 5:25 
GeneralRe: how to use reusuable control in ajax tab control? Pin
Ali Al Omairi(Abu AlHassan)12-Apr-11 20:15
professionalAli Al Omairi(Abu AlHassan)12-Apr-11 20:15 
QuestionDownloading files from server. Pin
sarang_k6-Apr-11 2:18
sarang_k6-Apr-11 2:18 
AnswerRe: Downloading files from server. Pin
meeram3956-Apr-11 2:32
meeram3956-Apr-11 2:32 
Questionimage filepath name not stored Pin
kannan 26-Apr-11 1:34
kannan 26-Apr-11 1:34 
AnswerRe: image filepath name not stored Pin
Pete O'Hanlon6-Apr-11 2:12
mvePete O'Hanlon6-Apr-11 2:12 
You're adding to your parameters in the following lines:
C#
cmd.CommandText = "photosets";
cmd.CommandType = CommandType.StoredProcedure;
cmd.Connection = con;
cmd.Parameters.Add("@Systemurl", SqlDbType.Image).Value = pic;
SqlParameter Src = new SqlParameter("@FilePath", SqlDbType.VarChar, 450);
cmd.Parameters.Add("@Amount", SqlDbType.NVarChar).Value = TextBox8.Text;
cmd.Parameters.Add("@Total", SqlDbType.NVarChar).Value = TextBox9.Text;
The parameters collection has previously been assigned to by the command before it (even though you are changing the command you are issuing, you are still using the same command instance). Just before this, add the line
C#
cmd.Parameters.Clear();

I'm not a stalker, I just know things. Oh by the way, you're out of milk.

Forgive your enemies - it messes with their heads


My blog | My articles | MoXAML PowerToys | Onyx


AnswerRe: image filepath name not stored Pin
dpkchhirang6-Apr-11 2:20
dpkchhirang6-Apr-11 2:20 
QuestionGoogle map with multiple markers Pin
venu6565-Apr-11 21:21
venu6565-Apr-11 21:21 
AnswerRe: Google map with multiple markers Pin
De_Novice8-Apr-11 11:32
De_Novice8-Apr-11 11:32 
QuestionWill you please post some code. Pin
Sheikh Sajid Ali5-Apr-11 20:20
Sheikh Sajid Ali5-Apr-11 20:20 
AnswerRe: Will you please post some code. Pin
Pete O'Hanlon6-Apr-11 2:19
mvePete O'Hanlon6-Apr-11 2:19 
QuestionRefresh Parent Window And Close Popup Window Pin
Orcun Iyigun5-Apr-11 15:09
Orcun Iyigun5-Apr-11 15:09 
Questiononly get one last record with the same field value during sorting database records Pin
Farhad Eft5-Apr-11 7:46
Farhad Eft5-Apr-11 7:46 
AnswerRe: only get one last record with the same field value during sorting database records Pin
Wendelius5-Apr-11 8:34
mentorWendelius5-Apr-11 8:34 
AnswerRe: only get one last record with the same field value during sorting database records Pin
Viral Upadhyay5-Apr-11 8:35
Viral Upadhyay5-Apr-11 8:35 
QuestionProblem with DropDownList and RequiredFieldValidator Pin
kbalias5-Apr-11 3:10
kbalias5-Apr-11 3:10 
AnswerRe: Problem with DropDownList and RequiredFieldValidator Pin
Not Active5-Apr-11 7:00
mentorNot Active5-Apr-11 7:00 
AnswerRe: Problem with DropDownList and RequiredFieldValidator Pin
Parwej Ahamad5-Apr-11 8:47
professionalParwej Ahamad5-Apr-11 8:47 
AnswerRe: Problem with DropDownList and RequiredFieldValidator Pin
Prasanta_Prince14-Apr-11 0:59
Prasanta_Prince14-Apr-11 0:59 
GeneralRe: Problem with DropDownList and RequiredFieldValidator Pin
kbalias27-Apr-11 21:06
kbalias27-Apr-11 21:06 
GeneralRe: Problem with DropDownList and RequiredFieldValidator Pin
Prasanta_Prince28-Apr-11 3:42
Prasanta_Prince28-Apr-11 3:42 
QuestionPaypal Tax Pin
Ramkumar_S5-Apr-11 2:28
Ramkumar_S5-Apr-11 2:28 
QuestionNeed help in implementing new skin for AuctionWorx Pin
NetMan20125-Apr-11 1:50
NetMan20125-Apr-11 1:50 

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.