Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 25th, 2007, 03:06 PM
Registered User
 
Join Date: Feb 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default databinding , simple question

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.






Similar Threads
Thread Thread Starter Forum Replies Last Post
very simple question rogdawg Visual Studio 2005 2 January 14th, 2008 04:03 PM
Simple Question ironchef Spring 2 April 30th, 2007 09:32 AM
Simple Databinding to Datarow, values not updating TheTinSoldier C# 0 February 7th, 2007 04:29 PM
Simple question maximus101 Classic ASP Basics 2 October 18th, 2005 10:22 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.