问题描述
大家好。我最近被要求创建一个控制台应用程序,它接受文本文件的内容,并根据文本文件创建一个aspx格式的webform。例如,如果文本文件包含姓,文本框,姓氏,文本框"控制台应用程序将读取此文件并生成一个带有标签FirstName和LastName的webform以及一个文本框,以填充所需的信息。由于文本文件的内容可以更改,因此webfom也可以。我是c#的新手,你们给予的任何帮助都会有很多帮助。哦,它暗示我创建了一个测试网页,并将其用作模板..我不明白它是如何工作的。
Hi guys..I was recently asked to create a console application that takes the content of a text file and creates a webform in aspx format based on the the text file. For example if the text file contains " FirstName,TextBox,LastName,TextBox" the console application would read this file and produce a webform with the labels FirstName and LastName and a text box to entire the desired information. Since the contents of the text file can change so can the webfom. I am new to c# and any help you guys can give would help alot. Oh it was hinted that I create a test webpage and use it as a template..I don''t understand how that works though.
这篇关于动态WebForm!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!