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

C#

 
GeneralRe: How can I accomplish this little project of mine. Pin
ZurdoDev9-Jan-20 8:51
professionalZurdoDev9-Jan-20 8:51 
GeneralRe: How can I accomplish this little project of mine. Pin
OriginalGriff9-Jan-20 9:33
mveOriginalGriff9-Jan-20 9:33 
AnswerRe: How can I accomplish this little project of mine. Pin
Dave Kreskowiak9-Jan-20 10:19
mveDave Kreskowiak9-Jan-20 10:19 
GeneralRe: How can I accomplish this little project of mine. Pin
OriginalGriff9-Jan-20 10:31
mveOriginalGriff9-Jan-20 10:31 
GeneralRe: How can I accomplish this little project of mine. Pin
Mmm-Geralt20-Jan-20 13:47
Mmm-Geralt20-Jan-20 13:47 
Questionhow to open an application using button in C# Pin
Hernany Bondoc9-Jan-20 5:14
Hernany Bondoc9-Jan-20 5:14 
AnswerRe: how to open an application using button in C# Pin
Richard Deeming9-Jan-20 5:36
mveRichard Deeming9-Jan-20 5:36 
QuestionHow to generate pdf files on C#?? Pin
hgsingla8-Jan-20 5:57
hgsingla8-Jan-20 5:57 
AnswerRe: How to generate pdf files on C#?? Pin
Richard MacCutchan8-Jan-20 6:40
mveRichard MacCutchan8-Jan-20 6:40 
GeneralRe: How to generate pdf files on C#?? Pin
OriginalGriff8-Jan-20 11:22
mveOriginalGriff8-Jan-20 11:22 
QuestionHistory of compiler optimization: function inlining Pin
Bernhard Hiller7-Jan-20 22:35
Bernhard Hiller7-Jan-20 22:35 
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 

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.