| ■No74327 (an さん) に返信 > エラーメッセージから推測すると > DirectCast(sender, Label).Attributes("class") = "CSSの名称" > ではなく > DirectCast(sender, Label).ID.Attributes("class") = "CSSの名称" > では? > > ※環境がないので試していません。 →an さん回答ありがとうございます。 DirectCast(sender, Label).ID.Attributes("class") = "CSSの名称" ではなく DirectCast(sender, Label).Attributes("class") = "CSSの名称" でした。
ありがとうございます。 htmlの勉強方法が固まりましたら『解決済み』に変更したいと思います。 |