I want to use Server.MapPath in my Web Form (Windows Form App) But it is not taking error :
LinkedResource resource = new LinkedResource((Microsoft.SqlServer.Server.MapPath("Images\007jvr.gif")));
Error 1 The type or namespace name 'MapPath' does not exist in the namespace 'Microsoft.SqlServer.Server' (are you missing an assembly reference?)
What I need to do?