Click here to Skip to main content
15,881,172 members
Home / Discussions / C#
   

C#

 
AnswerRe: History of compiler optimization: function inlining Pin
F-ES Sitecore7-Jan-20 22:44
professionalF-ES Sitecore7-Jan-20 22:44 
AnswerRe: History of compiler optimization: function inlining Pin
OriginalGriff7-Jan-20 22:51
mveOriginalGriff7-Jan-20 22:51 
AnswerRe: History of compiler optimization: function inlining Pin
Peter_in_27808-Jan-20 1:20
professionalPeter_in_27808-Jan-20 1:20 
AnswerRe: History of compiler optimization: function inlining Pin
Gerry Schmitz8-Jan-20 6:08
mveGerry Schmitz8-Jan-20 6:08 
AnswerRe: History of compiler optimization: function inlining Pin
kalberts23-Jan-20 0:52
kalberts23-Jan-20 0:52 
QuestionAES Decryption error "The input data is not a complete block" Pin
Member 132610847-Jan-20 0:14
Member 132610847-Jan-20 0:14 
AnswerRe: AES Decryption error "The input data is not a complete block" Pin
OriginalGriff7-Jan-20 0:36
mveOriginalGriff7-Jan-20 0:36 
GeneralRe: AES Decryption error "The input data is not a complete block" Pin
Member 132610847-Jan-20 1:38
Member 132610847-Jan-20 1:38 
I have found the problem using debug and it was my own silly mistake.
I was using the code:
C#
for(int i = 0; i < DataGridView1.Rows.Count; i++)
                {
                    DataGridView1.Rows[i].Cells[1].Value = Decrypt(DataGridView1.Rows[0].Cells[1].Value.ToString());
                }


As you can see each row was getting the value of the first row. So on the first row it was decrypting the string but on the second line it was trying to decrypt the first row that it had already decrypted. Hence the error.
I think I need a break that was quite embarrassing.
Thanks again for your help.
GeneralRe: AES Decryption error "The input data is not a complete block" Pin
OriginalGriff7-Jan-20 1:52
mveOriginalGriff7-Jan-20 1:52 
QuestionChatBot retrieve data from SharePoint On Premise Issue Pin
engsooncheah5-Jan-20 14:43
engsooncheah5-Jan-20 14:43 
AnswerRe: ChatBot retrieve data from SharePoint On Premise Issue Pin
Eddy Vluggen6-Jan-20 1:38
professionalEddy Vluggen6-Jan-20 1:38 
AnswerRe: ChatBot retrieve data from SharePoint On Premise Issue Pin
Afzaal Ahmad Zeeshan6-Jan-20 3:23
professionalAfzaal Ahmad Zeeshan6-Jan-20 3:23 
GeneralRe: ChatBot retrieve data from SharePoint On Premise Issue Pin
engsooncheah6-Jan-20 14:14
engsooncheah6-Jan-20 14:14 
GeneralRe: ChatBot retrieve data from SharePoint On Premise Issue Pin
Afzaal Ahmad Zeeshan6-Jan-20 23:09
professionalAfzaal Ahmad Zeeshan6-Jan-20 23:09 
GeneralRe: ChatBot retrieve data from SharePoint On Premise Issue Pin
engsooncheah7-Jan-20 21:23
engsooncheah7-Jan-20 21:23 
GeneralRe: ChatBot retrieve data from SharePoint On Premise Issue Pin
Afzaal Ahmad Zeeshan7-Jan-20 22:03
professionalAfzaal Ahmad Zeeshan7-Jan-20 22:03 
GeneralRe: ChatBot retrieve data from SharePoint On Premise Issue Pin
engsooncheah9-Jan-20 14:34
engsooncheah9-Jan-20 14:34 
GeneralRe: ChatBot retrieve data from SharePoint On Premise Issue Pin
Afzaal Ahmad Zeeshan9-Jan-20 22:26
professionalAfzaal Ahmad Zeeshan9-Jan-20 22:26 
GeneralRe: ChatBot retrieve data from SharePoint On Premise Issue Pin
engsooncheah21-Jan-20 19:37
engsooncheah21-Jan-20 19:37 
Questionpush notification from android c# Pin
Member 477398728-Dec-19 11:51
Member 477398728-Dec-19 11:51 
AnswerRe: push notification from android c# Pin
OriginalGriff28-Dec-19 19:55
mveOriginalGriff28-Dec-19 19:55 
GeneralRe: push notification from android c# Pin
Member 477398728-Dec-19 20:45
Member 477398728-Dec-19 20:45 
AnswerRe: push notification from android c# Pin
Richard MacCutchan28-Dec-19 21:53
mveRichard MacCutchan28-Dec-19 21:53 
GeneralRe: push notification from android c# Pin
OriginalGriff28-Dec-19 22:24
mveOriginalGriff28-Dec-19 22:24 
GeneralRe: push notification from android c# Pin
Richard MacCutchan28-Dec-19 22:26
mveRichard MacCutchan28-Dec-19 22:26 

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.