The first metal-organic framework containing an unprecedented in situ-generated C-substituted hexamethylenetetramine ligand has been successfully prepared by the reaction of silver nitrate, 4-formylbenzoic acid and hexamethylenetetramine under traditional solution conditions, which holds the unusual (3,4)-connected topological network.