i set up an ATM machine.when the clients inserts nip it searches a file and loads the collections with the data from the files..for save use..
no i sent the data inserted(nip ) to the main window once the nip is ok.
now i need to search the collection for the client with this nip..
i got the variable set as is
[code]
public Main(string qs)
{
InitializeComponent();
richTextBox1.Text= qs;
string NipClient = qs;
Guichet.ListClient(NipClient);
}
[/code]
form nip page
[code]
Main form2 = new Main(textBox1Search.Text);
form2.ShowDialog();
[/code]
[/code]


Bhushan GawaleRank #299 · 8.4K reputationPosted Jan 17, 2015, 8:14 PM EST
Mike A6 reputationPosted Jan 18, 2015, 4:02 AM EST
like in my file
FullName-AccountID-Nip-Cash-Date..
so when i login i use the nip.i would like to search the file for the client corresponding to the nip
Bhushan GawaleRank #299 · 8.4K reputationPosted Jan 18, 2015, 4:42 AM EST
You can refer the article - How to recursively search directories by using Visual C#
http://support.microsoft.com/kb/303974