1
string.Format () ให้“ สตริงอินพุตไม่อยู่ในรูปแบบที่ถูกต้อง”
ฉันทำอะไรผิดที่นี่? string tmp = @" if (UseImageFiles) { vCalHeader += ""<td><img onmousedown='' src= '{0}cal_fastreverse.gif' width='13px' height='9' onmouseover='changeBorder(this, 0)' onmouseout='changeBorder(this, 1)' style='border:1px solid white'></td>\n""; //Year scroller (decrease 1 year) calHeight += 22; }"; string x = "xter"; tmp = string.Format(tmp, x); ฉันเข้าใจ สตริงอินพุตไม่อยู่ในรูปแบบที่ถูกต้อง {0}เมื่อพยายามที่จะเปลี่ยนแปลง ฉันกำลังทำสิ่งนี้ใน C # และ WinForms ข้อยกเว้นรูปแบบไม่ได้จัดการ สตริงอินพุตไม่อยู่ในรูปแบบที่ถูกต้อง …