A library of 27 sialosides, including seventeen 2,3-linked and ten 2,6-linked glycans, has been prepared to construct a glycan array and used to profile the binding specificity of different influenza hemagglutinins (HA) subtypes, especially from the 2009 swine-originated H1N1 and seasonal influenza viruses. It was found that the HAs from the 2009 H1N1 and the seasonal Brisbane strain share similar binding profiles yet different binding affinities toward various α2,6 sialosides. Analysis of the binding profiles of different HA subtypes indicate that a minimum set of 5 oligosaccharides can be used to differentiate influenza H1, H3, H5, H7, and H9 subtypes. In addition, the glycan array was used to profile the binding pattern of different influenza viruses. It was found that most binding patterns of viruses and HA proteins are similar and that glycosylation at Asn27 is essential for receptor binding.