Click here to Skip to main content
15,886,110 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionError Reporting Pin
Sam Heller10-Nov-07 7:15
Sam Heller10-Nov-07 7:15 
QuestionProblem with Timer Control in AjaxControlToolkit Pin
morteza5710-Nov-07 6:44
morteza5710-Nov-07 6:44 
QuestionI'd like to use "smart client" for listing software in someone's computer. Pin
Real Coder10-Nov-07 5:43
Real Coder10-Nov-07 5:43 
AnswerRe: I'd like to use "smart client" for listing software in someone's computer. Pin
Michael Sync10-Nov-07 19:58
Michael Sync10-Nov-07 19:58 
QuestionIn XP works fine, W2000: Bad variable type! Pin
alexvw10-Nov-07 2:05
alexvw10-Nov-07 2:05 
AnswerRe: In XP works fine, W2000: Bad variable type! Pin
Michael Sync10-Nov-07 5:02
Michael Sync10-Nov-07 5:02 
GeneralRe: In XP works fine, W2000: Bad variable type! Pin
alexvw10-Nov-07 15:00
alexvw10-Nov-07 15:00 
GeneralRe: In XP works fine, W2000: Bad variable type! Pin
Michael Sync10-Nov-07 19:52
Michael Sync10-Nov-07 19:52 
alexvw wrote:
Cmd.Parameters.Append(Cmd.CreateParameter("TransId", ADODB.DataTypeEnum.adBigInt, 1, , iTransId)) '<-the error happens here


Here are some possibilites that I suggest you to try..

1. What about trying to convert the variable "iTransId" to double explicitly??

eg:

Cmd.Parameters.Append(Cmd.CreateParameter("TransId", ADODB.DataTypeEnum.adBigInt, 1, , CDbl(iTransId)))

or

Cmd.Parameters.Append(Cmd.CreateParameter("TransId", ADODB.DataTypeEnum.adBigInt, 1, , CLng(iTransId)))

2. Why don't you set nothing for size parameter?? What about if you set something??

e.g.

Cmd.Parameters.Append(Cmd.CreateParameter("TransId", ADODB.DataTypeEnum.adBigInt, 1, 20 , iTransId))

3. If The two possibilities above can't solve your problem, you should probably try to convert those ADODB code to ADO.NET...

hope it helps.. Smile | :) let me know the result after trying those possibilities...

Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)

GeneralRe: In XP works fine, W2000: Bad variable type! Pin
alexvw10-Nov-07 23:25
alexvw10-Nov-07 23:25 
GeneralRe: In XP works fine, W2000: Bad variable type! Pin
Michael Sync11-Nov-07 0:08
Michael Sync11-Nov-07 0:08 
QuestionHow to show header in DataList Pin
Kurian_Kurian10-Nov-07 0:50
Kurian_Kurian10-Nov-07 0:50 
AnswerRe: How to show header in DataList Pin
pmarfleet10-Nov-07 1:27
pmarfleet10-Nov-07 1:27 
QuestionOpen a new window Pin
.NET- India 10-Nov-07 0:01
.NET- India 10-Nov-07 0:01 
AnswerRe: Open a new window Pin
John-ph10-Nov-07 0:37
John-ph10-Nov-07 0:37 
Questionhow to add scroll bar to grid view (plz help with code) Pin
jagan1239-Nov-07 22:58
jagan1239-Nov-07 22:58 
AnswerRe: how to add scroll bar to grid view (plz help with code) Pin
Christian Graus9-Nov-07 23:28
protectorChristian Graus9-Nov-07 23:28 
AnswerRe: how to add scroll bar to grid view (plz help with code) Pin
Elegantly Wasted31-Jan-12 0:24
Elegantly Wasted31-Jan-12 0:24 
Questioncan i assign datatable to crystal reportt? Pin
dandamudi padma9-Nov-07 22:50
dandamudi padma9-Nov-07 22:50 
AnswerRe: can i assign datatable to crystal reportt? Pin
John-ph13-Nov-07 19:07
John-ph13-Nov-07 19:07 
QuestionShopping Cart Pin
danasegaranea9-Nov-07 21:47
danasegaranea9-Nov-07 21:47 
AnswerRe: Shopping Cart Pin
Christian Graus9-Nov-07 21:58
protectorChristian Graus9-Nov-07 21:58 
GeneralRe: Shopping Cart Pin
danasegaranea9-Nov-07 22:10
danasegaranea9-Nov-07 22:10 
GeneralRe: Shopping Cart Pin
Christian Graus9-Nov-07 22:51
protectorChristian Graus9-Nov-07 22:51 
GeneralRe: Shopping Cart Pin
danasegaranea9-Nov-07 22:53
danasegaranea9-Nov-07 22:53 
GeneralRe: Shopping Cart Pin
Christian Graus9-Nov-07 22:56
protectorChristian Graus9-Nov-07 22:56 

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.