Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


posback url

Posted on 2009-05-20
Medium Priority
Last Modified: 2012-05-07

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


need help
            cmd0.CommandType = System.Data.CommandType.Text;
            txtEvaluationVisitID.Text = cmd0.ExecuteScalar().ToString();
        catch (Exception exc)
            lblMessage3.Text = exc.Message;
            Response.Redirect("evaluation.aspx?r=" + Request.QueryString["r"] + "&e=" + txtEvaluationVisitID.Text);

Open in new window

Question by:Romacali
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

ViceroyFizzlebottom earned 1500 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.

Author Comment

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

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

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…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

705 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