我有這樣的代碼,我不知道如何改變標籤的字體大小和顏色,應在文本file.Here去是我的代碼:改變字體大小和顏色aspx.net
if (!File.Exists(path))
{
using (StreamWriter sw = File.CreateText(path))
{
sw.WriteLine("Artikal Kol Prize Sum");
if (Label53.Text == "4")
{
string artikal = Label47.Text;
string Kol = Label45.Text;
string Prize= Label48.Text;
string Sum= Label54.Text;
sw.WriteLine(artikal);
sw.WriteLine(Kol + "X " + Prize+ " " + Sum);
}
是你的'.txt'文件嗎? – prog1011 2015-02-07 09:00:20
是............ – buba 2015-02-07 09:13:19
string path = @「c:\ WebSite \ restourant.txt」; – buba 2015-02-07 09:14:15