foreach (string di_child in dirs) {
Response.Write("\t<li class=\"directory collapsed\"><a href=\"#\" rel=\"" + drive + di_child.Name + "/\">" + di_child.Name + "</a>\n");
}
VS抱怨操作符'+'不能應用於'string'和方法組類型的操作數。字符串連接不起作用
我只想連接這些字符串。我怎樣才能做到這一點? 在此先感謝
什麼是驅動器,聽起來像是一種可能需要使用drive()的方法? –
什麼是'驅動器'? – Habib
因爲我們不知道涉及的類型......'drive','dirs','di_child.Name',所以無法分辨這裏發生了什麼。 – spender