Hello, I am new to C# and can't seem to figure out why I cannot use Directory.CreateDirectory in the user control code attached. I have used it many times in VB.
TIA,
Andrew
.NET Programming
Last Comment
AndyAinscow
8/22/2022 - Mon
AndyAinscow
>>I have used it many times in VB.
Have you? According to that error the SiteInfintyWebApp.UserControls.Directory does not contain a method called CreateDirectory. (You might have used a different class in VB)
Andrew
ASKER
Ok, I am confused...
using System.IO; allows for use of Directory.CreateDirectory("TEST");
Have you? According to that error the SiteInfintyWebApp.UserCont