static void Main() { DBConnect dbconnect = new DBConnect(); using (System.IO.StreamWriter file = new System.IO.StreamWriter(@"C:\Temp\WriteLines4.txt", true)) { file.WriteLine(dbconnect.CountPublic()); } dbconnect.CloseConnectionPublic(); }It connects to database, counts rows in table, writes result into txt file and closes connection. Now my need is to show result in silverlight (web page) instead of writing into txt file. How do I start?
It connects to database, counts rows in table, writes result into txt file and closes connection.
Now my need is to show result in silverlight (web page) instead of writing into txt file. How do I start?