Answers for "delete database items from repeater asp .net"

C#
0

delete database items from repeater asp .net

void Repeater_ItemCommand(Object Sender, RepeaterCommandEventArgs e) {        
    if( e.CommandName == "Delete" ) {
        int id = e.CommandArgument.ToString().Numeric();

        db.SPs.SpDeleteAccount(id).Execute();
        // the rest of your code
    }
}
Posted by: Guest on November-06-2020

Code answers related to "delete database items from repeater asp .net"

C# Answers by Framework

Browse Popular Code Answers by Language