Click here to Skip to main content
15,390,695 members

Comments by Alex Dunlop (Top 8 by date)

Alex Dunlop 5-Nov-21 5:44am View
The first problem is that if I leave username and password fields blank, a warning notification should be appeared at the bottom of the modal (saying "Invalid username or password!"). But when I press the login button, nothing happens.
Alex Dunlop 10-Oct-21 9:44am View
Thanks. No, I save hashed passwords in MySQL table when the user signup.
For example, user's pass is stored as below:
Alex Dunlop 24-Aug-21 2:58am View
Thanks. I know that Distict() can render unique list. But I want to find the index of them.
Alex Dunlop 24-Aug-21 2:56am View
The last part is wrong (pair.index).
Alex Dunlop 4-Jun-21 13:09pm View
Please help me to know how I can use 'IF' statement in SQL CE and C#.
Please give me an example.
Alex Dunlop 25-Jan-21 12:37pm View
I tried to create a list of values:
IWorkbook workbook = spreadsheetControl.Document;
Worksheet worksheet = workbook.Worksheets["Sheet1"];
CellRange range = worksheet.GetUsedRange();
int LastRow = range.BottomRowIndex;

List<int> numbers = new List<int>();

for (int i = 0; i<12; i++)
numbers.Add(Convert.ToInt32(worksheet.Cells[i, 0].Value));
The last line needs to be converted to integer, but it gives runtime error:
System.InvalidCastException: 'Unable to cast object of type 'DevExpress.Spreadsheet.CellValue' to type 'System.IConvertible'.'
Alex Dunlop 12-Jan-21 11:49am View
Please guide me by giving a code so I can study and learn.
Alex Dunlop 31-Aug-20 22:38pm View
I want to learn how such an app can be made. Whether I need to use library? What kind of library should be used?
My final goal is to make my own customized app. Actually, I want to monitor a specific .exe application, when it establishes a connection.