count records in SqlDataSource : asp .net c# : Tech Guru India count records in SqlDataSource : asp .net c# :: Tech Guru India

count records in SqlDataSource : asp .net c#




Select the "Selected" event from the event list of SqlDataSource and then,

protected void SqlDataSource1_Selected(object sender, SqlDataSourceStatusEventArgs e)
    {
        if (e.AffectedRows == 0)
        {
            warningLbl.Text = "No Record Found with this Student Number!";
            return;
        }

    }


We will send you more information, Enter your email address:


Related Posts with Thumbnails

Share/Save/Bookmark

0 comments:

Post a Comment