|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
the find in a dataview???data and I would like to locate me in a certain line. Ex. Locate me in a line that has the telephone 999 and this orderly one for name ID - NAME - TELEPHONE 1 - AAA - 111 2 - BBB - 444 3 - CCC - 555 4 - DDD - 666 .. -... -.. 20 - II - 999 .. -... -.. NN - NN - NN Telephone is not key primary in the datatable I want to continue showing all the registrations that is to say I cannot use the filter and I want that this orderly one for name. Then it is supposed that the method find of the dataview would not work, since if I want to look for for telephone he/she has to be ordered by telephone. That is to say that the only option that I know is to travel me the list to know in that lines this to select it. I find difficult to believe that this is the solution. Is there another class but appropriate for what I need???? I request you make me see the light. Raul,
You can make as many (New) dataviews as you want (so with that you can solve your problem). However, you give the idea in the way you wrote your message, if what you call "traveling" through the code is a lot of work, while it is nothing more than a for loop. How do you think that it is done behind the scene? DotNet programming is real programming, not a kind of program generating. (Although there are a lot of wizards and designers to help you). As last; there is no problem with crossposting to these dotNet newsgroups as it is proper done. Some people won't answer if there are more than 3 crosspostings. I hope this helps, Cor Show quoteHide quote "Raul" <r***@inmovilla.com> schreef in bericht news:er6G1ET%23GHA.3344@TK2MSFTNGP03.phx.gbl... > My problem is the following one it is in a datagridview I am showing some > data and I would like to locate me in a certain line. > > Ex. Locate me in a line that has the telephone 999 and this orderly one > for name > > ID - NAME - TELEPHONE > 1 - AAA - 111 > 2 - BBB - 444 > 3 - CCC - 555 > 4 - DDD - 666 > . -... -.. > 20 - II - 999 > . -... -.. > NN - NN - NN > > Telephone is not key primary in the datatable > > I want to continue showing all the registrations that is to say I cannot > use the filter and I want that this orderly one for name. > > Then it is supposed that the method find of the dataview would not work, > since if I want to look for for telephone he/she has to be ordered by > telephone. > > That is to say that the only option that I know is to travel me the list > to know in that lines this to select it. > > > I find difficult to believe that this is the solution. > > Is there another class but appropriate for what I need???? > > I request you make me see the light. > > > > > > > > > > |
|||||||||||||||||||||||