User Profile
Collapse
-
I debugged my dropdownlist and it carries values....:( -
mmm I can't do it now but if I did it and the dropdownlist value was null, how can I make it carry a value?Leave a comment:
-
I can't access my code right now, but I have a button's method that have this:
TEL_T_NUMBER obj = new TEL_T_NUMBER();
obj.Number_ID = Convert. ToInt32(textbox 1.text);
obj.number_type .myValue = dropdownlist1.s electedItem.val ue;
gridview.databi nd();Leave a comment:
-
its not null i connected the dropdownlist with a table from the database.Leave a comment:
-
-
what do u mean by sender?
my line is already casted to (GridviewRow).Leave a comment:
-
okay I created a string property to the number_type class, i did this:
obj.number_type .myValue = dropdownlist1.s electedItem.val ue;
the right side now is a string but it gives this error:
Input String was not in correct Format
What to do now?Leave a comment:
-
Error when deleting record from a gridview
hi all,
I have this error when I click delete link in the gridview:
'unable to cast object of type 'ASP.WebForm1_a spx' to type "system.Web.UI. WebControls.Gri dviewRow'
I really need help as soon as possible :( -
obj is an object of a class called TEL_T_NUMBER, this is how I created it:
TEL_T_NUMBER obj = new TEL_T_NUMBER();
Then I used TEL_T_NUMBER properties in this obj like:
obj.Number_ID = Convert. ToInt32(textbox 1.text);
one of these propreties is number_type which is another class connected to this class and therefore it's treated as a property of TEL_T_NUMBER class.
I hope you get it...Leave a comment:
-
-
-
I tried that but it gives me this error:
Input String was not in correct Format
:(Leave a comment:
-
Cannot Convert string to class type
hi there,
When I run this line I get an error:
obj.number_type = dropdownlist1.s electedItem.val ue;
number_type is a class type and I want to put a string value in it from a drop down list.
this is the error:
Cannot implicitly convert type to 'TEL.MODEL.TEL_ T_NUMBER_TYPE.
please help :(
No activity results to display
Show More
Leave a comment: