aspx to Html page
-
Hi All, I have to out put the result of my INputfile.aspx file in to an Html file on a browser. The code under my Inputfile.aspx file is as follow: DataSet ds=new DataSet(); SqlDataAdapter sda = new SqlDataAdapter("T2S_SELECT_SENDFINAL_msg", Utilities.ConnectionString); sda.SelectCommand.CommandType = CommandType.StoredProcedure; sda.Fill(ds); DataTable dt=ds.Tables[0]; GVResult.DataSource = dt; GVResult.DataBind(); The out put is just a single column from a table. I would like the data to be seen on Inputfile.html not on Inputfile.aspx? Is there any way i can convert my aspx file in to Html.So that the browser shows Inputfile.html not aspx? Many thanks
-
Hi All, I have to out put the result of my INputfile.aspx file in to an Html file on a browser. The code under my Inputfile.aspx file is as follow: DataSet ds=new DataSet(); SqlDataAdapter sda = new SqlDataAdapter("T2S_SELECT_SENDFINAL_msg", Utilities.ConnectionString); sda.SelectCommand.CommandType = CommandType.StoredProcedure; sda.Fill(ds); DataTable dt=ds.Tables[0]; GVResult.DataSource = dt; GVResult.DataBind(); The out put is just a single column from a table. I would like the data to be seen on Inputfile.html not on Inputfile.aspx? Is there any way i can convert my aspx file in to Html.So that the browser shows Inputfile.html not aspx? Many thanks
You need to setup your web server to handle aspx. Once this is setup, it will be able to understand the content of your aspx files and output html files to the browser. You don't need to worry about this conversion.
-
You need to setup your web server to handle aspx. Once this is setup, it will be able to understand the content of your aspx files and output html files to the browser. You don't need to worry about this conversion.
-
Thanks for your help much appreciated. I have only one html file in the project.All the remaining are *.aspx files. Can you let me know what should i do on my webserver? Many thanks
-
R u there? please dont answer like the way you have mentioned.becuase it doesnt mean anything.
Sorry I am not good at explaining things. I had configured Microsoft IIS before, to handle ASP.NET applications. I also configured Apache to achieve the same thing. However, the details on how I did this cannot be explained here because I had forgotten all of them. However, the process is not complicated. The web servers have plug-ins to handle ASP.NET. You need to specify how aspx files are handled. Please refer to Microsoft documentations for more information. Other experts here may also give you a better answer. Please wait patiently! Good luck!
-
Sorry I am not good at explaining things. I had configured Microsoft IIS before, to handle ASP.NET applications. I also configured Apache to achieve the same thing. However, the details on how I did this cannot be explained here because I had forgotten all of them. However, the process is not complicated. The web servers have plug-ins to handle ASP.NET. You need to specify how aspx files are handled. Please refer to Microsoft documentations for more information. Other experts here may also give you a better answer. Please wait patiently! Good luck!