Subject: databinding , simple question
Posted By: lwebzem Post Date: 1/25/2007 2:06:43 PM
I know this is simple but I can not figure out

i want use dynamically assignment for selectcommand  in gridview/Accessdatasource controls but it does not return any records

Here is what I am using

<asp:AccessDataSource ID="OleDbDataSource1" Runat="server"
      SelectCommand='<%# Eval("SELECT ........ ")%>'

UpdateCommand="UPDATE ..... "  
DataFile="D:\.....">
      <UpdateParameters>
      <asp:Parameter Name="Tracking_Number" Type="String" />
      <asp:Parameter Name="Order_Number" Type="Decimal" />
      <asp:Parameter Name="Order_Status" Type="Boolean" />
      </UpdateParameters>
 </asp:AccessDataSource>

SlectCommand is not working here but it's working OK without any <%

Can you please help.
Thanks a lot.


Go to topic 54924

Return to index page 52
Return to index page 51
Return to index page 50
Return to index page 49
Return to index page 48
Return to index page 47
Return to index page 46
Return to index page 45
Return to index page 44
Return to index page 43