Home > Net >  How to dynamically create the Dropdownlist binding selectedindexchange events, and add the data sour
How to dynamically create the Dropdownlist binding selectedindexchange events, and add the data sour

Time:11-16

I use asp: talbe controls, and dynamically created in a row (according to the press with click continue) two dropdown can list, a Text box, first dynamic binding to a data source, the user when the choice, the query again to generate the second Item in the Dropdownlist, users in the second Dropdownlist when the choice, according to the calculation, the values in the generate Txt box,

We had several days, haven't do well, a little urgent need, who can answer, can be appropriately paid,
Thank you very much!

CodePudding user response:

Now difficult to accurate and practical demo this kind of development, and 2010 years ago asp.net estimates a bookstore, including what book "asp.net development of OA system", it should have a code example of that era,

CodePudding user response:

For example the asp.net tutorial https://blog.csdn.net/heker2007/article/details/1522564 of this series is very suitable for asp.net 2.0 introduction of amateur study before 2005, when the authors do not know - at least not involved - later, technology development, basically not suitable for development programmers learn learned asp.net controls, also does not fit after 2006 asp.net altas project after 3.0 and asp.net technology,

CodePudding user response:

Two cascade dropdownlist do right? Put the second dl data binding in the first indexchange incident, the second event of dl label values are not to go,

CodePudding user response:

Is not a simple level, since the first Ddl is created dynamically, the second, third and dynamically created, now is the first selectedindexchange how dynamic events to write or binding

CodePudding user response:

These can use js ajax to achieve, if you will only drag control, then you can write some small toy nature of the program,
  •  Tags:  
  • C#
  • Related