Click here to Skip to main content
16,006,378 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: AJAX and FileUpload Pin
steve_a_p31-Aug-07 2:17
steve_a_p31-Aug-07 2:17 
GeneralRe: AJAX and FileUpload Pin
Vasudevan Deepak Kumar2-Sep-07 1:02
Vasudevan Deepak Kumar2-Sep-07 1:02 
QuestionRe: AJAX and FileUpload Pin
steve_a_p2-Sep-07 23:22
steve_a_p2-Sep-07 23:22 
Questionhow we navigatetourl with buttonfield column in gridview Pin
puspendra napit30-Aug-07 23:16
puspendra napit30-Aug-07 23:16 
AnswerRe: how we navigatetourl with buttonfield column in gridview Pin
VenkataRamana.Gali31-Aug-07 1:22
VenkataRamana.Gali31-Aug-07 1:22 
QuestionError: Value of type 'Byte' cannot be converted to '1-dimensional array of Byte' Pin
Milind Panchal30-Aug-07 22:42
Milind Panchal30-Aug-07 22:42 
AnswerRe: Error: Value of type 'Byte' cannot be converted to '1-dimensional array of Byte' Pin
Imran Khan Pathan30-Aug-07 23:15
Imran Khan Pathan30-Aug-07 23:15 
AnswerRe: Error: Value of type 'Byte' cannot be converted to '1-dimensional array of Byte' Pin
l0kke30-Aug-07 23:21
l0kke30-Aug-07 23:21 
My knowledge of VB is rubbish, but I would say the problem is as follows:

cmd.ExecuteScalar() returns object, which is supposed to be array of bytes,
but your call CByte(cmd.ExecuteScalar()) is trying to convert this object into object of type byte (not array of bytes) and that causes your error.

Unfortunately, I don't know correct syntax in VB for casting object into array, I hope you do (otherwise you have to google it Smile | :) )

Pilo
QuestionHow to get IpAddress of the system. Pin
rahul.net1130-Aug-07 22:22
rahul.net1130-Aug-07 22:22 
AnswerRe: How to get IpAddress of the system. Pin
Imran Khan Pathan30-Aug-07 23:17
Imran Khan Pathan30-Aug-07 23:17 
GeneralRe: How to get IpAddress of the system. Pin
rahul.net1130-Aug-07 23:26
rahul.net1130-Aug-07 23:26 
AnswerRe: How to get IpAddress of the system. Pin
Vasudevan Deepak Kumar31-Aug-07 7:31
Vasudevan Deepak Kumar31-Aug-07 7:31 
AnswerRe: Give me a solution Pin
Michael Sync30-Aug-07 22:04
Michael Sync30-Aug-07 22:04 
QuestionHow can I input data into a dropdownlist ? Pin
Big Ralph30-Aug-07 21:46
Big Ralph30-Aug-07 21:46 
AnswerRe: How can I input data into a dropdownlist ? Pin
\laddie30-Aug-07 21:56
\laddie30-Aug-07 21:56 
GeneralRe: How can I input data into a dropdownlist ? Pin
Big Ralph30-Aug-07 22:00
Big Ralph30-Aug-07 22:00 
Questionhow to enable javascript at runtime in asp.net Pin
puspendra napit30-Aug-07 21:37
puspendra napit30-Aug-07 21:37 
AnswerRe: how to enable javascript at runtime in asp.net Pin
\laddie30-Aug-07 21:46
\laddie30-Aug-07 21:46 
AnswerRe: how to enable javascript at runtime in asp.net Pin
Michael Sync30-Aug-07 22:01
Michael Sync30-Aug-07 22:01 
QuestionRe: how to enable javascript at runtime in asp.net Pin
Satish_S31-Aug-07 19:35
Satish_S31-Aug-07 19:35 
AnswerRe: how to enable javascript at runtime in asp.net Pin
Michael Sync31-Aug-07 20:51
Michael Sync31-Aug-07 20:51 
AnswerRe: how to enable javascript at runtime in asp.net Pin
Vasudevan Deepak Kumar30-Aug-07 22:09
Vasudevan Deepak Kumar30-Aug-07 22:09 
QuestionDrag and drop rows in grid view or repater Pin
ysunil_7430-Aug-07 21:37
ysunil_7430-Aug-07 21:37 
AnswerRe: Drag and drop rows in grid view or repater Pin
VenkataRamana.Gali31-Aug-07 1:39
VenkataRamana.Gali31-Aug-07 1:39 
Questionhow to manipulate with sqlserver database using javascript from aspx page Pin
vidyasankar30-Aug-07 21:33
vidyasankar30-Aug-07 21:33 

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.