What is the intention of the Delete operation?

On Sunday, March 25, 2012 5:57:40 PM UTC-5, Joe wrote:

> I have a SQLDatasource with SELECT, UPDATE, and DELETE statements 
> connected to a GridView component. 
> <DeleteParameters> 
>                 <asp:ControlParameter ControlID="cboFactories" 
> DefaultValue="NULL" 
>                     Name="FactoryKey" PropertyName="SelectedValue" 
> Type="String" /> 
>                 <asp:ControlParameter ControlID="cboCustomers" 
> DefaultValue="NULL" 
>                     Name="CustomerKey" PropertyName="SelectedValue" 
> Type="String" /> 
>                 <asp:Parameter Name="Year" Type="Int16"/> 
>                 <asp:Parameter Name="Month" Type="Int16" /> 
>                 <asp:Parameter Name="Username" Type="String" /> 
>  </DeleteParameters 
>
> Year and Month values are columns in the gridview being used.    How 
> can I reference them in the <asp:Parameter line ? 
>
> Joe
> Joe,  You will most likely handle this in the code-behind.  
>

On Sunday, March 25, 2012 5:57:40 PM UTC-5, Joe wrote:
>
> I have a SQLDatasource with SELECT, UPDATE, and DELETE statements 
> connected to a GridView component. 
> <DeleteParameters> 
>                 <asp:ControlParameter ControlID="cboFactories" 
> DefaultValue="NULL" 
>                     Name="FactoryKey" PropertyName="SelectedValue" 
> Type="String" /> 
>                 <asp:ControlParameter ControlID="cboCustomers" 
> DefaultValue="NULL" 
>                     Name="CustomerKey" PropertyName="SelectedValue" 
> Type="String" /> 
>                 <asp:Parameter Name="Year" Type="Int16"/> 
>                 <asp:Parameter Name="Month" Type="Int16" /> 
>                 <asp:Parameter Name="Username" Type="String" /> 
>  </DeleteParameters 
>
> Year and Month values are columns in the gridview being used.    How 
> can I reference them in the <asp:Parameter line ? 
>
> Joe

-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to dotnetdevelopment@googlegroups.com
To unsubscribe from this group, send email to
dotnetdevelopment+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

Reply via email to