Monday, February 8, 2010

Barcode Rendering Framework (CodePlex Open Source Community)

Project Description
The bar-code rendering framework quite simply encapsulates the native rendering of barcode symbologies without requiring third-party fonts. The framework makes it easy to define new symbologies and use the resultant images from web or forms applications in a variety of usage scenarios.

Currently supported bar-code symbologies;
  • Code 11 with or without checksum
  • Code 25 standard/interleaved with or without checksum
  • Code 39 with or without checksum
  • Code 93 with checksum only
  • Code 128 with checksum only
  • Code EAN 13 with checksum only
  • Code EAN 8 with checksum only
  • Code PDF417 2D with checksum (alpha version)

A sample web application is included to demonstrate usage of the rendering classes from a web environment - it's still rather simple though!

Ref: http://barcoderender.codeplex.com/

We can apply Max function in SQL Query for Varchar Coloumn

=============SQL===============================

ALTER PROCEDURE [dbo].[evs_MaxVisaNo]
AS
BEGIN

DECLARE @Length INT
SET @Length=(SELECT MAX(LEN(VisaNo)) from [Application])
SELECT TOP 1 VisaNo FROM [Application] WHERE LEN(VisaNo)=@Length ORDER BY VisaNo DESC

END

===============ASP.NET===============
//Begin Exec Procedure
SqlCommand cmdVisaNo = new SqlCommand();
SqlDataReader rdVisaNo;
cmdVisaNo.CommandText = "evs_MaxVisaNo";
cmdVisaNo.CommandType = CommandType.StoredProcedure;
cmdVisaNo.Connection = con;
rdVisaNo = cmdVisaNo.ExecuteReader();
//End Exec Procedure

---------------------------------------------------------
DECLARE @Length INT
SET @Length=(SELECT MAX(LEN(VisaNo)) from [Application])
SELECT TOP 1 VisaNo FROM [Application] WHERE LEN(VisaNo)=@Length ORDER BY VisaNo DESC

Tuesday, December 22, 2009

Happy Merry Christmas, Happy Holidays

As we near the end of year and Merry Christmas day, Han4U wants to take a moment to thank all of you for the time to visit this blog and wish you have energy, commitment in your life.

Saturday, December 5, 2009

Your life will be like...


Girl Tree

A half of life is happy :) and one more half of life is SAD!! :(

To become a talent person

1- Skill is needed
2- Knowledge is need
3- Behavior is need.


============> Talent Person

To become a Success Person

How to become a success person in your life? Not only you yourself that make your life to become success but you need some more human resource because you yourself cannot do many things in a time.

As my opinion if you want to become a success person in life you must fill up with some points below:

1- YOU HAVE TO BE CLEVER
2- YOU HAVE TO HAVE PROPERTY
3- YOU HAVE TO HAVE LUCKY
4- YOU HAVE TO DARE TO RISK ONE THING IN FRONT OF YOUR FACE.

Someone is clever but they don't have property.
Someone have much property but not lucky.
Someone have clever and property but not lucky.
Someone have property and lucky but not clever.

That's life.......!!!!!!!!!!!!!!!!!!!!!!!!!
So we have to put hand together!!!


ChanHan,

Saturday, November 28, 2009

To be a successful business



What are the people doing? Are they making money with own business?
This is the generation of technology, the most of businessman in world they know well about the strategy to get people come to their products either off-line and online the internet ways.

To be a successful businessman, i think that all businessman must know clearly about how to use ICT such as some of communication tools (Chat, forum, blog), and email, Social networking...(Online marketing).

Nowadays we cannot do a business without the internet, it's focusing on instant promotion on the website, contact customers by email, promote your product on blog or discuss and provide solution via forum...etc that's the way to make your own business works. So two ways must go together to push your biz run and get people to know , they are online marketing and offline marketing, both must go together.

In Cambodia, even though it is just getting a peace and they are considered as development country but ICT is very fast going now because of under prime minister HUN SEN's leading, all infrastructure like road development, bridge development, HR development and especial ICT development to make our country go very fast like the other country around us.

Addition to these, we're seeing that each of students they have own Handbook computer or Laptop computer and gathering to discuss, searching , and some learning on the internet via their own stuff. All these show very clear that whoever not only me or you but everybody are trying to push ICT in Cambodia to grow up and better than.



Thanks,
HY ChanHan

Tuesday, November 24, 2009

Wednesday, November 18, 2009

DAP-NEWS.COM

I heard that there are many IT experts in Cambodian is regretting with Mr.Soy Sopheap's words on CTN he said that cambodian's IT knowledge is limited , this word hurt many Cambodian who are in IT domain. There are many blogs against with his and try to tell the solution on the internet.

I am also one of Cambodian and is trying to explore in IT sector, i am also pain with his speech on CTN :(

But now i am trying, studying , analyzing all the best on his website with number of million visitors per day what server should it use to fit with those visitors. (off-line solution, directly to DAP office) I just want to show him that Cambodian's IT is patient, struggle and unlike what he said. And my friend continued "there are many foreigners under his control now" to Mr. Soy Sopheap.

Wednesday, November 11, 2009

How to clear form after postback

You have two options:
1) when the email is successfully sent, clear all fields
2) do a redirect (to the same url), after sending.

Great!!!

Linkedin ::: New Feature , just found


Hey!!! I just found one more new feature of Linkedin.COM this evening, 11st Nov 2009, it is Twitter module.

So i can tweet from Linkedin from now.

Tuesday, November 10, 2009

DAP-NEWS.COM on 10th Nov 2009


DAP: We apologize for some inconvenient on our website, DAP-NEWS.COM, that's very slow and stuck for a whole day since the latest news about Thaksin Sinawatra arrival in Phnom Penh is posted on the site.

But we are trying to fix it as soon as possible for our visitors either in the local or abroad.

Note: D.A.P is the best breaking news website in Cambodia and we've got more than 2 million visitor around the world.


Thanks,