Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / September 2005

Tip: Looking for answers? Try searching our database.

input string not in correct format

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
amitbadgi@gmail.com - 14 Sep 2005 20:39 GMT
Hi I am getting the following error while converting an asp application
to asp.net\

Compiler Error Message: BC30201: Expression expected.

Source Error:

Line 299:<li><a
href="add_individual.asp?x=<%=rs_offenderinfo.Fields.Item("STU_ID").Value%>">

Line 300: Edit Offender Information</a></li>
Line 301:<li><a
href="add_event.aspx?n=<%=server.URLEncode(((rs_offenderinfo.Fields.Item('"full_NAME"').Value)
* 145) + 23)%> &
id=<%=((rs_offenderinfo.Fields.Item("STU_ID").Value))%> &
type=<%=(rs_offenderinfo.Fields.Item("type").Value)%>">Add

Line 302: New Events </a></li>
Line 303: <% end if %>

Source File: C:\Documents and
Settings\amit\Desktop\WebSite1\main_offender_non.aspx    Line: 301

Thanks in advance
Curt_C [MVP] - 14 Sep 2005 21:12 GMT
step through it.. what does line 301 look like when it's rendered?
Also, are you still using RecordSets in your .Net? You may want to look at
DataSet's...
When doing an ASP to ASP.NET conversion you really will probably want to
just recreate it, and not try to do a conversion.. they are VERY different.
It's like trying to convert a Car to a Truck... sure it can be done, but the
results probably wont be very pretty unless you are an expert.

Signature

Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

> Hi I am getting the following error while converting an asp application
> to asp.net\
[quoted text clipped - 20 lines]
>
> Thanks in advance

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.