Click here to Skip to main content
15,921,351 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow solve this error?? Pin
Rami Said Abd Alhalim14-Mar-07 1:32
Rami Said Abd Alhalim14-Mar-07 1:32 
AnswerRe: How solve this error?? Pin
Colin Angus Mackay14-Mar-07 1:48
Colin Angus Mackay14-Mar-07 1:48 
AnswerRe: How solve this error?? Pin
Sandeep Akhare14-Mar-07 3:49
Sandeep Akhare14-Mar-07 3:49 
Questionremote connections Pin
Rami Said Abd Alhalim14-Mar-07 1:30
Rami Said Abd Alhalim14-Mar-07 1:30 
AnswerRe: remote connections Pin
Colin Angus Mackay14-Mar-07 1:47
Colin Angus Mackay14-Mar-07 1:47 
GeneralRe: remote connections Pin
Rami Said Abd Alhalim14-Mar-07 2:32
Rami Said Abd Alhalim14-Mar-07 2:32 
QuestionHow to get the Clients Operating System in asp.net 1.1 Pin
RaviJJain14-Mar-07 1:06
RaviJJain14-Mar-07 1:06 
AnswerRe: How to get the Clients Operating System in asp.net 1.1 Pin
kubben14-Mar-07 14:44
kubben14-Mar-07 14:44 
There is an operatingSystem object that has Platform, servicepack, version and versionstring.

Here is an example straight from Microsoft help:
Visual Basic  
' Example for the OperatingSystem constructor and the  
' OperatingSystem.ToString( ) method.
Imports System
Imports Microsoft.VisualBasic

Module OpSysConstructDemo
    
    ' Create and display an OperatingSystem object.
    Sub BuildOSObj( pID As PlatformID, ver As Version )

        Dim os As New OperatingSystem( pID, ver )

        Console.WriteLine( "   {0}", os.ToString( ) )
    End Sub 
        
    Sub BuildOperatingSystemObjects( )

        ' The Version object does not need to correspond to an 
        ' actual OS version.
        Dim verNull     As New Version( )
        Dim verMajMin   As New Version( 3, 11 )
        Dim verMMBld    As New Version( 5, 25, 625 )
        Dim verMMBVer   As New Version( 5, 6, 7, 8 )
        Dim verString   As New Version( "3.5.8.13" )
            
        ' All PlatformID members are shown here.
        BuildOSObj( PlatformID.Win32NT, verNull )
        BuildOSObj( PlatformID.Win32S, verMajMin )
        BuildOSObj( PlatformID.Win32Windows, verMMBld )
        BuildOSObj( PlatformID.WinCE, verMMBVer )
        BuildOSObj( PlatformID.Win32NT, verString )
    End Sub 
        
    Sub Main( )
        Console.WriteLine( _
            "This example of the OperatingSystem constructor " & _
            "and " & vbCrLf & "OperatingSystem.ToString( ) " & _
            "generates the following output." & vbCrLf )
        Console.WriteLine( _
            "Create and display several different " & _
            "OperatingSystem objects:" & vbCrLf )

        BuildOperatingSystemObjects( )
            
        Console.WriteLine(vbCrLf & _
            "The OS version of the host computer is: " & _
            vbCrLf & vbCrLf & "   {0}", _
            Environment.OSVersion.ToString( ) )
    End Sub
End Module 

' This example of the OperatingSystem constructor and
' OperatingSystem.ToString( ) generates the following output.
' 
' Create and display several different OperatingSystem objects:
' 
'    Microsoft Windows NT 0.0
'    Microsoft Win32S 3.11
'    Microsoft Windows 98 5.25.625
'    Microsoft Windows CE 5.6.7.8
'    Microsoft Windows NT 3.5.8.13
' 
' The OS version of the host computer is:
' 
'    Microsoft Windows NT 5.1.2600.0

 
C#   
// Example for the OperatingSystem constructor and the 
// OperatingSystem.ToString( ) method.
using System;

class OpSysConstructDemo 
{
    // Create and display an OperatingSystem object.
    static void BuildOSObj( PlatformID pID, Version ver )
    {
        OperatingSystem os = new OperatingSystem( pID, ver );

        Console.WriteLine( "   {0}", os.ToString( ) );
    }

    static void BuildOperatingSystemObjects( )
    {
        // The Version object does not need to correspond to an 
        // actual OS version.
        Version verNull     = new Version( );
        Version verMajMin   = new Version( 3, 11 );
        Version verMMBld    = new Version( 5, 25, 625 );
        Version verMMBVer   = new Version( 5, 6, 7, 8 );
        Version verString   = new Version( "3.5.8.13" );

        // All PlatformID members are shown here.
        BuildOSObj( PlatformID.Win32NT, verNull );
        BuildOSObj( PlatformID.Win32S, verMajMin );
        BuildOSObj( PlatformID.Win32Windows, verMMBld );
        BuildOSObj( PlatformID.WinCE, verMMBVer );
        BuildOSObj( PlatformID.Win32NT, verString );
    }

    public static void Main( ) 
    {
        Console.WriteLine( 
            "This example of the OperatingSystem constructor " +
            "and \nOperatingSystem.ToString( ) " +
            "generates the following output.\n" );
        Console.WriteLine( 
            "Create and display several different " +
            "OperatingSystem objects:\n" );

        BuildOperatingSystemObjects( );

        Console.WriteLine( 
            "\nThe OS version of the host computer is:\n\n   {0}", 
            Environment.OSVersion.ToString( ) );
    }
}

/*
This example of the OperatingSystem constructor and
OperatingSystem.ToString( ) generates the following output.

Create and display several different OperatingSystem objects:

   Microsoft Windows NT 0.0
   Microsoft Win32S 3.11
   Microsoft Windows 98 5.25.625
   Microsoft Windows CE 5.6.7.8
   Microsoft Windows NT 3.5.8.13

The OS version of the host computer is:

   Microsoft Windows NT 5.1.2600.0
*/


Hope that helps.
Ben
QuestionProblem with paging Pin
anujose14-Mar-07 0:39
anujose14-Mar-07 0:39 
AnswerRe: Problem with paging Pin
ToddHileHoffer14-Mar-07 2:08
ToddHileHoffer14-Mar-07 2:08 
QuestionImages in datagrid! Pin
nclauder14-Mar-07 0:14
nclauder14-Mar-07 0:14 
AnswerRe: Images in datagrid! Pin
varshavmane14-Mar-07 3:29
varshavmane14-Mar-07 3:29 
GeneralRe: Images in datagrid! Pin
nclauder14-Mar-07 5:00
nclauder14-Mar-07 5:00 
QuestionLoad Report Failed Error in CrystalReport Pin
siddisagar14-Mar-07 0:00
siddisagar14-Mar-07 0:00 
AnswerRe: Load Report Failed Error in CrystalReport Pin
Sylvester george14-Mar-07 0:19
Sylvester george14-Mar-07 0:19 
Questionlogin form + asp.net 2.0 + c# Pin
ritu432113-Mar-07 23:40
ritu432113-Mar-07 23:40 
AnswerRe: login form + asp.net 2.0 + c# Pin
Sylvester george13-Mar-07 23:53
Sylvester george13-Mar-07 23:53 
GeneralRe: login form + asp.net 2.0 + c# Pin
ritu432114-Mar-07 0:04
ritu432114-Mar-07 0:04 
GeneralRe: login form + asp.net 2.0 + c# Pin
Sylvester george14-Mar-07 0:09
Sylvester george14-Mar-07 0:09 
QuestionPaging Pin
vengaqua13-Mar-07 23:33
vengaqua13-Mar-07 23:33 
AnswerRe: Paging Pin
siddisagar14-Mar-07 0:45
siddisagar14-Mar-07 0:45 
GeneralRe: Paging Pin
vengaqua14-Mar-07 1:09
vengaqua14-Mar-07 1:09 
GeneralRe: Paging Pin
vengaqua14-Mar-07 2:30
vengaqua14-Mar-07 2:30 
GeneralRe: Paging Pin
siddisagar14-Mar-07 21:15
siddisagar14-Mar-07 21:15 
GeneralRe: Paging Pin
siddisagar9-Apr-07 2:34
siddisagar9-Apr-07 2:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.