المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : C# dataset/adapter connection



C# Programming
03-11-2010, 03:22 AM
Hello,
Being a newbie, I am still coming to grips with understanding C#. I can use a dataset to create a datagrid etc. and I can programatically connect to a database but what gets me is how would you change the database path and have that reflected in you datasets etc.? Perhaps I am not thinking correctly but what I am looking to achieve is to allow and Admin to change the database path (access backend) should this be necessary and have that propogate so that the dataset and adapter will never err due to an incorrect path.
Thanks for your patience,
Art