View Single Post
  #3 (permalink)  
Old March 12th, 2009, 03:02 PM
RushNP774 RushNP774 is offline
Authorized User
Join Date: Mar 2009
Posts: 23
Thanks: 2
Thanked 0 Times in 0 Posts

Originally Posted by Lee Dumond View Post
What update parameters are declared in the SqlDataSource?
Thanks for the reply Lee. I'm confused about what you requested because I thought I posted the UpdateCommand. Did you want this instead:

   <asp:Parameter Name="Name" Type="String" />
   <asp:Parameter Name="Category" Type="Int32" />
   <asp:Parameter Name="original_Id" Type="Int32" />
   <asp:Parameter Name="original_Name" Type="String" />
   <asp:Parameter Name="original_Category" Type="Int32" />
It's the code that was automatically generated by VWD when I created the SqlDataSource. It does seem odd because there's no link to the DropDownBox's value in there. I converted the "Categories" column to a template field, and populated it with a dropdown box that pulls the names from my Categories table (and it works surprisingly :)), but just doesn't update.

I'd be happy to post more of my code if it would help you out, I just didn't want to flood my post with code that wasn't relevant to the problem. Thanks again!