In Most projects that involve shipping or user registration, you might need country and state dropdownlists. Since the list of countries and States does not that often, most people would not like get and bind the data from the database. Here is ASP.NET country and State Dropdown list Country List US State List
A function is a named section of a program that performs a specific task that can be reused. The main advantages of functions are resusability and ease of maintainance.
1. Builtin functions
2. Internal peoplecode functions
3. External peoplecode functions
4. External non peoplecode functions
PeopleTools provides a number of system variables that provide access to system information. System variables in peoplecode are prefixed with the ‘%’ character, rather than the ‘&’ character. You can use these system variables wherever you can use a constant, passing them as parameters to functions or assigning their values to fields or to temporary variables.
Finally, it has become possible to easily add AJAX file uploading capabilities to ASP.NET applications. The newly released version of the AJAX Control Toolkit ships with two new controls, one of them is called AsyncFileUpload control. AsyncFileUpload is an ASP.NET AJAX Control that allows you asynchronously upload files to server. The file uploading results can be checked both in the server and client sides. Using AsyncFileUpload Control in ASP.NET AJAX is simple.
In a earlier article we have gone through how to draw directions between two locations. In this article we will learn how to make directions draggable using Google Maps v3.
Google Maps v3 allows the directions to be draggable by setting draggable property of the renderer to true. This allows user to modify cycling, walking or driving directions displayed using a DirectionsRenderer dynamically, permitting a user to select and alter routes by clicking and dragging the resulting paths on the map. Transit directions cannot be made draggable.
In earlier tutorials, we have learnt the basics of google maps and looked through examples like creating a store locator. In this tutorial, we will learn how to Draw directions between two locations using google maps v3. Google Maps api provides a DirectionService which allows to calculate directions. Directions Service receives direction requests and returns computed results. We may either handle these directions results yourself or use the DirectionsRenderer object to render these results.
Using Timers in a C# Windows Service is not as simple as it is in windows application where you can drag Timer from the Toolbox and implement it by setting up a few properties. Interestingly, you can do the same in a windows service but it just doesnot work. This is because the timer in […]
In a earlier artcile, we have seen how to create a windows service and install it.In this article we will check the process of Debugging a windows service in VS2010.
As with all other aspects, debugging a Windows Service is different than a normal application. The service cannot be debugged by simply executing it in the development environment as you can with a normal application. To debug a service, you must start the service and then attach a debugger to the process in which it is running. You can then debug your application using all of the standard debugging functionality of Visual Studio.
In this article we will explore basics of creating a windows service in C#. We will cover what Windows Services are and how to create, install a windows service.
A windows service is a long-running executable that performs specific functions and it is designed not to require user intervention or produce any visual output. Windows services can be configured to start when the operating system is booted and run in the background as long as Windows is running, or they can be started manually when required. Any user messages are typically written to text files or Windows Event Log.
Variables are storage places for text or numbers that you define and manipulate. In peoplecode, each variable type starts with special character.
The scope of a variable is the part of the program over which the variable name can be referenced.