Logo 
Search:

Asp.net Forum

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds

c# conversion

  Asked By: Jody    Date: Jan 22    Category: Asp.net    Views: 692
  

when i am trying to convert a working vb client file to c#.. the
following error shows.


Compiler Error Message: CS0138: A using namespace directive can only
be applied to namespaces; 'Service1' is a class not a namespace

Source Error:

Line 2:
Line 3:
Line 4: <%@ Import Namespace="Service1" %>
Line 5: <script runat="server" language="cs">


Can any one guess whts wrong?

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Dan Romero     Answered On: Jan 22

Service1 is declared as a class  and not a namespace name... Check that. The
errror says axatly that. YOu didn't send any code or provide any information, so
the answer is very much like the error  code... sorry.

 
Answer #2    Answered By: Danny Rough     Answered On: May 01

from the chart we believe there is something wrong with the process. i think you should employ other image converter to have a try.
www.rasteredge.com/dotnet-imaging/image-convert/

 
Didn't find what you were looking for? Find more on c# conversion Or get search suggestion and latest updates.




Tagged: