Posted on: 6/14/2014 5:13:08 AM | Views : 307

in my web application i need to write data from datatable at run time in HTML ie i need to create a html page udring runtime & write data in it curren
Dim msg as string msg="<html> <head></head><body>" msg="<table><tr><td>datatable.rows(i).item("name").tostring() </td></tr></table> msg="</body></html>" Dim s As New System.IO.StreamWriter("C:\details.html", False) If System.IO.File.Exists("C:\details.html") Then s.WriteLine(msg) s.Close() Else MkDir("c:\Index.html") s.WriteLine(msg) s.Close() End If is this the correct method tly i am using

Go to the complete details ...