Click here to Skip to main content
15,923,083 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow to show the values that are invisible in the grid view Pin
jagan12320-Dec-07 19:00
jagan12320-Dec-07 19:00 
AnswerRe: how to show the values that are invisible in the grid view Pin
Member 387988120-Dec-07 20:01
Member 387988120-Dec-07 20:01 
Generalsession between pages Pin
Sunil Wise20-Dec-07 18:50
professionalSunil Wise20-Dec-07 18:50 
GeneralRe: session between pages Pin
Sun Rays20-Dec-07 21:20
Sun Rays20-Dec-07 21:20 
GeneralRe: session between pages Pin
Venkatesh Mookkan20-Dec-07 21:33
Venkatesh Mookkan20-Dec-07 21:33 
QuestionRetrive System Unique details?? Pin
Soumya Mathew20-Dec-07 17:47
Soumya Mathew20-Dec-07 17:47 
AnswerRe: Retrive System Unique details?? Pin
Christian Graus20-Dec-07 18:29
protectorChristian Graus20-Dec-07 18:29 
AnswerRe: Retrive System Unique details?? Pin
Abhijit Jana20-Dec-07 19:25
professionalAbhijit Jana20-Dec-07 19:25 
You need WMI Programming For that.

This is the sample code for retrive processor ID
using System;
using System.Management;
using System.Windows.Forms;

namespace WMISample
{
    public class MyWMIQuery
    {
        public static void Main()
        {
            try
            {
                ManagementObjectSearcher searcher = 
                    new ManagementObjectSearcher("root\\CIMV2", 
                    "SELECT * FROM Win32_Processor"); 

                foreach (ManagementObject queryObj in searcher.Get())
                {
                 Console.WriteLine("ProcessorId: {0}", queryObj["ProcessorId"]);
                }
            }
            catch (ManagementException e)
            {
                MessageBox.Show("An error occurred");
            }
        }
    }
}


For MotherBoard use the following Query
ManagementObjectSearcher searcher =
                   new ManagementObjectSearcher("root\\CIMV2",
                   "SELECT * FROM Win32_MotherboardDevice");

and this Print Motherboard ID
Console.WriteLine("DeviceID: {0}", queryObj["DeviceID"]); 


Hope this will helps you !!!! Smile | :)
Best Regards
-----------------
Abhijit Jana
View My CodeProject Articles

"Success is Journey it's not a destination"

GeneralCheckboxlist pbm Pin
SreejithAchutan20-Dec-07 17:43
SreejithAchutan20-Dec-07 17:43 
GeneralRe: Checkboxlist pbm Pin
Neeraj Jain20-Dec-07 17:52
Neeraj Jain20-Dec-07 17:52 
GeneralRe: Checkboxlist pbm Pin
SreejithAchutan20-Dec-07 19:55
SreejithAchutan20-Dec-07 19:55 
QuestionAbout Webconfig Pin
Neeraj Jain20-Dec-07 17:10
Neeraj Jain20-Dec-07 17:10 
GeneralRe: About Webconfig Pin
Christian Graus20-Dec-07 18:27
protectorChristian Graus20-Dec-07 18:27 
Generaldisplaying alert with background page disabled Pin
uglyeyes20-Dec-07 12:24
uglyeyes20-Dec-07 12:24 
GeneralRe: displaying alert with background page disabled Pin
Christian Graus20-Dec-07 14:30
protectorChristian Graus20-Dec-07 14:30 
GeneralRe: displaying alert with background page disabled Pin
Venkatesh Mookkan20-Dec-07 15:46
Venkatesh Mookkan20-Dec-07 15:46 
GeneralRe: displaying alert with background page disabled Pin
Sathesh Sakthivel20-Dec-07 15:48
Sathesh Sakthivel20-Dec-07 15:48 
GeneralMixing ASP with ASP.NET Pin
Fernando A. Gomez F.20-Dec-07 12:06
Fernando A. Gomez F.20-Dec-07 12:06 
GeneralRe: Mixing ASP with ASP.NET Pin
Christian Graus20-Dec-07 12:09
protectorChristian Graus20-Dec-07 12:09 
GeneralRe: Mixing ASP with ASP.NET Pin
Fernando A. Gomez F.20-Dec-07 12:15
Fernando A. Gomez F.20-Dec-07 12:15 
GeneralRe: Mixing ASP with ASP.NET Pin
Christian Graus20-Dec-07 14:25
protectorChristian Graus20-Dec-07 14:25 
QuestionRe: Mixing ASP with ASP.NET Pin
Venkatesh Mookkan20-Dec-07 15:57
Venkatesh Mookkan20-Dec-07 15:57 
GeneralRe: Mixing ASP with ASP.NET Pin
Christian Graus20-Dec-07 18:31
protectorChristian Graus20-Dec-07 18:31 
GeneralRe: Mixing ASP with ASP.NET Pin
Venkatesh Mookkan20-Dec-07 20:53
Venkatesh Mookkan20-Dec-07 20:53 
GeneralWindows Authentication Impersonate Pin
ss.mmm20-Dec-07 11:00
ss.mmm20-Dec-07 11:00 

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.