protected void btn_Click_Click(object sender, EventArgs e)
{
if (!string.IsNullOrEmpty(txtRollNo.Text))
{
var employee = _service.GetEmployee(txtRollNo.Text);
if (employee != null)
{
MsgLitteral.ShowNotificationInline("Record Found",true);
}
else
{
MsgLitteral.ShowNotificationInline("Record not Found", false);
}
}
i just change the above code and that fine,thanx to all