Click here to Skip to main content
16,021,687 members
Home / Discussions / C#
   

C#

 
GeneralRe: Showing webcam preview in picturebox Problem.... Pin
S K Y28-Jun-09 20:27
S K Y28-Jun-09 20:27 
GeneralRe: Showing webcam preview in picturebox Problem.... Pin
Christian Graus28-Jun-09 20:30
protectorChristian Graus28-Jun-09 20:30 
GeneralRe: Showing webcam preview in picturebox Problem.... Pin
S K Y28-Jun-09 20:50
S K Y28-Jun-09 20:50 
GeneralRe: Showing webcam preview in picturebox Problem.... Pin
Christian Graus28-Jun-09 21:03
protectorChristian Graus28-Jun-09 21:03 
GeneralRe: Showing webcam preview in picturebox Problem.... Pin
S K Y28-Jun-09 21:39
S K Y28-Jun-09 21:39 
GeneralRe: Showing webcam preview in picturebox Problem.... Pin
Christian Graus28-Jun-09 21:48
protectorChristian Graus28-Jun-09 21:48 
QuestionDisplaying a image in crystal report Pin
vijaylumar28-Jun-09 19:34
vijaylumar28-Jun-09 19:34 
AnswerRe: Displaying a image in crystal report Pin
KIDYA28-Jun-09 21:49
KIDYA28-Jun-09 21:49 
May this help u.........


{
                           DataTable dt = new DataTable("tblImgData");

                           //Adds a column called picture
                           dt.Columns.Add("Picture", typeof(Byte[]));

                           //Add a row to the table
                           dt.Rows.Add(GetImageData(""));

                           //Then add it to the DataSet
                            Ds = new DataSet("NewDataSetName");
                           Ds.Tables.Add(dt);



                       objRpt.SetDataSource(Ds);
                      crystalReportViewer1.ReportSource =objRpt;

               }

                       byte[] GetImageData(string fileName )
                       {
                           //Method to load an image from disk and return it as a bytestream
                           System.IO.FileStream fs = new System.IO.FileStream(fileName,System.IO.FileMode.Open, System.IO.FileAccess.Read);
                           System.IO.BinaryReader br = new System.IO.BinaryReader(fs);
                           return (br.ReadBytes(Convert.ToInt32(br.BaseStream.Length)));
                       }

GeneralRe: Displaying a image in crystal report Pin
vijaylumar28-Jun-09 22:04
vijaylumar28-Jun-09 22:04 
QuestionHow to sort datatable values???? Pin
swetha_insoft28-Jun-09 19:31
swetha_insoft28-Jun-09 19:31 
AnswerRe: How to sort datatable values???? Pin
padmanabhan N28-Jun-09 19:47
padmanabhan N28-Jun-09 19:47 
GeneralRe: How to sort datatable values???? Pin
swetha_insoft28-Jun-09 20:06
swetha_insoft28-Jun-09 20:06 
GeneralRe: How to sort datatable values???? Pin
dan!sh 28-Jun-09 20:15
professional dan!sh 28-Jun-09 20:15 
GeneralRe: How to sort datatable values???? Pin
swetha_insoft28-Jun-09 20:21
swetha_insoft28-Jun-09 20:21 
GeneralRe: How to sort datatable values???? Pin
padmanabhan N28-Jun-09 20:38
padmanabhan N28-Jun-09 20:38 
AnswerRe: How to sort datatable values???? Pin
N a v a n e e t h28-Jun-09 19:52
N a v a n e e t h28-Jun-09 19:52 
GeneralRe: How to sort datatable values???? Pin
swetha_insoft28-Jun-09 20:13
swetha_insoft28-Jun-09 20:13 
GeneralRe: How to sort datatable values???? [modified] Pin
N a v a n e e t h28-Jun-09 20:21
N a v a n e e t h28-Jun-09 20:21 
GeneralRe: How to sort datatable values???? Pin
swetha_insoft28-Jun-09 20:45
swetha_insoft28-Jun-09 20:45 
Generalproblem DLL logic Pin
ishika_kukki28-Jun-09 19:29
ishika_kukki28-Jun-09 19:29 
GeneralRe: problem DLL logic Pin
dan!sh 28-Jun-09 20:02
professional dan!sh 28-Jun-09 20:02 
GeneralRe: problem DLL logic Pin
ishika_kukki28-Jun-09 20:29
ishika_kukki28-Jun-09 20:29 
AnswerRe: problem DLL logic Pin
OriginalGriff28-Jun-09 21:17
mveOriginalGriff28-Jun-09 21:17 
GeneralRe: problem DLL logic Pin
ishika_kukki28-Jun-09 23:05
ishika_kukki28-Jun-09 23:05 
GeneralRe: problem DLL logic Pin
dan!sh 29-Jun-09 2:43
professional dan!sh 29-Jun-09 2:43 

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.