Wednesday, 22 December 2021

Saturday, 18 December 2021

angular material

 datatable delete method click here


angular material pagenation issue if refresh goto first page.

    this.paginator.page.next({
          pageIndex: this.paginator.pageIndex,
          pageSize: this.paginator.pageSize,
          length: this.paginator.length
        });
for details c in contianer status page in wms

Wednesday, 15 December 2021

Upload files to Drive Using APIs

  • I have written js code to upload files to drive using javascript.
this is the sample output screenshot.




file uploading successfully.

project link check here click



github repo to url

 Generate project static link

google api upload to drive Link Check this

list of steps how to make repo to url

1.go to git repo settings.

2.select pages.

Saturday, 11 December 2021

C#

https://www.geeksforgeeks.org/c-sharp-method-overloading/

Friday, 10 December 2021

angular reactive forms

 

<!--
Sometimes, we don’t need a FormGroup, as our form might only consist of a single form control. Think of a search field that let’s you search for products in an e-commerce application. Technically, we don’t even need a <form> element for that.
Angular comes with a directive formControl which doesn’t have to be inside a formGroup. We can simply add it to a single form control and are ready to go:
-->
<!-- no surrounding form -->
<input type="search" [formControl]="seachControl">
<!--
The cool thing about form controls in Angular is,
that we can listen reactively for changes that are happening to that control.
Every form controls exposes an Observable propery valuesChanges() that we can subscribe to.
So in order to get notified about changes in the example above, all we have to do is:
-->
@Component()
export class SearchComponent implements OnInit {
searchControl = new FormControl();
ngOnInit() {
this.searchControl.valueChanges.subscribe(value => {
// do something with value here
});
}

Friday, 3 December 2021

GK MP3

 gk audio

GK audio Mp3


copy array in chrome console

 copy object or array in chrome console.

check

1.right click in console on object which like to copy

2.select save as object.dn u will get name as temp1.

3.write copty(temp1) then it will copy for you u can paste it anyware.


Thursday, 2 December 2021

c# features

 c# features

https://devblogs.microsoft.com/dotnet/c-9-0-on-the-record/#top-level-programs

take look and note down the points


javascripts nice points check here


7 Common mistakes in Dot Net — You can avoid

  There are many common mistakes made during .NET (ASP.NET, .NET Core) development, which affect performance, security, and code… Code Crack...