Htmlgenericcontrol JS = New Htmlgenericcontrol ( " Script " );
JS. attributes [ " Type " ] = " Text/JavaScript " ;
JS. attributes [ " SRC " ] = " JS/jquery. Validate. js " ;
Htmlgenericcontrol mes = New Htmlgenericcontrol ( " Script " );
Mes. attributes [ " Type " ] = " Text/JavaScript " ;
Mes. attributes [ " SRC " ] = " JS/jquery. Validate. messages_cn.js " ;
Htmlmeta meta1 = New Htmlmeta ();
Meta1.name = " Keywords " ;
Meta1.content = " L **** " ;
Htmlmeta meta2 = New Htmlmeta ();
Meta2.name = " Description " ;
Meta2.content = " ******** " ;
Page. header. Controls. Add (JS );
Page. header. Controls. Add (MES );
Page. header. Controls. Add (meta1 );
Page. header. Controls. Add (meta2 );
// If you find that there are no built-in methods or attributes, use the following method:
Htmlgenericcontrol mes = New Htmlgenericcontrol ( " Tag " );
Mes. attributes [ " Attribute " ] = " ** " ;
Mes. attributes [ " Attribute " ] = " *** " ;