سلام...
نه این کومپو ننت devexpress رو از کجا باید پیدا یا دانلود کنم و به پروژه اضافه کنم بعدش من مرجع SQLDmo رو از همون راهی که گفتید به پروژه اضافه کردم یعنی از راهه Microsoft SQLDMO Object Library 8.5 از قسمت toolbox دراگ نکردم و بعد یه botton گذاشتم واسه بک آپ گرفتن از دیتا بیس و کدی که واسه سی شارپ گذاشتین رو نوشتم ولی چند تا error داد که اینا هستند اگه می تونید خواهشا کمکم کنید...
error رو این خط ها هستند...
Server.Connect("(local)");
Error 1 Cannot assign to 'Connect' because it is a 'method group' 152 13
Interaction.MsgBox("server {0} : " + Server.Name);
Error 2 The name 'Interaction' does not exist in the current context 153 13
Database = Server.Databases.Item("dbName");
Error 3
No overload for method 'Item' takes '1' arguments 154 24
Interaction.MsgBox(" Database {0}:" + Database.Name);
Error 4 The name 'Interaction' does not exist in the current context 155 13
Interaction.MsgBox("DB successfully Backed up ! ");
Error 5 The name 'Interaction' does not exist in the current context 162 13