Click here to Skip to main content
15,891,657 members
Home / Discussions / C#
   

C#

 
GeneralRe: L'Exception ArgumentException was not Operated Pin
Pete O'Hanlon31-Mar-14 5:48
mvePete O'Hanlon31-Mar-14 5:48 
GeneralRe: L'Exception ArgumentException was not Operated Pin
Dave Kreskowiak31-Mar-14 17:47
mveDave Kreskowiak31-Mar-14 17:47 
GeneralRe: L'Exception ArgumentException was not Operated Pin
V.31-Mar-14 21:50
professionalV.31-Mar-14 21:50 
GeneralRe: L'Exception ArgumentException was not Operated Pin
remiki31-Mar-14 23:13
remiki31-Mar-14 23:13 
GeneralRe: L'Exception ArgumentException was not Operated Pin
V.31-Mar-14 23:27
professionalV.31-Mar-14 23:27 
GeneralRe: L'Exception ArgumentException was not Operated Pin
Dave Kreskowiak1-Apr-14 2:15
mveDave Kreskowiak1-Apr-14 2:15 
GeneralRe: L'Exception ArgumentException was not Operated Pin
Pete O'Hanlon1-Apr-14 2:53
mvePete O'Hanlon1-Apr-14 2:53 
GeneralRe: L'Exception ArgumentException was not Operated Pin
remiki1-Apr-14 4:03
remiki1-Apr-14 4:03 
please, my english is not good,

look at here

C#
int c = ds.Tables["client"].Rows.Count;
                    if (c > 0)
                    {
                        Byte[] btpht = new Byte[0];
                        btpht = (Byte[])(ds.Tables["client"].Rows[c - 1]["photo"]);
                        MemoryStream phtosssss = new MemoryStream(btpht);

                        //try
                        //{
                       // c'est ici que le msg est affiché
                            pictureBox1.Image = Image.FromStream(phtosssss);
                            
                       // }


try to bring correction please i have tried but, no error message with the following code , but no picture posted in my picture box

C#
int c = ds.Tables["client"].Rows.Count;
                    if (c > 0)
                    {
                        Byte[] btpht = new Byte[0];
                        btpht = (Byte[])(ds.Tables["client"].Rows[c - 1]["photo"]);
                        MemoryStream phtosssss = new MemoryStream(btpht.Length);

                        //try
                        //{
                       // c'est ici que le msg est affiché
                            pictureBox1.Image = Image.FromStream(phtosssss);
                            
                       // }

GeneralRe: L'Exception ArgumentException was not Operated Pin
Pete O'Hanlon1-Apr-14 4:15
mvePete O'Hanlon1-Apr-14 4:15 
GeneralRe: L'Exception ArgumentException was not Operated Pin
remiki1-Apr-14 4:36
remiki1-Apr-14 4:36 
GeneralRe: L'Exception ArgumentException was not Operated Pin
Pete O'Hanlon1-Apr-14 4:47
mvePete O'Hanlon1-Apr-14 4:47 
AnswerRe: L'Exception ArgumentException was not Operated Pin
remiki1-Apr-14 5:02
remiki1-Apr-14 5:02 
GeneralRe: L'Exception ArgumentException was not Operated Pin
Richard Deeming31-Mar-14 6:13
mveRichard Deeming31-Mar-14 6:13 
GeneralRe: L'Exception ArgumentException was not Operated Pin
remiki1-Apr-14 5:30
remiki1-Apr-14 5:30 
AnswerRe: L'Exception ArgumentException was not Operated Pin
remiki1-Apr-14 5:33
remiki1-Apr-14 5:33 
AnswerRe: L'Exception ArgumentException was not Operated Pin
remiki2-Apr-14 23:44
remiki2-Apr-14 23:44 
QuestionJquery Easy UI DataGrid not show after publish Pin
nurealam30-Mar-14 22:56
nurealam30-Mar-14 22:56 
AnswerRe: Jquery Easy UI DataGrid not show after publish Pin
Pete O'Hanlon31-Mar-14 0:44
mvePete O'Hanlon31-Mar-14 0:44 
Questionhow to create bill in c#, sql Pin
Member 1071135730-Mar-14 16:46
Member 1071135730-Mar-14 16:46 
AnswerRe: how to create bill in c#, sql Pin
Peter Leow30-Mar-14 17:00
professionalPeter Leow30-Mar-14 17:00 
AnswerRe: how to create bill in c#, sql Pin
Mycroft Holmes30-Mar-14 19:24
professionalMycroft Holmes30-Mar-14 19:24 
QuestionConnecting to a SOAP/XML Webservice Pin
Member 416962830-Mar-14 0:59
Member 416962830-Mar-14 0:59 
AnswerRe: Connecting to a SOAP/XML Webservice Pin
V.30-Mar-14 22:48
professionalV.30-Mar-14 22:48 
GeneralRe: Connecting to a SOAP/XML Webservice Pin
Member 416962830-Mar-14 22:56
Member 416962830-Mar-14 22:56 
GeneralRe: Connecting to a SOAP/XML Webservice Pin
Member 416962830-Mar-14 23:06
Member 416962830-Mar-14 23:06 

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.