You will have to provide more details about your query, if you really want to get useful responses.
You don’t create C# “scripts” in “HTML”.
What exactly are you trying to do ?
i simply want to create a html with connection string or fetch data in a table from other database like as400 database ,i have done this in visual studio 2008, asp.net with C#
“,i have done this in visual studio 2008, asp.net with C#”
So, what problems are you facing ?
now i want to create a html file through rpgle program and this file have connection string and a submit button,text box for fetch records from as400 DB
how can i do this.
…i want to create a html file through rpgle program…
Creating a HTML file with ILE RPG just takes using the open()–Open File, write()–Write to Descriptor, and close()–Close File APIs. Open the file, write your HTML to the file, then close the file.
But that’s not a usual way to do it. In order to have some idea about what you need, we have to know about the process you are trying to create. It doesn’t make much sense to have a RPG program write a HTML file like you asked for. The HTML file and the C# script with connection string doesn’t seem like reasonable output. Why write the file when you can create it much easier with a different6 method.
Please describe the business process that you need help with.