Wednesday, November 11, 2009

How to use Delete Function in Asp.Net !!

Protected void MyCart()
{
string temid=lblid.Text;
Delete(temid);
}


Private void Delete(txtI)
{
scon.open();
string str="Delete from TblMycart where MyCart_id="+txtI+"";

}

No comments: