hi
i have had a form in which 10-20 dropdownlists r present and it was working nice the values of these dropdownlists r derived from dbase
now when i am saving values of dropdownlists the value gets lost to default. as i'm using ajax &asp.net 2.0.onload event i have place code 4 getting dropdownlist values under if not ispostback condition i fail to solve this
plz solve my problem
User Profile
Collapse
-
Values on update do not save and return to default
-
could any body has solved my problem as i am not getting the solution yet -
hi dirtbag
'code Starts
Dim i As Int16
Dim pay As New ArrayList()
For i = 0 To TextBox2.Text
pay.Add(TextBox 5.Text)
Next
pay.Add(-TextBox1.Text)
Dim ir As Double
ir = Math.Round(Micr osoft.VisualBas ic.Financial.IR R(pay (TextBox2.Text + 1), 0.1), 2)
TextBox7.Text = ir
'code Ends
GETTTING THIS ERROR MESSAGE
Unable to cast object of type 'System.Double'...Leave a comment:
-
thanx dirtbag
I am developing application for loan purposes and i have to calculate irr
textbox2.text specify the no installments
those no equal installments are added to arraylist
...Code://For i = 0 To TextBox2.Text?? // Add elements of array list //for(int 0;i<Convert.ToInt32(TextBox.Text);i++)// ir = //YOURFUNCTION(pay[index],0.1,2); //(payLeave a comment:
-
hi shweta
irr function returns value of irr which is of type double and the double variable is used to hold the value...Leave a comment:
-
thanks shweta123
I think there is type mismatch in parameter types while calling the following function :
ir = Math.Round(Micr osoft.VisualBas ic.Financial.IR R(pay (TextBox2.Text + 1), 0.1), 2).
as i am passing arraylist (pay(15) as ist parameter and guess (0.1) as 2nd
parameter the variable ir is taken as double
as irr function will only return the value of irr which would...Leave a comment:
-
Error in calculating irr in asp.net and vb.net
i am calculating irr and pass listarray created at runtime to irr function and i get error. as i'm new to .net
i have to calculate irr
textbox2.text specify the no installments
textbox1.text specify loan amount
textbox5.text specify the amount of installments
Dim i As Int16
Dim pay As New ArrayList()
For i = 0 To TextBox2.Text
pay.Add(TextBox 5.Text)
Next
pay.Add(-TextBox1.Text)...
No activity results to display
Show More
Leave a comment: