View Single Post
  #10 (permalink)  
Old January 29th, 2008, 06:37 PM
gerardo_garza gerardo_garza is offline
Registered User
Join Date: Jan 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to gerardo_garza

Hey guys i've found this way 4 setting a non-modifiable default value within the FormView guess it's the same 4 details view.

I currently have 2 FormViews 1 wich as a master record and the other one holds detail records i'm using the asp:ControlParameter 4 setting this up within the ObjectDataSource, So Here it goes

            <asp:ControlParameter ControlID="FormView1" Name="IDClienteProveedor"
                PropertyName="SelectedValue" Type="Int32" />
            <asp:Parameter Name="Calle" Type="String" />
            <asp:Parameter Name="NumeroInterior" Type="String" />
            <asp:Parameter Name="Colonia" Type="String" />
            <asp:Parameter Name="Ciudad" Type="String" />
            <asp:Parameter Name="Estado" Type="String" />
            <asp:Parameter Name="CodigoPostal" Type="String" />

Hope this Helps...

Reply With Quote