PAN card with Asp.Net MVC
HI, I have the small issue Regarding the MVC GRID. The problem is When I enter the details i.e; first name and last name based on the last name I need to generate the Random PAN CARD Number i.e AAAAY0000A in This String first 4 letters I need to generate random letter up to ZZZZ and 5th letter must have come from the SURNAME and remaining 4 digits generate random numbers from 0000 to 9999 n 10th letter must be generated RANDOM IN A Sequence i.e A TO Z ...Can You Please Help me from this Problem???

sudipta sanyalRank #1,945 · 753 reputationPosted Jul 15, 2018, 10:21 PM EDT
Yeswanth Chintapalli65 reputationPosted Jul 15, 2018, 10:35 PM EDT
Jenith ThakkarRank #789 · 2.9K reputationPosted Jul 15, 2018, 10:45 PM EDT
Try this. I hope it will help you
Yeswanth Chintapalli65 reputationPosted Jul 15, 2018, 11:22 PM EDT
Yeswanth Chintapalli65 reputationPosted Jul 15, 2018, 11:24 PM EDT
Jenith ThakkarRank #789 · 2.9K reputationPosted Jul 16, 2018, 12:10 AM EDT
It's using MVC Library so you just need to initialise Random as per above so copy above code and try again
Yeswanth Chintapalli65 reputationPosted Jul 16, 2018, 12:43 AM EDT
Yeswanth Chintapalli65 reputationPosted Jul 16, 2018, 12:44 AM EDT
Yeswanth Chintapalli65 reputationPosted Jul 16, 2018, 12:45 AM EDT
Yeswanth Chintapalli65 reputationPosted Jul 16, 2018, 12:49 AM EDT
Jenith ThakkarRank #789 · 2.9K reputationPosted Jul 16, 2018, 1:57 AM EDT
yeswanth chintapalli10 reputationPosted Jul 16, 2018, 7:06 AM EDT
Yeswanth Chintapalli65 reputationPosted Jul 16, 2018, 8:02 PM EDT
Jenith ThakkarRank #789 · 2.9K reputationPosted Jul 16, 2018, 8:30 PM EDT
https://www.livemint.com/Money/bEe3EsIjIqGpWsRcVKcWHP/Oneminute-Guide--Your-PAN-discloses-your-details.html
Please Check this link. as per this link It will Random Number like BEP so it dosen't Matter the Sequence you can create it Random
Yeswanth Chintapalli65 reputationPosted Jul 16, 2018, 8:40 PM EDT
Yeswanth Chintapalli65 reputationPosted Jul 16, 2018, 9:43 PM EDT
Jenith ThakkarRank #789 · 2.9K reputationPosted Jul 16, 2018, 10:07 PM EDT
Yeswanth Chintapalli65 reputationPosted Jul 16, 2018, 11:12 PM EDT
Jenith ThakkarRank #789 · 2.9K reputationPosted Jul 17, 2018, 12:11 AM EDT
have you change "AAAAC0001A"; to get last record pancard value from database?
Yeswanth Chintapalli65 reputationPosted Jul 17, 2018, 12:27 AM EDT
Yeswanth Chintapalli65 reputationPosted Jul 17, 2018, 12:36 AM EDT
Jenith ThakkarRank #789 · 2.9K reputationPosted Jul 17, 2018, 12:39 AM EDT
Yeswanth Chintapalli65 reputationPosted Jul 17, 2018, 12:47 AM EDT
Jenith Thakkar
Yeswanth Chintapalli65 reputationPosted Jul 17, 2018, 1:58 AM EDT
Yeswanth Chintapalli65 reputationPosted Jul 17, 2018, 2:44 AM EDT