This is a migrated thread and some comments may be shown as answers.

Get Textbox Value from ITEMDATABOUND

0 Answers 145 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
CEFRA
Top achievements
Rank 1
CEFRA asked on 05 Jun 2012, 10:54 PM

Hello i have a problem, i want to get the value from one textbox and save the value in a VAR type INT, i try this

**************************************************
Private Sub txt_customer_id_ItemDataBound(sender As System.Object, e As System.EventArgs) Handles txt_customer_id.ItemDataBound<br><br>     Dim vCustomerID As Integer = Nothing<br>     vCustomerID = txt_customer_id.Value<br><br>     vRec = vData.GetBalance_Customer(vCustomerID.Value)<br>     vRec.Read()<br><br>      txt_balance_.Value = vRec.Item("balance_customer")<br>      vRec.Close()<br>End Sub<br>
************************************************************
but my problen is that  " vCustomerID = txt_customer_id.Value "  is retrive the name of my field like "=fields.customer_id" i want to get the value

How i solve this ???

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
CEFRA
Top achievements
Rank 1
Share this question
or