Click here to Skip to main content
15,885,757 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionPerpetual Pop Up associated with application, not page Pin
toltec776-Aug-12 20:03
professionaltoltec776-Aug-12 20:03 
AnswerRe: Perpetual Pop Up associated with application, not page Pin
jkirkerx7-Aug-12 9:09
professionaljkirkerx7-Aug-12 9:09 
GeneralRe: Perpetual Pop Up associated with application, not page Pin
toltec777-Aug-12 11:02
professionaltoltec777-Aug-12 11:02 
GeneralRe: Perpetual Pop Up associated with application, not page Pin
jkirkerx7-Aug-12 12:33
professionaljkirkerx7-Aug-12 12:33 
GeneralRe: Perpetual Pop Up associated with application, not page Pin
toltec777-Aug-12 12:49
professionaltoltec777-Aug-12 12:49 
GeneralRe: Perpetual Pop Up associated with application, not page Pin
jkirkerx7-Aug-12 13:33
professionaljkirkerx7-Aug-12 13:33 
GeneralNew Idea Pin
jkirkerx8-Aug-12 7:56
professionaljkirkerx8-Aug-12 7:56 
QuestionInput string was not in a correct format Pin
Jassim Rahma6-Aug-12 11:17
Jassim Rahma6-Aug-12 11:17 
Hi,

Why I am getting the following error:

Input string was not in a correct format.

here is my code:

C#
sql_connection = new MySqlConnection(ConfigurationManager.ConnectionStrings["SQLdb"].ConnectionString);
sql_connection.Open();
sql_command = new MySqlCommand("sp_add_new_volow_member", sql_connection);
sql_command.CommandType = CommandType.StoredProcedure;
sql_command.CommandTimeout = 300;
 
sql_command.Parameters.AddWithValue("param_full_name", txtSignupFullName.Text.Trim()).MySqlDbType = MySqlDbType.VarChar;
sql_command.Parameters.AddWithValue("param_email_address", txtSignupEmailAddress.Text.Trim()).MySqlDbType = MySqlDbType.VarChar;
sql_command.Parameters.AddWithValue("param_login_password", txtSignupPassword.Text.Trim()).MySqlDbType = MySqlDbType.VarChar;
 
sql_command.Parameters.AddWithValue("param_record_identity", MySqlDbType.Int32).Direction = ParameterDirection.Output;
sql_command.Parameters.AddWithValue("param_record_guid", MySqlDbType.VarChar).Direction = ParameterDirection.Output;
sql_command.Parameters.AddWithValue("param_is_exist", MySqlDbType.Bit).Direction = ParameterDirection.Output;
 
// execute the query;
int result_rows = sql_command.ExecuteNonQuery();


and this is my SQL:

SQL
CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_add_new_volow_member`(IN param_full_name varchar(255), IN param_email_address varchar(255), IN param_login_password varchar(255), OUT param_record_identity int, OUT param_record_guid varchar(255), OUT param_is_exist bit)
BEGIN
    SET param_is_exist  = FALSE;

    INSERT INTO volow_members (volow_member_full_name, volow_member_email, volow_member_password) VALUES (param_full_name, param_email_address, param_login_password);

    SET param_record_identity = LAST_INSERT_ID();
    SET param_record_guid = 'abc';
END

AnswerRe: Input string was not in a correct format Pin
jkirkerx6-Aug-12 12:57
professionaljkirkerx6-Aug-12 12:57 
AnswerRe: Input string was not in a correct format Pin
Shameel6-Aug-12 23:43
professionalShameel6-Aug-12 23:43 
Questionasp.net popup window Pin
rachel_m6-Aug-12 6:50
rachel_m6-Aug-12 6:50 
AnswerRe: asp.net popup window Pin
jkirkerx6-Aug-12 7:28
professionaljkirkerx6-Aug-12 7:28 
AnswerRe: asp.net popup window Pin
Deflinek8-Aug-12 22:28
Deflinek8-Aug-12 22:28 
AnswerRe: asp.net popup window Pin
Vijay Selvaraj27-Aug-12 0:20
Vijay Selvaraj27-Aug-12 0:20 
QuestionOptimize emails on mobile devices through Exact Target Pin
Agentdufffr5-Aug-12 20:53
Agentdufffr5-Aug-12 20:53 
QuestionEnd User Facebook Login Pin
sankar07Ind5-Aug-12 20:03
sankar07Ind5-Aug-12 20:03 
Questionwhy connection attempt failed? Pin
Jassim Rahma5-Aug-12 12:03
Jassim Rahma5-Aug-12 12:03 
AnswerRe: why connection attempt failed? Pin
Jassim Rahma5-Aug-12 12:08
Jassim Rahma5-Aug-12 12:08 
AnswerRe: why connection attempt failed? Pin
Wes Aday5-Aug-12 15:52
professionalWes Aday5-Aug-12 15:52 
GeneralRe: why connection attempt failed? Pin
Jassim Rahma6-Aug-12 8:33
Jassim Rahma6-Aug-12 8:33 
Questionhow to retrve any file or image from folder in asp .net Pin
bipinprem155-Aug-12 1:02
bipinprem155-Aug-12 1:02 
AnswerRe: how to retrve any file or image from folder in asp .net Pin
Sandeep Mewara5-Aug-12 1:11
mveSandeep Mewara5-Aug-12 1:11 
AnswerRe: how to retrve any file or image from folder in asp .net Pin
jkirkerx5-Aug-12 11:03
professionaljkirkerx5-Aug-12 11:03 
GeneralHow to save any image or file in folder please give answer very soon in asp.net Pin
bipinprem155-Aug-12 1:00
bipinprem155-Aug-12 1:00 
AnswerRe: How to save any image or file in folder please give answer very soon in asp.net Pin
Sandeep Mewara5-Aug-12 1:12
mveSandeep Mewara5-Aug-12 1:12 

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.