单项选择题

窗体上有一个名称为Text1的文本框,一个名称为Command1的命令按钮。以下程序的功能是从顺序文件中读取数据:
Private Sub Command1_Click()
Dim s1 As String, s2 As String
Open "c:\d4.dat" For Append As #3
Line Input#3, s1 Line Input#3, s2
Text1.Text=s1+s2
Close
End Sub
该程序运行时有错误,应该进行的修改是

A.将Open语句中的ForAppend改为ForInput
B.将LineInput改为Line
C.将两条Line Input语句合并为Line Input #3, s1, s2
D.将Close语句改为Close #3