Click here to Skip to main content
15,907,687 members
Home / Discussions / C#
   

C#

 
AnswerRe: List not printing out hardcoded books already added to list Pin
Dave Kreskowiak30-Mar-21 14:03
mveDave Kreskowiak30-Mar-21 14:03 
GeneralRe: List not printing out hardcoded books already added to list Pin
Member 1451443231-Mar-21 10:27
Member 1451443231-Mar-21 10:27 
GeneralRe: List not printing out hardcoded books already added to list Pin
Dave Kreskowiak31-Mar-21 10:33
mveDave Kreskowiak31-Mar-21 10:33 
GeneralRe: List not printing out hardcoded books already added to list Pin
Member 1451443231-Mar-21 10:43
Member 1451443231-Mar-21 10:43 
QuestionHow to convert a column of DataTable into integer values? Pin
Alex Dunlop29-Mar-21 5:30
Alex Dunlop29-Mar-21 5:30 
AnswerRe: How to convert a column of DataTable into integer values? Pin
Richard Deeming29-Mar-21 5:42
mveRichard Deeming29-Mar-21 5:42 
AnswerRe: How to convert a column of DataTable into integer values? Pin
Mycroft Holmes29-Mar-21 20:21
professionalMycroft Holmes29-Mar-21 20:21 
AnswerRe: How to convert a column of DataTable into integer values? Pin
Arfat M1-Apr-21 19:58
Arfat M1-Apr-21 19:58 
GeneralRe: How to convert a column of DataTable into integer values? Pin
Richard Deeming6-Apr-21 0:06
mveRichard Deeming6-Apr-21 0:06 
GeneralChanging value in variable from another called class Pin
StealthRT28-Mar-21 17:26
StealthRT28-Mar-21 17:26 
GeneralRe: Changing value in variable from another called class Pin
Richard Deeming28-Mar-21 22:15
mveRichard Deeming28-Mar-21 22:15 
QuestionHow to detect user email address when user clicks on a link sent to their email? Pin
Zeyad Jalil28-Mar-21 1:44
professionalZeyad Jalil28-Mar-21 1:44 
AnswerRe: How to detect user email address when user clicks on a link sent to their email? Pin
Dave Kreskowiak28-Mar-21 8:20
mveDave Kreskowiak28-Mar-21 8:20 
AnswerRe: How to detect user email address when user clicks on a link sent to their email? Pin
OriginalGriff28-Mar-21 9:59
mveOriginalGriff28-Mar-21 9:59 
Dave suggests one way, but another is to add a query code to the link. Make it unreadable - a Guid is fine - and use that value to lookup in your "sent emails" database which user email address it was sent to.

This way, you don't expose any sensitive info, and it's not possible (or at least feasible in a reasonable timeframe) to give a fake email and then confirm it without the actual email sent by you. It's also simple to "expire" confirmations. What you end up with is a URL that is readable, copy'n'pasteable, or clickable, but preety much impossible to guess:
mydomain.com/register.aspx?ec=50660b24af1f4056afc292ed3f9cece1

"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

AnswerRe: How to detect user email address when user clicks on a link sent to their email? Pin
Richard Deeming28-Mar-21 22:04
mveRichard Deeming28-Mar-21 22:04 
QuestionHow to access cell information and controls of DevExpress Spreadsheet Form from another form in the same application? Pin
Alex Dunlop25-Mar-21 2:43
Alex Dunlop25-Mar-21 2:43 
AnswerRe: How to access cell information and controls of DevExpress Spreadsheet Form from another form in the same application? Pin
OriginalGriff25-Mar-21 5:03
mveOriginalGriff25-Mar-21 5:03 
GeneralRe: How to access cell information and controls of DevExpress Spreadsheet Form from another form in the same application? Pin
Gerry Schmitz25-Mar-21 7:42
mveGerry Schmitz25-Mar-21 7:42 
GeneralRe: How to access cell information and controls of DevExpress Spreadsheet Form from another form in the same application? Pin
OriginalGriff25-Mar-21 11:09
mveOriginalGriff25-Mar-21 11:09 
AnswerRe: How to access cell information and controls of DevExpress Spreadsheet Form from another form in the same application? Pin
Gerry Schmitz25-Mar-21 7:40
mveGerry Schmitz25-Mar-21 7:40 
QuestionChecking for existing open forms Pin
Alex Dunlop24-Mar-21 23:26
Alex Dunlop24-Mar-21 23:26 
AnswerRe: Checking for existing open forms Pin
OriginalGriff24-Mar-21 23:38
mveOriginalGriff24-Mar-21 23:38 
GeneralRe: Checking for existing open forms Pin
Alex Dunlop25-Mar-21 0:08
Alex Dunlop25-Mar-21 0:08 
GeneralRe: Checking for existing open forms Pin
OriginalGriff25-Mar-21 0:37
mveOriginalGriff25-Mar-21 0:37 
AnswerRe: Checking for existing open forms Pin
Richard Deeming25-Mar-21 2:51
mveRichard Deeming25-Mar-21 2:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.