Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- procedure chargeDataToGrid(index:integer; article:TArticulo);
- var
- articleToGrid:TStringList;
- begin
- articleToGrid:=TStringList.Create;
- articleToGrid.CommaText:= IntToStr(article.Codigo)+','+ FloatToStr(article.Precio_Unitario)+','+ IntToStr(article.Stock)+',' +string(article.Tipo_Articulo)+','+ string(article.descripcion)+','+ string(article.estado);
- frmArticles.grdArticles.Rows[index] := articleToGrid;
- articleToGrid.Free;
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement