0
我已經使用了DevExpress GridView,並且將文本框放在QUANTITY列中。用戶應該在這些文本框中輸入數量。當他們點擊確定按鈕時,我需要獲得他們在文本框中輸入的內容。文本框位於最後一列。如何在GridView中的文本框中獲取用戶值的值
我不知道如何獲取網格值。有人可以幫助我嗎?
<dx:ASPxGridView ID="gv2" runat="server" Width="100%"
AutoGenerateColumns="False">
<Columns>
<dx:GridViewDataTextColumn Caption="STOK KODU" FieldName="STOK_KODU"
ShowInCustomizationForm="True" VisibleIndex="0">
</dx:GridViewDataTextColumn>
<dx:GridViewDataTextColumn Caption="VARYANT KODU" FieldName="VARYANT_KODU"
ShowInCustomizationForm="True" VisibleIndex="1">
</dx:GridViewDataTextColumn>
<dx:GridViewDataTextColumn Caption="BEDEN" FieldName="BEDEN"
ShowInCustomizationForm="True" VisibleIndex="2">
</dx:GridViewDataTextColumn>
<dx:GridViewDataTextColumn Caption="KAVALA" FieldName="KAVALA"
ShowInCustomizationForm="True" VisibleIndex="3">
</dx:GridViewDataTextColumn>
<dx:GridViewDataTextColumn Caption="RENK" FieldName="RENK"
ShowInCustomizationForm="True" VisibleIndex="4">
</dx:GridViewDataTextColumn>
<dx:GridViewDataTextColumn Caption="ADET" FieldName="ADET"
ShowInCustomizationForm="True" VisibleIndex="5">
<PropertiesTextEdit DisplayFormatString="c2">
</PropertiesTextEdit>
<DataItemTemplate>
<dx:ASPxTextBox ID="totalText" runat="server" Text='0' />
</DataItemTemplate>
</dx:GridViewDataTextColumn>
</Columns>
</dx:ASPxGridView>