Jump to content
Forum Roportal
Constantin Marin

Cum salvez datele dintr-un StringGrid ?

Rate this topic

Recommended Posts

pai daca e legat de un query atunci rezultatele din el le trimiti inapoi in baza de date sau te gandesti tu la un record pe care il scrii intr-un fisier.


daca e de tip string atunci mai jos este un exemplu din delphi cum sa lucrezi cu el - ai spus in alt post ca te descurci cu transcrierea


procedure TForm1.Button1Click(Sender: TObject);



I, J, K : Integer;


K := 0;

with StringGrid1 do

for I := 0 to ColCount - 1 do

for J:= 0 to RowCount - 1 do


K := K + 1;

Cells[i,J] := IntToStr(K);




toate cele bune.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now