直接用 hashTable[key] = value 来改:
Hashtable table = new Hashtable();table.Add(5123, "Jay");
table.Add(5124, "Tom");table[5123] = "Me"; foreach (DictionaryEntry d in table)
{
Response.Write(d.Key.ToString() + "------" + d.Value.ToString() + "<BR>");
}
Hashtable table = new Hashtable();table.Add(5123, "Jay");
table.Add(5124, "Tom");table[5123] = "Me"; foreach (DictionaryEntry d in table)
{
Response.Write(d.Key.ToString() + "------" + d.Value.ToString() + "<BR>");
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货