ใช้การ Read Text File ปกติครับ จากนั้นก็แทรกคำสั่ง Insert ใน Loop ครับ
Code (VB.NET)
Sub Page_Load(sender As Object, e As EventArgs)
Dim StrWer As StreamReader
Try
StrWer = File.OpenText(Server.MapPath("MyFiles/") & "thaicreate.txt")
Do Until StrWer.EndOfStream
Me.lblText.Text = Me.lblText.Text & StrWer.ReadLine() & "<br>"
Loop
StrWer.Close()
Catch ex As Exception
Me.lblText.Text = "Read failed. ("& ex.Message &")"
End Try
End Sub