Hello
I am facing a problem with my below code as the could should check if the user ("which is session UsrName") if he already has an order in ShoppingCart table then show panel "excitORDERpanel" and label "Payexictlbl" show show the message and in same time
did not insert any new record for the same user as i mention if he already has order. Otherwise complete the code and insert the order. But what is happen there is already order for same user and the code just complete to show View7
protected void nextpaybtn_Click(object sender, EventArgs e)
{
if (Session["UsrNme"] != null)
{
var Usersss = Session["UsrNme"];
using (var chkorderCom = new SqlConnection(sc))
{
chkorderCom.Open();
string chkselectstring = "Select count (*) from ShoppingCart where UID= ...
Go to the complete details ...