Click here to Skip to main content
15,791,440 members
Home / Discussions / C#
   

C#

 
GeneralRe: Showing webcam preview in picturebox Problem.... Pin
S K Y28-Jun-09 21:27
S K Y28-Jun-09 21:27 
GeneralRe: Showing webcam preview in picturebox Problem.... Pin
Christian Graus28-Jun-09 21:30
protectorChristian Graus28-Jun-09 21:30 
GeneralRe: Showing webcam preview in picturebox Problem.... Pin
S K Y28-Jun-09 21:50
S K Y28-Jun-09 21:50 
GeneralRe: Showing webcam preview in picturebox Problem.... Pin
Christian Graus28-Jun-09 22:03
protectorChristian Graus28-Jun-09 22:03 
GeneralRe: Showing webcam preview in picturebox Problem.... Pin
S K Y28-Jun-09 22:39
S K Y28-Jun-09 22:39 
GeneralRe: Showing webcam preview in picturebox Problem.... Pin
Christian Graus28-Jun-09 22:48
protectorChristian Graus28-Jun-09 22:48 
QuestionDisplaying a image in crystal report Pin
vijaylumar28-Jun-09 20:34
vijaylumar28-Jun-09 20:34 
AnswerRe: Displaying a image in crystal report Pin
KIDYA28-Jun-09 22:49
KIDYA28-Jun-09 22: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 23:04
vijaylumar28-Jun-09 23:04 
QuestionHow to sort datatable values???? Pin
swetha_insoft28-Jun-09 20:31
swetha_insoft28-Jun-09 20:31 
AnswerRe: How to sort datatable values???? Pin
padmanabhan N28-Jun-09 20:47
padmanabhan N28-Jun-09 20:47 
GeneralRe: How to sort datatable values???? Pin
swetha_insoft28-Jun-09 21:06
swetha_insoft28-Jun-09 21:06 
GeneralRe: How to sort datatable values???? Pin
dan!sh 28-Jun-09 21:15
professional dan!sh 28-Jun-09 21:15 
GeneralRe: How to sort datatable values???? Pin
swetha_insoft28-Jun-09 21:21
swetha_insoft28-Jun-09 21:21 
GeneralRe: How to sort datatable values???? Pin
padmanabhan N28-Jun-09 21:38
padmanabhan N28-Jun-09 21:38 
AnswerRe: How to sort datatable values???? Pin
N a v a n e e t h28-Jun-09 20:52
N a v a n e e t h28-Jun-09 20:52 
GeneralRe: How to sort datatable values???? Pin
swetha_insoft28-Jun-09 21:13
swetha_insoft28-Jun-09 21:13 
GeneralRe: How to sort datatable values???? [modified] Pin
N a v a n e e t h28-Jun-09 21:21
N a v a n e e t h28-Jun-09 21:21 
GeneralRe: How to sort datatable values???? Pin
swetha_insoft28-Jun-09 21:45
swetha_insoft28-Jun-09 21:45 
Generalproblem DLL logic Pin
ishika_kukki28-Jun-09 20:29
ishika_kukki28-Jun-09 20:29 
GeneralRe: problem DLL logic Pin
dan!sh 28-Jun-09 21:02
professional dan!sh 28-Jun-09 21:02 
GeneralRe: problem DLL logic Pin
ishika_kukki28-Jun-09 21:29
ishika_kukki28-Jun-09 21:29 
AnswerRe: problem DLL logic Pin
OriginalGriff28-Jun-09 22:17
mvaOriginalGriff28-Jun-09 22:17 
GeneralRe: problem DLL logic Pin
ishika_kukki29-Jun-09 0:05
ishika_kukki29-Jun-09 0:05 
GeneralRe: problem DLL logic Pin
dan!sh 29-Jun-09 3:43
professional dan!sh 29-Jun-09 3: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.