when uploading adhar image file, it will be save but when fetching then masling adhar image file will be displayed in grid view.
Loading
when uploading adhar image file, it will be save but when fetching then masling adhar image file will be displayed in grid view.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ashutosh SinghPosted Oct 25, 2023, 1:18 PM
Masking Aadhar Card: To mask the last 4 digits of the Aadhar card, you can use an image processing library like ImageMagick or a programming language with image manipulation capabilities, such as C# in a .NET Core application. Below is an example using C#:
Display in GridView: When displaying the images in your GridView, retrieve the masked image and show it in the GridView.
Tahir AnsariPosted Oct 20, 2023, 2:36 PM
we load the original image, create a black rectangle to cover the last 4 digits, and then save the modified image.
Display Masked Image In your grid view, display the masked image that you generated in step 2. You can simply bind the path to the masked image file to the grid view, and it will display the modified image.