Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Getting newest file from specific directory

If you want to get newest file from any specific directory, you can use the following source code: C# code FileInfo GetNewestFile(DirectoryInfo directoryInfo) { return directoryInfo.GetFiles() .Union(directoryInfo.GetDirectories().Select(d

Checking Connection in ADO.NET

While writing codes in ADO.NET, the first thing you need to make sure what kind of operation are you performing .   If you are performing insert update or delete operation the database connection needs to be opened and closed.   If you

Bind RSS Feeds to Repeater Control

Hi All, RSS feeds are the Rich Site Summary feeds, benefit users who want to receive timely updates from favorite websites or to aggregate data from many sites. Here i am using ABC News RSS feeds to get the news Update. A particular RSS feeds are on

Using checkit module in nodejs

Checkit allows you to validate full javascript object, defining custom rules and message, I supports both asynchronous and synchronous validations. The validations by checkit works for both on browser and server.   Sample code: 1. Async: va

How to add penalty in customer invoice in OpenERP-6.1?

In OpenERP first, install the account module and then create the own module and relate it to the fields payment term in account module. Follow these steps given below: Step1- First create add_penalty.py file in your own module and pass this file in

How can used Static JSON Parsing in Android

 In the below example I have created  Static JSON Parsing program in android. First I have added two TextView within RelativeLayout. In MainActivity I have used JSON object and JSON array JSON object within curly bracket ({)  and JSON

Dynamically changing themes

This blog gives you step by step instructions on how to make dynamic themes in C#. 1) First develop all of the themes you want and put them all under the App_Themes folder in your ASP.Net project. I have created two themes with Red and Green Name.

How to return Membership State For Given Partner in OpenERP

In OpenERP first current row of the database cursor finds the current user’s ID for security checks. Then This Function return Membership State For Given Partner and return dictionary of membership state Value. Use this function show below d

How to create Membership State for Given Partner in OpenERP

In OpenERP first create partner and then validate the partner form. After this compare it with the membership of the other partner. Then standard dictionary for contextual values and the dictionary of Membership state Value. Use this function show b

iOS-Get Number of Days According to the Selected Month in Month Picker

1. Suppose you want to select or get number of days as per its month. 2. First, use a picker & convert it into month picker you can use many third-party pods or simply use their .h or .m files also. 3. Once ur picker is ready to go select any mon

1 11 49
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: