Solved

posback url

Posted on 2009-05-20
2
247 Views
Last Modified: 2012-05-07
hello,

I was testing my postback and it is not working all the time I get the url visitId =1

/evaluation.aspx?r=25&e=1

need help
try
        {
            myConnection.Open();
            cmd3.ExecuteNonQuery();
            cmd0.CommandType = System.Data.CommandType.Text;
            txtEvaluationVisitID.Text = cmd0.ExecuteScalar().ToString();
 
        }
        catch (Exception exc)
        {
            lblMessage3.Text = exc.Message;
        }
 
        finally
        {
            Response.Redirect("evaluation.aspx?r=" + Request.QueryString["r"] + "&e=" + txtEvaluationVisitID.Text);
            myConnection.Close();
        }

Open in new window

0
Comment
Question by:Romacali
2 Comments
 
LVL 6

Accepted Solution

by:
ViceroyFizzlebottom earned 500 total points
ID: 24436141
You need to be a little more specific. If the value e=1 isn't what you would expect, can you post an example of cmd0.Text (what query is being run.)

If the value e=1 is acceptable and you're not getting the behavior you expect from evaluation.aspx, you need to post at the least the Page_Load() code from that aspx page.
0
 

Author Comment

by:Romacali
ID: 24436978
actually the procedure was wrong.. thanks for trying to help.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question