c# - Creating an Executable Script which accesses aspx form components and runs function -


Hi, I have created and in which a SQL database has a virtual gridview, I created a function in which the gridview was converted into an axle file. And it was stored on the server.

I just want to know how I can write an executable script (which I will set to run at a certain time, Gridview can access gridview and enter the epx file containing gridview. And the ConvertTioxcel () function is located in .cs file that is connected to an .aspx file and then close.

Thanks, Fernando Diaz

< Div class = "post-text" itemprop = "text" >

If it were mine, then I will separate the code that retrieves the data, its class library project in gridview and excel processing, then with that DLL, the createa console application that calls those functions. You can schedule a window service to execute .exe.

Specifically to answer your question. You can create a console application and create a HTTP webb T.

  The page needs to be requested using the Stable Wide Men (string [] ARG). {// Prepare the web page that you are asking for HTTP webbrand request = (HTTP WebBurst) WebRequest.Create ("http://www.yourpage.com"); // Request HttpWebResponse response = (HttpWebResponse) execute the request. GETResponse (); }  

It looks like you do not need to read the answers, it must be enough.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -