Wednesday, January 19, 2011

Stored Procedure in Linq in asp.net

MyLinqDataClassesDataContext mylinq = new MyLinqDataClassesDataContext();
var pwd=mylinq.StoredProcedurename(txt_getpassword.Text);
        //GridView1.DataSource = pwd;
        //GridView1.DataBind();
        foreach (var pw in pwd)
        {
            Label1.Text = pw.password_db.ToString();
        }

No comments:

Post a Comment