Click here to Skip to main content
15,919,479 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Passing Querystring Variable into Codebehind to Query The Database Pin
Declan Bright22-Mar-08 12:43
Declan Bright22-Mar-08 12:43 
GeneralRe: Passing Querystring Variable into Codebehind to Query The Database Pin
Christian Graus22-Mar-08 13:13
protectorChristian Graus22-Mar-08 13:13 
GeneralRe: Passing Querystring Variable into Codebehind to Query The Database Pin
Christian Graus22-Mar-08 13:11
protectorChristian Graus22-Mar-08 13:11 
GeneralRe: Passing Querystring Variable into Codebehind to Query The Database Pin
Paul McGann22-Mar-08 14:53
professionalPaul McGann22-Mar-08 14:53 
QuestionButton click event in user control Pin
indian14322-Mar-08 7:54
indian14322-Mar-08 7:54 
GeneralRe: Button click event in user control Pin
N a v a n e e t h22-Mar-08 8:58
N a v a n e e t h22-Mar-08 8:58 
QuestionRe: Button click event in user control Pin
indian14324-Mar-08 2:33
indian14324-Mar-08 2:33 
GeneralFormView Nasty Pin
Brady Kelly22-Mar-08 6:13
Brady Kelly22-Mar-08 6:13 
I've just spent about two hours figuring out why a simple FormView, with only an InsertItemTemplate, and a SqlDataSource with a simple stored proc insert command, just would not insert.  No exception was thrown, and even the ItemInserted event was firing, but in the DB?  Nadda!

Then I realised I was probably adding a bad parameter to the Values collection in the ItemInserting even, and sure enough, the code below works because the commented out line refers to a non-existent parameter, but nothing tells one this.  I like exceptions!

<code>
    protected void fvTest_ItemInserting(object sender, FormViewInsertEventArgs e)
    {
        e.Values["commentTypeId"] = 1;
        //e.Values["feedbackRefNum"] = GetFeedbackRefNo();
    }
</code>



GeneralRe: FormView Nasty Pin
Pete O'Hanlon22-Mar-08 9:47
mvePete O'Hanlon22-Mar-08 9:47 
GeneralRe: FormView Nasty Pin
Brady Kelly23-Mar-08 3:33
Brady Kelly23-Mar-08 3:33 
GeneralRe: FormView Nasty Pin
Pete O'Hanlon23-Mar-08 10:15
mvePete O'Hanlon23-Mar-08 10:15 
GeneralRe: FormView Nasty Pin
Brady Kelly24-Mar-08 6:51
Brady Kelly24-Mar-08 6:51 
GeneralRe: FormView Nasty Pin
Christian Graus22-Mar-08 11:40
protectorChristian Graus22-Mar-08 11:40 
GeneralRe: FormView Nasty Pin
Brady Kelly23-Mar-08 3:33
Brady Kelly23-Mar-08 3:33 
GeneralUnique constraint in SQLServer Database Pin
Mohammad A Gdeisat22-Mar-08 3:35
Mohammad A Gdeisat22-Mar-08 3:35 
GeneralRe: Unique constraint in SQLServer Database Pin
pmarfleet22-Mar-08 3:47
pmarfleet22-Mar-08 3:47 
GeneralRe: Unique constraint in SQLServer Database Pin
Mohammad A Gdeisat22-Mar-08 4:05
Mohammad A Gdeisat22-Mar-08 4:05 
GeneralCalling a web form as a class Pin
abdelhameed8122-Mar-08 2:54
abdelhameed8122-Mar-08 2:54 
GeneralRe: Calling a web form as a class Pin
pmarfleet22-Mar-08 3:20
pmarfleet22-Mar-08 3:20 
GeneralRe: Calling a web form as a class Pin
abdelhameed8122-Mar-08 3:27
abdelhameed8122-Mar-08 3:27 
GeneralRe: Calling a web form as a class Pin
pmarfleet22-Mar-08 3:51
pmarfleet22-Mar-08 3:51 
GeneralRe: Calling a web form as a class Pin
abdelhameed8122-Mar-08 4:01
abdelhameed8122-Mar-08 4:01 
GeneralRe: Calling a web form as a class Pin
Colin Angus Mackay22-Mar-08 3:23
Colin Angus Mackay22-Mar-08 3:23 
GeneralRe: Calling a web form as a class Pin
abdelhameed8122-Mar-08 3:30
abdelhameed8122-Mar-08 3:30 
QuestionAdding user control at runtime Pin
indian14322-Mar-08 1:59
indian14322-Mar-08 1:59 

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.