Click here to Skip to main content
15,895,606 members
Home / Discussions / C#
   

C#

 
Questioninsertion of nature of comment row. [modified] Pin
alok217123-Oct-07 19:43
alok217123-Oct-07 19:43 
AnswerRe: insertion of nature of comment row. Pin
Christian Graus23-Oct-07 19:51
protectorChristian Graus23-Oct-07 19:51 
AnswerRe: insertion of nature of comment row. Pin
N a v a n e e t h23-Oct-07 19:53
N a v a n e e t h23-Oct-07 19:53 
AnswerRe: insertion of nature of comment row. Pin
Guffa23-Oct-07 20:26
Guffa23-Oct-07 20:26 
QuestionHow to show current progress and progress bar..? Pin
Pankaj - Joshi23-Oct-07 19:36
Pankaj - Joshi23-Oct-07 19:36 
AnswerRe: How to show current progress and progress bar..? Pin
Christian Graus23-Oct-07 19:56
protectorChristian Graus23-Oct-07 19:56 
AnswerRe: How to show current progress and progress bar..? Pin
Abhijit Jana23-Oct-07 21:25
professionalAbhijit Jana23-Oct-07 21:25 
QuestionFinding Address of the labels back ground image Pin
sindhutiwari23-Oct-07 19:18
sindhutiwari23-Oct-07 19:18 
hi friends
i wanna store a image in ms access database and the code is



Aurigma.GraphicsMill.Bitmap bitmap =
new Aurigma.GraphicsMill.Bitmap(@"c:\mountain.jpg");

//Resize bitmap
bitmap.Transforms.Resize(bitmap.Width / 2, 0);

System.Data.OleDb.OleDbConnection connection =
new System.Data.OleDb.OleDbConnection(connectionString);
System.Data.OleDb.OleDbCommand command =
new System.Data.OleDb.OleDbCommand("INSERT INTO [Image](Image_Data) " +
"VALUES (?)", connection);

System.IO.MemoryStream stream = new System.IO.MemoryStream();
bitmap.Save(stream, new Aurigma.GraphicsMill.Codecs.JpegEncoderOptions(70, false));
byte[] imageData = stream.GetBuffer();

System.Data.OleDb.OleDbParameter parameter = new System.Data.OleDb.OleDbParameter(
"@Image_Data", System.Data.OleDb.OleDbType.LongVarBinary, imageData.Length);
parameter.Value = imageData;
command.Parameters.Add(parameter);

connection.Open();
command.ExecuteNonQuery();
connection.Close();

I am dynamically setting the background image of the label by using a property grid so is there anyway to get the address of the picture please let me know that
regards
sindhu tiwari





its me sid

QuestionHow to sign digital certificate using vs.net 2005 IDE... Pin
Pankaj - Joshi23-Oct-07 18:41
Pankaj - Joshi23-Oct-07 18:41 
QuestionHow to add home page in start menu...? Pin
Pankaj - Joshi23-Oct-07 18:34
Pankaj - Joshi23-Oct-07 18:34 
AnswerRe: How to add home page in start menu...? Pin
N a v a n e e t h23-Oct-07 18:44
N a v a n e e t h23-Oct-07 18:44 
GeneralRe: How to add home page in start menu...? Pin
Pankaj - Joshi23-Oct-07 18:47
Pankaj - Joshi23-Oct-07 18:47 
GeneralRe: How to add home page in start menu...? Pin
N a v a n e e t h23-Oct-07 18:54
N a v a n e e t h23-Oct-07 18:54 
GeneralThanks for the suggestion Pin
Pankaj - Joshi23-Oct-07 19:14
Pankaj - Joshi23-Oct-07 19:14 
GeneralRe: How to add home page in start menu...? Pin
Abhijit Jana23-Oct-07 19:14
professionalAbhijit Jana23-Oct-07 19:14 
AnswerRe: How to add home page in start menu...? Pin
Abhijit Jana23-Oct-07 19:10
professionalAbhijit Jana23-Oct-07 19:10 
GeneralRe: How to add home page in start menu...? Pin
Pankaj - Joshi23-Oct-07 19:18
Pankaj - Joshi23-Oct-07 19:18 
GeneralRe: How to add home page in start menu...? Pin
Abhijit Jana23-Oct-07 21:16
professionalAbhijit Jana23-Oct-07 21:16 
GeneralRe: How to add home page in start menu...? Pin
N a v a n e e t h23-Oct-07 19:48
N a v a n e e t h23-Oct-07 19:48 
GeneralRe: How to add home page in start menu...? Pin
Abhijit Jana23-Oct-07 21:18
professionalAbhijit Jana23-Oct-07 21:18 
QuestionWhat is the important of <!DOCTYPE > ? [modified] Pin
bug_aonz23-Oct-07 17:02
bug_aonz23-Oct-07 17:02 
AnswerRe: What is the important of <!DOCTYPE > ? Pin
N a v a n e e t h23-Oct-07 18:50
N a v a n e e t h23-Oct-07 18:50 
AnswerRe: What is the important of <!DOCTYPE > ? Pin
Guffa23-Oct-07 20:36
Guffa23-Oct-07 20:36 
QuestionData organization ideas Pin
kenprog23-Oct-07 13:54
kenprog23-Oct-07 13:54 
AnswerRe: Data organization ideas Pin
PIEBALDconsult23-Oct-07 14:07
mvePIEBALDconsult23-Oct-07 14:07 

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.