Click here to Skip to main content
15,887,328 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow can i detect when user click back button in android webkit? Pin
buffering8323-Jul-12 16:29
buffering8323-Jul-12 16:29 
Questionhow to build a project Pin
Harihareshwara23-Jul-12 5:57
Harihareshwara23-Jul-12 5:57 
AnswerRe: how to build a project Pin
Richard MacCutchan23-Jul-12 7:33
mveRichard MacCutchan23-Jul-12 7:33 
AnswerRe: how to build a project Pin
AmitGajjar27-Jul-12 18:06
professionalAmitGajjar27-Jul-12 18:06 
Questioncapture image through Webcam in asp.net 4.0 C#. Pin
ranjitsahani23-Jul-12 1:33
ranjitsahani23-Jul-12 1:33 
AnswerRe: capture image through Webcam in asp.net 4.0 C#. Pin
Richard MacCutchan23-Jul-12 3:18
mveRichard MacCutchan23-Jul-12 3:18 
AnswerRe: capture image through Webcam in asp.net 4.0 C#. Pin
Sandeep Mewara23-Jul-12 3:28
mveSandeep Mewara23-Jul-12 3:28 
QuestionA connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond Pin
Jassim Rahma22-Jul-12 5:18
Jassim Rahma22-Jul-12 5:18 
Hi,

Why I am getting the above error for the following code:

C#
sql_connection = new MySqlConnection(ConfigurationManager.ConnectionStrings["SQLdb"].ConnectionString);
sql_connection.Open();
sql_command = new MySqlCommand("sp_upload_resume", sql_connection);
sql_command.CommandType = CommandType.StoredProcedure;

sql_command.Parameters.AddWithValue("param_full_name", txtFullName.Text.Trim()).MySqlDbType = MySqlDbType.VarChar;
sql_command.Parameters.AddWithValue("param_email_address", txtEmail.Text.Trim()).MySqlDbType = MySqlDbType.VarChar;
sql_command.Parameters.AddWithValue("param_gender", cboGender.Value.ToString()).MySqlDbType = MySqlDbType.VarChar;
sql_command.Parameters.AddWithValue("param_nationality", cboNationality.Value.ToString()).MySqlDbType = MySqlDbType.VarChar;
sql_command.Parameters.AddWithValue("param_date_of_birth", cboDateOfbirth.Date).MySqlDbType = MySqlDbType.Date;
sql_command.Parameters.AddWithValue("param_designation", Convert.ToInt32(cboDesignation.Value)).MySqlDbType = MySqlDbType.Int32;
sql_command.Parameters.AddWithValue("param_resume_ext", file_extension).MySqlDbType = MySqlDbType.VarChar;
sql_command.Parameters.AddWithValue("param_resume_format", document_type).MySqlDbType = MySqlDbType.VarChar;
// sql_command.Parameters.AddWithValue("param_resume_data", document_binary, file_size).MySqlDbType = MySqlDbType;
sql_command.Parameters.Add("param_resume_data", MySqlDbType.LongBlob, file_size).Value = document_binary;

// event log parameters;
if (Request.ServerVariables["REMOTE_ADDR"] != null) sql_command.Parameters.Add("param_ip_address", MySqlDbType.VarChar).Value = HttpContext.Current.Request.UserHostAddress;
else sql_command.Parameters.Add("param_ip_address", MySqlDbType.VarChar).Value = DBNull.Value;
sql_command.Parameters.Add("param_browser_platform", MySqlDbType.VarChar).Value = Request.Browser.Platform;
sql_command.Parameters.Add("param_browser_version", MySqlDbType.VarChar).Value = String.Format("{0} {1}", Request.Browser.Browser, Request.Browser.Version);
sql_command.Parameters.Add("param_gateway_version", MySqlDbType.VarChar).Value = Request.Browser.GatewayVersion;
sql_command.Parameters.Add("param_is_mobile", MySqlDbType.Bit).Value = Request.Browser.IsMobileDevice;
sql_command.Parameters.Add("param_mobile_manufacturer", MySqlDbType.VarChar).Value = Request.Browser.MobileDeviceManufacturer;
sql_command.Parameters.Add("param_mobile_model", MySqlDbType.VarChar).Value = Request.Browser.MobileDeviceModel;
sql_command.Parameters.Add("param_screen_width", MySqlDbType.Int32).Value = Request.Browser.ScreenPixelsWidth;
sql_command.Parameters.Add("param_screen_height", MySqlDbType.Int32).Value = Request.Browser.ScreenPixelsHeight;
sql_command.Parameters.Add("param_browser_type", MySqlDbType.VarChar).Value = Request.Browser.Type;
sql_command.Parameters.Add("param_machine_name", MySqlDbType.VarChar).Value = Environment.MachineName;
sql_command.Parameters.Add("param_os_version", MySqlDbType.VarChar).Value = Environment.OSVersion.VersionString;
sql_command.Parameters.Add("param_user_name", MySqlDbType.VarChar).Value = Environment.UserName;

sql_command.Parameters.AddWithValue("param_record_identity", MySqlDbType.Int32).Direction = ParameterDirection.Output;
sql_command.Parameters.AddWithValue("param_is_exist", MySqlDbType.Bit).Direction = ParameterDirection.Output;

// execute the query;
int result_rows = sql_command.ExecuteNonQuery();

AnswerRe: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond Pin
Sandeep Mewara22-Jul-12 8:02
mveSandeep Mewara22-Jul-12 8:02 
GeneralRe: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond Pin
_Amy22-Jul-12 20:46
professional_Amy22-Jul-12 20:46 
Questionasp.net 2010 validate dates Pin
sc steinhayse20-Jul-12 14:02
sc steinhayse20-Jul-12 14:02 
AnswerRe: asp.net 2010 validate dates Pin
Sandeep Mewara20-Jul-12 17:36
mveSandeep Mewara20-Jul-12 17:36 
AnswerRe: asp.net 2010 validate dates Pin
jkirkerx21-Jul-12 18:49
professionaljkirkerx21-Jul-12 18:49 
Generalmultipe forms in same page Pin
Jassim Rahma20-Jul-12 7:08
Jassim Rahma20-Jul-12 7:08 
GeneralRe: multipe forms in same page Pin
R. Giskard Reventlov20-Jul-12 8:03
R. Giskard Reventlov20-Jul-12 8:03 
GeneralRe: multipe forms in same page Pin
Parwej Ahamad20-Jul-12 8:28
professionalParwej Ahamad20-Jul-12 8:28 
Questionurlrewriter.net Problem Pin
Jassim Rahma20-Jul-12 0:28
Jassim Rahma20-Jul-12 0:28 
AnswerRe: urlrewriter.net Problem Pin
AmitGajjar23-Jul-12 1:04
professionalAmitGajjar23-Jul-12 1:04 
AnswerRe: urlrewriter.net Problem Pin
_Amy23-Jul-12 1:36
professional_Amy23-Jul-12 1:36 
QuestionProblem: Popolating HTML Table Dynamically Pin
silentcore19-Jul-12 22:28
silentcore19-Jul-12 22:28 
AnswerRe: Problem: Popolating HTML Table Dynamically Pin
Pankaj Nikam20-Jul-12 4:07
professionalPankaj Nikam20-Jul-12 4:07 
GeneralRe: Problem: Popolating HTML Table Dynamically Pin
silentcore5-Aug-12 8:25
silentcore5-Aug-12 8:25 
GeneralRe: Problem: Popolating HTML Table Dynamically Pin
Pankaj Nikam5-Aug-12 14:46
professionalPankaj Nikam5-Aug-12 14:46 
GeneralRe: Problem: Popolating HTML Table Dynamically Pin
jkirkerx20-Jul-12 7:47
professionaljkirkerx20-Jul-12 7:47 
GeneralRe: Problem: Popolating HTML Table Dynamically Pin
Eone James23-Jul-12 23:23
Eone James23-Jul-12 23:23 

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.