Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Every One

There is a tool in Asp.Net Name Pointer .



Please help me, how to use this tool in web form.


I searched a lot but found nothing even in msdn


Thanks in Advance.
Posted

 
Share this answer
 
Comments
Pr!y@ 14-Sep-12 5:50am    
Thanks......!!!
There is no pointer concept in C#
Here is Delegate instead of Pointer

Delegate Example

C#
using System;
// Declare delegate -- defines required signature:
delegate void SampleDelegate(string message);

class MainClass
{
    // Regular method that matches signature:
    static void SampleDelegateMethod(string message)
    {
        Console.WriteLine(message);
    }

    static void Main()
    {
        // Instantiate delegate with named method:
        SampleDelegate d1 = SampleDelegateMethod;
        // Instantiate delegate with anonymous method:
        SampleDelegate d2 = delegate(string message)
        { 
            Console.WriteLine(message); 
        };

        // Invoke delegate d1:
        d1("Hello");
        // Invoke delegate d2:
        d2(" World");
    }
}
 
Share this answer
 
Comments
k@ran 14-Sep-12 4:25am    
He is talking about pointer control i think ??
Azziet 14-Sep-12 4:35am    
oh!!! then plz refer this article
http://saraford.net/2008/04/08/did-you-know-why-does-each-toolbox-group-have-a-pointer-control-and-what-does-it-actually-do-189/

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900