これをhtmlに入力する方法を知る必要があります
<a href='<%# GetHRef() %>'></a>
protected string GetHRef()
{
string ret = "";
ret = '<%# Eval("Id", "Play.aspx?lfs=Workout&Id={0}") %>'; //here is a Error
//Cannot implicitly convert type 'char' to 'string'
//Too many characters in character literal
return ret;
}
コードのどこが間違っているのか解決策を教えてください //型 'char' を 'string' に暗黙的に変換できません //文字リテラルの文字が多すぎます ありがとうございます