hi guys.
i have nested grid view. and i wanna insert an item to Detail table.
i have a Button And a Text box in MasterTable
this is my code:
this code is in my Master Table.
i can access to CommandName and Argument in ItemCommand.
how i can access to valu of Text box?
tnx 4 ur attention
Regards...
i have nested grid view. and i wanna insert an item to Detail table.
i have a Button And a Text box in MasterTable
this is my code:
| <table border="0px" cellpadding="0px" cellspacing="0px"> |
| <tr> |
| <td align="right"> |
| <asp:TextBox Style="direction:rtl" ID="txtComment" ToolTip='<%# Eval("SharedUserID") %>' runat="server" TextMode="MultiLine" Width="200" Rows="1"></asp:TextBox> |
| </td> |
| <td valign="bottom" align="right"> |
| <asp:Button ID="btnComment" |
| CommandName="DropComment" |
| CommandArgument='<%# Eval("SharedUserID") %>' |
| runat="server" Text="ارسال کامنت" /> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| </table> |
this code is in my Master Table.
i can access to CommandName and Argument in ItemCommand.
how i can access to valu of Text box?
tnx 4 ur attention
Regards...