help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • BillS

    #1

    help

    Khwar, Are you using VisualStudio?
    You must have a reference to the assembly containing the
    type called "2" (that's not a valid name) and then
    the "using" directive can refer to a namespace defined
    within that assembly.
    Hope that gives you something to try,
    Bill
    [color=blue]
    >-----Original Message-----
    >i have one cs file called 1.cs i also have another cs[/color]
    file[color=blue]
    >called 2.cs which defines and implement a class called[/color]
    2.[color=blue]
    >In 1.cs i want to create a object of type of 2 which is
    >defined and implemented in 2.cs. Now i tried using
    >the "using 2;" directive on top of the page in 1.cs but
    >when i run the aspx page which uses 1.cs for its code
    >behind it give me the error message for the line where[/color]
    it[color=blue]
    >says "using 2;" apparently it can't find the name space 2
    >can some help please
    >thanks
    >.
    >[/color]
Working...