c# - Add additional row and computed data in datagrid -


currently code creates , populates row each vertex. how go adding row under each row created say...the value of (position.x ++ position y)in appropriate columns? adding empty row's easy thing do. populating task.

foreach (acdb.objectid vertexid in poly)     {      if (!vertexid.objectclass.isderivedfrom(vertexclass))          continue;           var vertex = (acdb.polylinevertex3d)trans.getobject(vertexid, acdb.openmode.forwrite);                     system.data.datarow dr = vertextable.newrow();                     dr.itemarray = new object[] { vertex.handle.value, vertex.position.x, vertex.position.y, vertex.position.z } ;                     vertextable.rows.add(dr); 


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -