Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
Search the Tips
Tip Bank > .NET > C#

C# - Page 2

21-40 of 50     Previous     Next
Adding an Existing Windows Form to Another Project
by Boris Eligulashvili
When you add an existing Windows Form to another (target) project, it may fail to be opened by the VS.Net Designer in your target project. This tip explains why and how to prevent this from happening.
Access the ValueMember Item in a Bound CheckedListBox
by Evan Stone
This tip shows you how to retrieve items in a list that have been checked and simply output them to the Output window.
How to Hide a ContextMenu
by Boris Eligulashvili
Find out how to hide a ContextMenu.
How to Create a Web Service in C#
by Sachin Kainth
Learn how to create a Web service in C#.
Comparing Strings Properly in Java
by Sachin Kainth
Find out how to use the equals method to compare strings in Java.
Converting a String to a GUID
by Sachin Kainth
Learn about this simple way to convert a string, which is in the correct GUID format, into a GUID.
Use the "as" Operator for Reference Type Casting
by Jaya Nehru Kumar
Using the "as" operator for reference type casting makes your code more readable, and can prevent exceptions should a type mismatch occur.
Creating and Using Resource Files
by Sachin Kainth
This tip uses the example of an input form to show you how to create and use resource files.
Send Email in C# Code
by Sachin Kainth
This code shows how to send email in C# code.
Initializing a TextBox
by Vadivel Mohanakrishnan
Learn the two ways to initialize a TextBox whose TextMode is "password" with a default password.
Creating Methods with a Variable Number of Arguments
by Bogdan Raducanu
Find out how to use the keyword params to define a method which will accept a variable number of arguments of the same type.
Structs with Care: Boxing
by Navin Varma
This tip helps guide you in deciding whether an object should be a class or a stuct.
Assign a Default Value to a Password Control in ASP.NET
by Prasad Haridass
Use this code to assign a default value to a password control in ASP.NET.
Export Data Grid Content to an XML File
by Jaya Nehru Kumar
In the absence of any XML support functions, you can use the RenderControl method to extract content from a Data Grid into an .xml file.
Building .NET Projects with the Correct References
by Boris Eligulashvili
This tip explains how to work with the ReferencePath property in your VB.NET and C# projects.
Set Your onclick Event to Occur on the Client Before the Server
by Huang Rickel
Follow these three simple steps to set your onclick event to occur on the client before it occurs on the server.
Manage User Control Values Using Javascript in an .aspx File
by Santhi Maadhaven
Learn how to retreieve and set user control values in your .aspx files using JavaScript.
An Efficient Method of String Concatenation
by Prasad Haridass
A good way to concatenate strings is to use the StringBuilder class.
Access GridView Container Row Items from the Button Click Event
by Jaya Nehru Kumar
Learn how to access GridView container row items from the button click event.
Call a Function or Subroutine with Its String Name Using the Invoke Method
by Parthasarathy Mandayam
While the VB6 function CallByName still works in ASP.NET, you can now also use the Invoke method of the MethodInfo class to perform the same tasks. Find out how.
21-40 of 50     Previous     Next
Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date