-->

Wednesday 2 December 2020

 online food ordering system project

using System;

using System.Collections.Generic;

using System.Linq;

using System.Web;

using System.Web.UI;

using System.Web.UI.WebControls;


public partial class Member_Payment : System.Web.UI.Page

{

    DS_PAYMENT.PAYMENTMST_SELECTDataTable PtDT = new DS_PAYMENT.PAYMENTMST_SELECTDataTable();

    DS_PAYMENTTableAdapters.PAYMENTMST_SELECTTableAdapter PtAdapter = new DS_PAYMENTTableAdapters.PAYMENTMST_SELECTTableAdapter();

    DS_ORDER.ORDERMST_SELECTDataTable ODT = new DS_ORDER.ORDERMST_SELECTDataTable();

    DS_ORDERTableAdapters.ORDERMST_SELECTTableAdapter OAdapter = new DS_ORDERTableAdapters.ORDERMST_SELECTTableAdapter();


    protected void Page_Load(object sender, EventArgs e)

    {

        ODT = OAdapter.SELECT_AMT(Session["email"].ToString()); 


        lblamt.Text = ODT.Rows[0]["tprice"].ToString();

    }

    protected void rdoonine_CheckedChanged(object sender, EventArgs e)

    {

        MultiView1.ActiveViewIndex = 0;

    }

    protected void rdooffline_CheckedChanged(object sender, EventArgs e)

    {

        ODT = OAdapter.SELECT_AMT(Session["email"].ToString());


        lblamtt.Text = ODT.Rows[0]["tprice"].ToString();

    

        MultiView1.ActiveViewIndex = 1;

    }

    protected void btnpayonline_Click(object sender, EventArgs e)

    {

        PtAdapter.Insert(Session["email"].ToString(), "Online", drpbankname.SelectedItem.Text, txtcard.Text, Convert.ToInt32(txtcvv.Text), Convert.ToDouble(lblamt.Text));

        OAdapter.ORDERMST_UPDATE_STATUS_BY_EMAIL(Session["email"].ToString(), 1);

        

        Response.Redirect("Thanks.aspx");

    }

    protected void btnpayoffline_Click(object sender, EventArgs e)

    {

        

       // lblamtt.Text = lblamt.Text;

        PtAdapter.Insert(Session["email"].ToString(), "Offline", "-", "-", 0, Convert.ToDouble(lblamt.Text));

        OAdapter.ORDERMST_UPDATE_STATUS_BY_EMAIL(Session["email"].ToString(), 1);

        Response.Redirect("Thanks.aspx");

    }

}

Thursday 29 March 2018

KnockOut JS Basics Tutorial for Beginers



KnockOut JS Basics Tutorial for Beginers

Defining computed values

Very often, you'll want to combine or convert multiple observable values to make others. In this example, you might want to define full name as being first name plus space plus last name.
To handle this, Knockout has a concept of computed properties - these are observable (i.e., they notify on change) and they are computed based on the values of other observables.
Add a fullName property to your view model, by adding the following code inside AppViewModel, after firstName and lastName are declared:
this.fullName = ko.computed(function() {
    return this.firstName() + " " + this.lastName();    
}, this);
As you can see, we're passing a callback function to the ko.computed which specifies how it should compute its value. Next, display the fullName value in your UI by adding markup at the bottom of your view:
<p>Full name: <strong data-bind="text: fullName"></strong></p>
If you run the application now and edit the text boxes, you'll see that all UI elements (including the full name display) stay in sync with the underlying data.

How does it work?

Things stay in sync because of automatic dependency tracking: the last <strong> there depends on fullName, which in turn depends on firstName and lastName, and either of those can be altered by editing the textboxes. Any changes ripple out through the object graph causing the minimal set of refreshes needed to bring your viewmodel and visible UI up-to-date.






<p>First name: <strong data-bind="text: firstName"></strong></p>
<p>Last name: <strong data-bind="text: lastName"></strong></p>

<p>First name: <input data-bind="value: firstName" /></p>
<p>Last name: <input data-bind="value: lastName" /></p>

<p>Full name: <strong data-bind="text: fullName"></strong></p>




 // This is a simple *viewmodel* - JavaScript that defines the data and behavior of your UI
function AppViewModel() {
    this.firstName = ko.observable("Westpac");
    this.lastName = ko.observable("IBMTeam");
     
 this.fullName = ko.computed(function() {
        return this.firstName() + " " + this.lastName();  
    }, this);          
   
}

// Activates knockout.js
ko.applyBindings(new AppViewModel());







Output :


First name: Westpac
Last name: IBMTeam
First name:
Last name:
Full name: Westpac IBMTeam












Wednesday 11 October 2017

తల తెగినా ధైర్యంగా పోరాడే రాఙఫుత్



అభిమానులు ఎప్పుడెప్పుడా అని ఎదురుచూస్తున్న 'పద్మవతి' ట్రైలర్ వచ్చేసింది . ట్రైలర్ మొత్తం లో అల్లా వుద్దీన్ ఖిల్జీ క్రూరత్వాన్ని , మహారావల్ రతన్ సింగ్ ,రాణి పద్మావతి అనుబంధాన్ని ఖిల్జీ - రతన్ సింగ్ ల మధ్య జరిగే యుద్దని చూపించారు



ఖిల్జీ పాత్రలో రణవీర్ , మహారావల్ రతన్ సింగ్ పాత్రలో షాహిద్  కపూర్ , పద్మావతి పాత్రలో దీపికా పదుకొనె  నటించారు , ఫస్ట్ లుక్ లో చిపించినదానికంటే రాణి పద్మిని (పద్మావతి ) గా దీపికా ట్రైలర్ లో చాలా అందంగా కనిపించారు .
ట్రైలర్ లో 'రాజపుత్ ' ల ఖడ్గంలో ఎంత శక్తీ ఉంటుందో వారి కంకణంలోనూ అంతే శక్తి ఉంటుంది, అని దీపికా రాజపుత్ ల గురించి గొప్పగా చెపుతున్న  డైలాగ్ అందరిని ఆకట్టుకుంటుంది,  నేపధ్య సంగీతం కూడా హైలైట్ గా ఉన్నదీ.

ఈ చిత్ర ట్రైలెర్ను సోమవారం మధ్యాహ్నం ఒంటి గంట మూడు నిముషాలకు విడుదల చేసారు.  ఎందుకంటే  1303 లో చిత్తోర్ గఢ్ సామ్రాజ్యం కోసం రాణి పద్మావతి , మహారావల్ తతం సింగ్ తో సుల్తాన్ అల్లాహ్ వుద్దీన్ ఖిల్జీ యుద్ధం చేసి సామ్రాజ్యం ని చేజిక్కించుకున్నాడు . అందుకే ట్రైలర్ ని 1303 (13:03 గంటలకు)  విడుదల చేసారు .

WATCH TRAILER ON BELOW VIDEO






Wednesday 20 September 2017

Viajay Devarakonda అర్జున్ రెడ్డి Childhood Rare Photos



Viajay Devarakonda అర్జున్ రెడ్డి Childhood Rare Photos

Vijay's first serious step into the world of entertainment was his brief stint with a theatre group called Sutradhar, based out of Hyderabad. He did a 4-month workshop, which led him to several plays in the Hyderabad theatre circuit. 
His long standing association was with Ingenium Dramatics. Soon, he ventured into cinema.

Vijay played a minor role in Sekhar Kammula's Life is Beautiful. It was on that sets that he got introduced to an assistant director at the time, Nag Ashwin. It was Nag Ashwin who later gave Vijay his breakthrough role in 2015 movie Yevade Subramanyam alongside renowned actor Nani.The film was produced by the daughters of Ashwini Dutt,
a leading producer in Telugu Film Industry. Priyanka Dutt saw his potential and backed him, and once shooting started, 
Swapna Dutt signed him onto her company. The film went on to be a major success with Vijay’s portrayal of Rishi  winning hearts across the Telugu states, winning him great adulation among fans and critics alike.

Vijay Deverakonda's lead role was with Pelli Choopulu a romantic coming-of-age entertainer directed by Tharun Bhascker Dhaassyam, with Ritu Varma as the female lead. The film went on to become a blockbuster hit and also won Best Feature Film in Telugu in 64th National Film Awards. 
His recent film Arjun Reddy became a box office hit






















Thursday 7 September 2017

Arjun Reddy Uncensored With Vijay Devarakonda


Arjun Reddy Uncensored With Vijay Devarakonda











ARJUN REDDY STORY: A Brilliant medico who’s the topper of his class has anger management issues. What happens when he loses control of his life due to an unforeseen incident? Does he get a chance at redemption?

ARJUN REDDY REVIEW: Arjun Reddy (Vijay Deverakonda) is a vintage Bullet-riding, football-playing, angry, young final year medico who believes his actions are always justified. Preeti (Shalini Pandey), a first year student, walks into his life and it is love at first sight for the protagonist. She is a stark contrast to everything he is and at first, it seems like he bullies her into spending time with him. But time passes, love blossoms, passion roars, and nowhere does his fire lessen.

But things change; circumstances force Arjun away from his love and he seems to hit rock bottom with a force that’s surprising, yet expected. He turns into a modern day Devadas, complete with a dog by his side. From a brilliant young man whose only issue was his anger, he turns into a raging alcoholic who smokes pot during his downtime and does coke whenever it gets too much. Despite all this, he continues to practice as a surgeon at a hospital till life threatens to throw him on his back again.

There’s one dialogue in the movie that perfectly sums up the character of Arjun Reddy. Priyadarshi, who plays a cameo in the film, calls Arjun a ‘free spirited individual in a democratic world’. There’s nothing more apt than that to describe a character that you would both love and fear if you met him in real life. With ‘Arjun Reddy’, Sandeep Vanga has managed to tell a story that is seldom told, without sleaze or cheesy lines or OTT drama.

The protagonists of this film refreshingly refuse to confirm. All things scandalous to the world become but a way of life for Arjun. He questions the righteous middle class morality that society keeps throwing at his face, and lives his life without giving a damn. Even while turning to drugs, alcohol and casual sex, there’s an I-don’t-give-an-eff attitude about Arjun. For him, these are just means to an end -- an escape from his heartache. The writing is so real, the acting so raw that you forget Arjun Reddy is a character played by Vijay Deverakonda. You feel this the most when in a key scene before the interval you face a heartbroken Arjun Reddy and realise you too are left with a broken heart and lump in your throat as well. After a light-hearted film like ‘Pelli Choopulu’, Vijay Deverakonda has proven he’s more than just a pretty face, by carrying off a character as complex as this.

Preeti, on the other hand, starts out as a timid student you believe is being bullied and transforms into a woman who’s right in her convictions and strong enough to stand by them.

While Vijay Deverakonda is hands down the star of the show, and Preeti manages to come a close second, it is the character of Arjun’s friend Shiva (Rahul) that deserves a special mention. He manages to be the sunshine in a world that keeps getting darker for Arjun. Kanchana who plays his grandmother in the film pulled off the role with beautiful ease too.

The dialogues, characters, instances in the film are so raw and realistic, one almost does not mind the long run time that drags in the second half. What also deserve a special mention are the beautiful songs, with music director Radhan doing a brilliant job of them. ‘Arjun Reddy’ is simply put, the dawn of a new era of films for the Telugu film industry




WATCH MORE #TRENDING VIDEO ON THIS LINK



Rajinikanth Punch Dialogues -- All Time Super Hit Telugu Punch Dialogues



Rajinikanth Punch Dialogues -- All Time Super Hit Telugu Punch Dialogues

Watch Rajinikanth Punch Dialogues. Rajinikanth top punches or dialogues ever told in his movies, Rajinikanth

   







        Shivaji Rao Gaekwad (born 12 December 1950), known by his mononymous stage name Rajinikanth, is an Indian film actor, who works primarily in Tamil cinema. He began acting in plays while working in the Bangalore Transport Service as a bus conductor. In 1973, he joined the Madras Film Institute to pursue a diploma in acting. Following his debut in K. Balachander's Tamil drama Apoorva Raagangal (1975), his acting career commenced with a brief phase of portraying antagonistic characters in Tamil films.

      After earning ₹26 crore (equivalent to ₹55 crore or US$8.6 million in 2016) for his role in Sivaji (2007), he was the highest paid actor in Asia after Jackie Chan at the time. While working in other regional film industries of India, Rajinikanth has also appeared in the cinemas of other nations, including the American film Bloodstone (1988). As of 2014, Rajinikanth has won six Tamil Nadu State Film Awards, four Best Actor Awards and two Special Awards for Best Actor — and a Filmfare Best Tamil Actor Award. In addition to acting, he has also worked as a producer and screenwriter. Apart from his film career, he is also a philanthropist, spiritualist, and serves as an influence in Dravidian politics.





 online food ordering system project using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.U...