Click here to Skip to main content
15,897,187 members
Home / Discussions / C#
   

C#

 
GeneralRe: is this coding correct? Pin
Christian Graus8-May-08 19:16
protectorChristian Graus8-May-08 19:16 
AnswerRe: is this coding correct? Pin
Thomas Toh8-May-08 18:10
Thomas Toh8-May-08 18:10 
GeneralRe: is this coding correct? Pin
Christian Graus8-May-08 18:38
protectorChristian Graus8-May-08 18:38 
GeneralRe: is this coding correct? Pin
Thomas Toh8-May-08 19:15
Thomas Toh8-May-08 19:15 
GeneralRe: is this coding correct? Pin
Christian Graus8-May-08 19:20
protectorChristian Graus8-May-08 19:20 
GeneralRe: is this coding correct? Pin
Thomas Toh8-May-08 19:51
Thomas Toh8-May-08 19:51 
GeneralRe: is this coding correct? Pin
Christian Graus8-May-08 19:52
protectorChristian Graus8-May-08 19:52 
GeneralRe: is this coding correct? Pin
Thomas Toh8-May-08 19:58
Thomas Toh8-May-08 19:58 
yes Smile | :) i store those image descriptions to a HTML
                // Save the stream to disk<br />
                System.IO.FileStream newFile = new System.IO.FileStream(Server.MapPath(sSavePath + sFilename), System.IO.FileMode.Create);<br />
                newFile.Write(myData, 0, myData.Length);<br />
                newFile.Close();<br />
                TextWriter tw = new StreamWriter(Server.MapPath("Images/Saved Images/" + sFilename + ".html"));<br />
<br />
                // write a line of text to the files<br />
                tw.WriteLine("<html>");<br />
                tw.WriteLine("<img src=\"" + sSavePath + sFilename + "\">" + " " + "<desc=\"" + desc.Text + "\">" + " " + "<mat=\"" + materials.Text + "\">" + " " + "<date=\"" + date.Text + "\">");<br />
                tw.WriteLine("</html>");<br />
<br />
                // close the stream<br />
                tw.Close();


right now i have to solve this function... and next is the toughest part since not using DB.. which is the Searching Smile | :)
GeneralRe: is this coding correct? Pin
Christian Graus8-May-08 20:02
protectorChristian Graus8-May-08 20:02 
GeneralRe: is this coding correct? Pin
Thomas Toh8-May-08 20:10
Thomas Toh8-May-08 20:10 
GeneralRe: is this coding correct? Pin
Christian Graus8-May-08 20:26
protectorChristian Graus8-May-08 20:26 
AnswerSearch/Parse/Display HTML Metadata Pin
Thomas Toh14-May-08 18:31
Thomas Toh14-May-08 18:31 
QuestionLittle Help Pin
nelsonpaixao8-May-08 15:53
nelsonpaixao8-May-08 15:53 
AnswerRe: Little Help Pin
Christian Graus8-May-08 15:57
protectorChristian Graus8-May-08 15:57 
AnswerRe: Little Help Pin
MarkB7778-May-08 18:05
MarkB7778-May-08 18:05 
Questionbeginner question: how to add method to a class using wizard in VC#2008? Pin
sharp_k8-May-08 14:52
sharp_k8-May-08 14:52 
AnswerRe: beginner question: how to add method to a class using wizard in VC#2008? Pin
Christian Graus8-May-08 15:56
protectorChristian Graus8-May-08 15:56 
GeneralRe: beginner question: how to add method to a class using wizard in VC#2008? Pin
sharp_k8-May-08 20:45
sharp_k8-May-08 20:45 
AnswerRe: beginner question: how to add method to a class using wizard in VC#2008? Pin
MarkB7778-May-08 18:13
MarkB7778-May-08 18:13 
AnswerRe: beginner question: how to add method to a class using wizard in VC#2008? Pin
tgrt8-May-08 23:06
tgrt8-May-08 23:06 
GeneralRe: beginner question: how to add method to a class using wizard in VC#2008? Pin
sharp_k9-May-08 5:36
sharp_k9-May-08 5:36 
Questionvalidation in win application Pin
jackal4u8-May-08 12:59
jackal4u8-May-08 12:59 
AnswerRe: validation in win application Pin
Christian Graus8-May-08 14:03
protectorChristian Graus8-May-08 14:03 
AnswerRe: validation in win application Pin
Nouman Bhatti8-May-08 21:55
Nouman Bhatti8-May-08 21:55 
QuestionWeird "Inconsistent Accessibility" problem Pin
#realJSOP8-May-08 12:48
professional#realJSOP8-May-08 12:48 

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.