| ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel Namespace : IZennoTable Interface |

public interface IZennoTable
// get table by name "MyTable" IZennoTable table = project.Tables["MyTable"]; // add a new row table.AddRow("new row"); // get row count int rowCount = table.RowCount; // if row count > 0 if (rowCount > 0) { // get row by index "0" var row = table.GetRow(0); // join items via "|" string result = String.Join("|", row); // and return this value return result; }
// get table by name "MyTable" $table = $project->Tables->get_Item("MyTable"); // add a new row $table->AddRow("new row"); // get row count $rowCount = $table->RowCount; // if row count > 0 if ($rowCount > 0) { // get row by index "0" $row = $table->GetRow(0); // join items via "|" $result = String::Join("|", $row); // and return this value return $result; }
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven