Click here to Skip to main content
15,908,931 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Web user controls and urls in asp.net 1.1 Pin
doWhileSomething19-Jul-07 12:31
doWhileSomething19-Jul-07 12:31 
GeneralRe: Web user controls and urls in asp.net 1.1 Pin
jojoStoneHead19-Jul-07 13:31
jojoStoneHead19-Jul-07 13:31 
Questionasp:Calendar Pin
Brendan Vogt19-Jul-07 8:15
Brendan Vogt19-Jul-07 8:15 
AnswerRe: asp:Calendar Pin
kubben19-Jul-07 8:20
kubben19-Jul-07 8:20 
QuestionFormView ASP.Net 2.0 Pin
Amit Kumar G19-Jul-07 8:12
Amit Kumar G19-Jul-07 8:12 
AnswerRe: FormView ASP.Net 2.0 Pin
Amit Kumar G19-Jul-07 8:22
Amit Kumar G19-Jul-07 8:22 
QuestionSharepoint WebPart Button Click Pin
Daaron19-Jul-07 8:09
Daaron19-Jul-07 8:09 
QuestionParse error message [modified] Pin
ASPnoob19-Jul-07 6:27
ASPnoob19-Jul-07 6:27 
Hi, I get the error message " Name 'parse' is not declared" in the following code.

Try<br />
            _con.Open()<br />
            Dim _cmd As OdbcCommand = _con.CreateCommand()<br />
            _cmd.CommandText = "select Resumes from" + " Contenttbl where id='" + id + "'"

Dim _buf As Byte() = CByte(parse(_cmd.ExecuteScalar()))

         Response.BinaryWrite(_buf)<br />
        Catch<br />
        Finally<br />
<br />
            _con.Close()<br />
        End Try


Isn't Parse a method name, why would I have to declare it if its a built-in method in VB.net? I have tried changing the line

Dim _buf As Byte() = CByte(parse(_cmd.ExecuteScalar()))

to

Dim _buf As Byte = CByte(_cmd.ExecuteScalar())

but it didn't work. I got the error "Value of type 'Byte' cannot be converted to '1-dimensional array of Byte'" on the line Response.BinaryWrite(_buf), when I did that. At this point I really don't know what else to do, please help me solve the problem. Thank you in advance for your help.





-- modified at 12:36 Thursday 19th July, 2007
AnswerRe: Parse error message Pin
SHatchard19-Jul-07 6:37
SHatchard19-Jul-07 6:37 
GeneralRe: Parse error message Pin
ASPnoob19-Jul-07 8:39
ASPnoob19-Jul-07 8:39 
Questionsessions again Pin
boyindie19-Jul-07 6:26
boyindie19-Jul-07 6:26 
AnswerRe: sessions again Pin
sathesh pandian19-Jul-07 6:49
sathesh pandian19-Jul-07 6:49 
AnswerRe: sessions again Pin
Manas Bhardwaj19-Jul-07 7:11
professionalManas Bhardwaj19-Jul-07 7:11 
GeneralRe: sessions again Pin
boyindie19-Jul-07 7:50
boyindie19-Jul-07 7:50 
AnswerRe: sessions again Pin
doWhileSomething19-Jul-07 8:19
doWhileSomething19-Jul-07 8:19 
GeneralRe: sessions again Pin
boyindie19-Jul-07 11:15
boyindie19-Jul-07 11:15 
GeneralRe: sessions again Pin
doWhileSomething19-Jul-07 12:44
doWhileSomething19-Jul-07 12:44 
GeneralRe: sessions again Pin
boyindie20-Jul-07 0:29
boyindie20-Jul-07 0:29 
AnswerRe: sessions again Pin
Deepak Gedia19-Jul-07 20:42
Deepak Gedia19-Jul-07 20:42 
GeneralRe: sessions again Pin
boyindie20-Jul-07 0:56
boyindie20-Jul-07 0:56 
Questioncopy stored procedures using visual studio 2005 Pin
TheEagle19-Jul-07 5:31
TheEagle19-Jul-07 5:31 
AnswerRe: copy stored procedures using visual studio 2005 Pin
doWhileSomething19-Jul-07 8:23
doWhileSomething19-Jul-07 8:23 
GeneralRe: copy stored procedures using visual studio 2005 Pin
TheEagle19-Jul-07 9:22
TheEagle19-Jul-07 9:22 
GeneralRe: copy stored procedures using visual studio 2005 Pin
doWhileSomething19-Jul-07 10:17
doWhileSomething19-Jul-07 10:17 
GeneralRe: copy stored procedures using visual studio 2005 Pin
TheEagle19-Jul-07 11:06
TheEagle19-Jul-07 11:06 

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.