Posts

swal alert message Box using Angular 7

Swal({ Title:"ARE you sure?" text: "you want to logout " Type: "warning", ShowCancelButton:true, Focusconfirm:false, }) .then((willDelete) =>{ if(WillDelete.value) { this.authservice.logout(); this.router.navigate(['/logout']); } });

Two way Binding syntax In Angular

Component.html Double curly braces are used two way Binding in Angular 7 {{......}} Eg- <table> <tr> <td>{{SUDAM}}</td> </tr>

how to add proxy file in Angular 7

Package.json "start": " ng-server. ---proxy-config proxy-config.json"(proxy file name) Proxy.config.json { "/api:"/{ "traget": "url", "secure": false } }

inspiration

Today something awesome today...

how to.check Pan No is Already Exit Or Not In C#

 checking PAN No is already present or not             if (!string.IsNullOrEmpty(Convert.ToString(ViewState["UserpanID"])))             {                 if ( CheckPannoExistOrNot (txtpanno.Text.Trim()))                 {                     sb.Append("Pan No Is Already Exists");                     lblpanError.Text = sb.ToString();                     sb.Clear();                     txtpanno.Text = string.Empty;                     return;                 }             }   Private bool CheckPannoExist...

Popular posts from this blog

Insert Data in database and bind to gridview

Api

Oracle database