pass parm from daatagrid row to code behind

  • Thread starter Thread starter mcnewsxp
  • Start date Start date
M

mcnewsxp

what is the syntax for this? Neither of my examples work.

<EditItemTemplate>
<asp:DropDownList ID="ddlUNITS1"
DataSource="<%# BindDropDownUnits(Eval("ATT_TOTAL_MINUTES").ToString()) %>"

DataSource="<%# BindDropDownUnits(Eval(txtTOTALMINUTES).ToString()) %>"
 
what is the syntax for this? Neither of my examples work.



<EditItemTemplate>

<asp:DropDownList ID="ddlUNITS1"

DataSource="<%# BindDropDownUnits(Eval("ATT_TOTAL_MINUTES").ToString()) %>"



DataSource="<%# BindDropDownUnits(Eval(txtTOTALMINUTES).ToString()) %>"

got it:

DataSource='<%# BindDropDownUnits(Eval("ATT_TOTAL_MINUTES").ToString())%>'
 
this works - not the one i posted a second ago.

DataSource='<%# BindDropDownUnits(Eval("ATT_TOTAL_MINUTES").ToString())%>'
 
Back
Top