|
-
Jan 8th, 2003, 10:54 PM
#1
Thread Starter
Member
Can you save a datagrig to a .txt file?[RESOLVED]
Is it possible to save the contents of a datagrid to a .txt file using code similar to this:
Private Sub SaveAs_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem3.Click
SaveFileDialog1.Filter = "Text files (*.txt)|*.txt"
SaveFileDialog1.ShowDialog()
If SaveFileDialog1.FileName <> "" Then
FIleOpen(1, SaveFileDialog1.FileName, OpenMode.Output)
PrintLine(1, DataGrid1.(What do I put Here?)
FileClose(1)
Endif
Last edited by Nintendo_Wizard; Jan 16th, 2003 at 12:23 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|