Jaseel s Read only Read only Регистрация 23.12.2016 Сообщения 44 Благодарностей 1 Баллы 8 14.03.2017 #1 Hello , How can i delete specific column from a table?
SEOGet Moderator Регистрация 06.01.2012 Сообщения 204 Благодарностей 23 Баллы 18 15.03.2017 #2 C# Action in PM . Delete SourceTable C column. (or set SourceTable C column value empty string) Код: var sourceTable = project.Tables["SourceTable"]; lock(SyncObjects.TableSyncer) { for(int i=0; i < sourceTable.RowCount; i++) { sourceTable.SetCell("C",1,""); } } Реакции: PHaRTnONu
C# Action in PM . Delete SourceTable C column. (or set SourceTable C column value empty string) Код: var sourceTable = project.Tables["SourceTable"]; lock(SyncObjects.TableSyncer) { for(int i=0; i < sourceTable.RowCount; i++) { sourceTable.SetCell("C",1,""); } }
EtaLasquera Client Регистрация 02.01.2017 Сообщения 526 Благодарностей 112 Баллы 43 26.12.2017 #3 Up There is a way to delete column from table? The code posted by "SEOGet" only clear column data, I need to remove column... something like: Код: var tbl = project.Tables[myTable]; tbl.DeleteCol("D");
Up There is a way to delete column from table? The code posted by "SEOGet" only clear column data, I need to remove column... something like: Код: var tbl = project.Tables[myTable]; tbl.DeleteCol("D");
EtaLasquera Client Регистрация 02.01.2017 Сообщения 526 Благодарностей 112 Баллы 43 26.12.2017 #4 Forget that... just save to file, read file contents, replace ;; to ; and save the file. Последнее редактирование: 26.12.2017