in VB programme create all text variable like grid coloumn, all variable type is text.
and then type following code
i.e. in grid their r 4 col.
srno as string * 
name as string * 
Addr as string * 
mobile as string * 
for i=0 to dbgrid.rows-1
srno = lset(dbgrid.textmatrix(i,0))
fwrite #, srno & name & Addr & mobile
Last Wiki Answer Submitted: January 7, 2009 7:14 am by BPD15 pts.