Example #1
0
 public override void EndTable()
 {
     if (Mode == 1 && CI != null)
     {
         PutUtf8("</table>");
         CI = null;
     }
 }
Example #2
0
 public override void NewTable(DBNS.ColInfo ci)
 {
     CI = ci;
     if (Mode == 1)
     {
         PutUtf8("<table><tr>");
         for (int i = 0; i < ci.Count; i += 1)
         {
             PutUtf8("<th>" + ci.Name[i]);
         }
     }
 }
Example #3
0
 public ColInfo Get()
 {
   ColInfo result = ColInfo.New( Names, Types );
   Names = null;   
   return result;
 }
Example #4
0
 Table NewSysTable( int tableId, string name, ColInfo ci )
 {
   return new Table( this, Sys, name, ci, tableId );
 }
Example #5
0
 int GetIx( ColInfo info, string name )
 {
   for ( int i = 0; i < info.Count; i += 1 )
     if ( info.Name[ i ] == name ) return i;
   return -1;
 }
Example #6
0
 public override void NewTable(ColInfo info)
 {
     Table = new StoredTable(info);
 }
Example #7
0
 public StoredTable(ColInfo info)
 {
     Info = info;
 }