Friday, July 31, 2009

I need help in C# Help.?

I'm using Microsoft Visual C# .NET and develop in Windows Application, which means that I'm using Windows form.


If I put in Hyperlink on the form, how do I make it link to internet? For example, "http://www.yahoo.com".


Or maybe, a button? I kind of forget something so basic. Oops.

I need help in C# Help.?
Open up the web browser after the OnClick event is triggered on the link label. Probably the easiest way.





private void linkLabel1_LinkClicked(object sender,


LinkLabelLinkClickedEventArgs e)


{


Process.Start("http://www.asp.net");


}
Reply:I'd use a LinkLabel. http://msdn2.microsoft.com/en-us/library...

flowers gifts

No comments:

Post a Comment