how to make HTML Page
-
hi i want to make HTML page.like on button click i have write all code for HTML Page.on click i want that .html page will be display
Jintal Patel
-
hi i want to make HTML page.like on button click i have write all code for HTML Page.on click i want that .html page will be display
Jintal Patel
You're asking this in the C# forum because.... ? Try explaining it better. What sort of page ? What sort of button do you mean, in the web page ? Sounds like you need to read a beginner ASP.NET article, to me.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
You're asking this in the C# forum because.... ? Try explaining it better. What sort of page ? What sort of button do you mean, in the web page ? Sounds like you need to read a beginner ASP.NET article, to me.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
hi IN My application i m display all the listing of products in my datalist control .Each Product Have Linkbutton for Description.now on that link button click event i want to display discription and image of product in new page .which is Productname.html page....
Jintal Patel
-
hi IN My application i m display all the listing of products in my datalist control .Each Product Have Linkbutton for Description.now on that link button click event i want to display discription and image of product in new page .which is Productname.html page....
Jintal Patel
You would link the button's OnClick event to redirect to a new 'product.aspx' page, passing the product ID to the page. The 'product.aspx' page, would query the database and populate the page with the products data dynamically. You don't want to physically create a new HTML page for each product.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
-
You would link the button's OnClick event to redirect to a new 'product.aspx' page, passing the product ID to the page. The 'product.aspx' page, would query the database and populate the page with the products data dynamically. You don't want to physically create a new HTML page for each product.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
ya.i have allready made this product.aspx page for each product passing productID but I want to create HTML page for Each Product Dynamically.
Jintal Patel
-
ya.i have allready made this product.aspx page for each product passing productID but I want to create HTML page for Each Product Dynamically.
Jintal Patel
Use a Textwriter/HtmlWriter and write the raw HTML out for each page you want to create. Where will you store these files? If you want to store them in the web directory you might hit permission issues. What happens if two users hit the same product at the same time? Which one will do the writing? You will have to handle concurrency issues on the file.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."