Globalizing Web Community Menu

Home
Mission
Message
Blog
Downloads
Favorite Links
Thanks
Invitation
Coty

     
Login or Register
Information Site

Back To Blog

Archive Links


August 18, 2006


February 25, 2006
February 8, 2006
January 15, 2006
November 16, 2005
October 31, 2005
October 1, 2005
September 20, 2005
September 3, 2005


   

5/2/2008

Testing the Image Posting function

I am now testing the Image posting function that was converted by the VB.Net To C# Converter software. I purchased this conversion software, as I wanted to find out the solution for retrieving the returned parameter value.


The stored procedure used by this function returns the Image ID, which is caught by the “Return Value” parameter of VB. As expected, the converter produced the following line, which was not accepted by the VS 2005 compiler.

//int result =
System.Convert.ToInt32(Conversion.Fix(cmdAdd.Parameters["@RETURN_VALUE"].Value));

Therefore, I commented out this line and changed the ExecuteNonQuery function to receive the integer, which is the number of row affected and used as the return value.

I am now testing this converted function to see whether this converted function works ok by inserting the TIMEO Logo image, which is taken from my deceased dog Coty. The Image posting function worked as expected.

Comments: 0    Trackbacks: 0




Write a comment

TrackBack Address:
http://www.timeo.com/TrackBack.aspx?ID=114
   

RSS FEED