gestione codstato da tendina...
This commit is contained in:
@@ -35,13 +35,13 @@
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="CodStato" SortExpression="CodStato">
|
||||
<EditItemTemplate>
|
||||
<asp:TextBox ID="txtCodStato" runat="server" Text='<%# Bind("CodStato") %>' />
|
||||
<asp:DropDownList runat="server" ID="dlCodStato" DataSourceID="odsCodStato" DataTextField="CodStato" DataValueField="CodStato" SelectedValue='<%# Bind("CodStato") %>'></asp:DropDownList>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblCodStato" runat="server" Text='<%# Bind("CodStato") %>' />
|
||||
</ItemTemplate>
|
||||
<FooterTemplate>
|
||||
<asp:TextBox ID="txtCodStato" runat="server" Text='<%# Bind("CodStato") %>' />
|
||||
<asp:DropDownList runat="server" ID="dlCodStato" DataSourceID="odsCodStato" DataTextField="CodStato" DataValueField="CodStato" SelectedValue='<%# Bind("CodStato") %>'></asp:DropDownList>
|
||||
</FooterTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Particolare" SortExpression="Particolare">
|
||||
@@ -123,3 +123,4 @@
|
||||
<asp:Parameter Name="Original_Particolare" Type="String" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsCodStato" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="GMW_data.DS_ApplicazioneTableAdapters.AnagStatiProdottoTableAdapter"></asp:ObjectDataSource>
|
||||
|
||||
+20
-11
@@ -1,10 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GMW.WebUserControls {
|
||||
@@ -13,21 +13,30 @@ namespace GMW.WebUserControls {
|
||||
public partial class mod_anagPartImb {
|
||||
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
/// Controllo grView.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// ods control.
|
||||
/// Controllo ods.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsCodStato.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsCodStato;
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user