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 GawalePosted Jan 18, 2015, 9:42 AM
You can refer the article - How to recursively search directories by using Visual C#
http://support.microsoft.com/kb/303974
Mike APosted Jan 18, 2015, 9:02 AM
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 GawalePosted Jan 18, 2015, 1:14 AM