Click here to Skip to main content
15,888,816 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Reading data from Excel Pin
jkirkerx10-Aug-12 19:12
professionaljkirkerx10-Aug-12 19:12 
Question(Input string was not in a correct format) with ExecuteReader Pin
Jassim Rahma10-Aug-12 2:33
Jassim Rahma10-Aug-12 2:33 
AnswerRe: (Input string was not in a correct format) with ExecuteReader Pin
WebMaster10-Aug-12 2:52
WebMaster10-Aug-12 2:52 
AnswerRe: (Input string was not in a correct format) with ExecuteReader Pin
Parthi Bun10-Aug-12 3:06
Parthi Bun10-Aug-12 3:06 
AnswerRe: (Input string was not in a correct format) with ExecuteReader Pin
StianSandberg10-Aug-12 3:26
StianSandberg10-Aug-12 3:26 
GeneralRe: (Input string was not in a correct format) with ExecuteReader Pin
Jassim Rahma10-Aug-12 4:03
Jassim Rahma10-Aug-12 4:03 
GeneralRe: (Input string was not in a correct format) with ExecuteReader Pin
Jassim Rahma11-Aug-12 9:11
Jassim Rahma11-Aug-12 9:11 
AnswerRe: (Input string was not in a correct format) with ExecuteReader Pin
Shameel14-Aug-12 0:46
professionalShameel14-Aug-12 0:46 
I think I have already answered this question in a different forum. Anyway, here is your problem

In this line:
sql_command.Parameters.AddWithValue("param_member_id", MySqlDbType.Int32).Value = Convert.ToInt32(Request.QueryString["id"]);

and the next two lines, you're actually passing Data Types (MySqlDbType.Int32) instead of the actual value. The AddWithValue() method expects the actual value rather than the data type. So do something like :
sql_command.Parameters.AddWithValue("param_member_id", Convert.ToInt32(Request.QueryString["id"]));

Questionasp.net Pin
Rajesh.paka10-Aug-12 2:08
Rajesh.paka10-Aug-12 2:08 
AnswerRe: asp.net Pin
Wes Aday10-Aug-12 4:00
professionalWes Aday10-Aug-12 4:00 
Questionstrange issue with cache application block (ENT LIB 5) Pin
Luca Dominici9-Aug-12 23:23
Luca Dominici9-Aug-12 23:23 
AnswerRe: strange issue with cache application block (ENT LIB 5) Pin
Pete O'Hanlon10-Aug-12 0:42
mvePete O'Hanlon10-Aug-12 0:42 
AnswerRe: strange issue with cache application block (ENT LIB 5) Pin
jkirkerx10-Aug-12 10:12
professionaljkirkerx10-Aug-12 10:12 
Questiondebug javascript Pin
dcof9-Aug-12 18:44
dcof9-Aug-12 18:44 
AnswerRe: debug javascript Pin
AnnieCalvert9-Aug-12 20:09
AnnieCalvert9-Aug-12 20:09 
GeneralRe: debug javascript Pin
dcof10-Aug-12 4:31
dcof10-Aug-12 4:31 
GeneralRe: debug javascript Pin
enhzflep10-Aug-12 4:59
enhzflep10-Aug-12 4:59 
Generalwindow open Pin
dcof9-Aug-12 12:16
dcof9-Aug-12 12:16 
QuestionRe: window open Pin
CodeHawkz9-Aug-12 20:57
CodeHawkz9-Aug-12 20:57 
AnswerRe: window open Pin
dcof10-Aug-12 4:30
dcof10-Aug-12 4:30 
GeneralRe: window open Pin
CodeHawkz12-Aug-12 8:36
CodeHawkz12-Aug-12 8:36 
GeneralRe: window open Pin
jkirkerx10-Aug-12 11:33
professionaljkirkerx10-Aug-12 11:33 
GeneralRe: window open Pin
dcof11-Aug-12 11:45
dcof11-Aug-12 11:45 
GeneralRe: window open Pin
jkirkerx11-Aug-12 13:34
professionaljkirkerx11-Aug-12 13:34 
Generaltextbox wrap to several lines Pin
classy_dog9-Aug-12 9:05
classy_dog9-Aug-12 9:05 

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.