there were two project BLL and DAL, BLL use DAL to complete some CRUD jobs. i have referenced DAL in BLL. thanks ^_^
papyrus_lei
Posts
-
about get connection string from app.config -
about get connection string from app.configi delete some detail of the connection string because here is messageboards. i can get right value of connection string if i call GetCustomers() in project DataAccessLayer. but if i call GetCustomers() in BusinessLayer the conncetion string is always null. thanks anyway.
-
about get connection string from app.configtwo projects,BusinessLayer and DataAcessLayer. DataAcessLayer includes CustomerDB.cs, App.config. App.config is like this: CustomerDB class has method GetCustomers public DataTable GetCustomers() { string ConnectionString = ConfigurationSettings.AppSettings ["ConncetionString"]; ............ } when i call GetCustomers() in BusinessLayer, the ConncetionString is always null. but i did have a successful try before. please help me,thanks. -- modified at 23:06 Tuesday 27th September, 2005
-
about finding formsWindows API is what i need . Thank u for your patience. ^_^
-
about finding formsif form B has existed, how could i know, and how to find it. thanks!
-
about finding formswho can tell me how to active FormB from FormA, A(MainForm) and B(has been minimized) are in one application,but are not parent and child. If FormA and FormB are belong to diffent applicaions what should i do to achieve the same goal? thanks! ^_^
-
how to get user defined type through webservicei write a class UserInfo included some fields and property, and then add method GetUserInfo() in .asmx return type is UserInfo, but when i call GetUserInfo() from client VS shows error : can not convert “SSIMS_APP.localhost.SecurityCheckInfo” to “SSIMS_Info.SecurityCheckInfo” SSIMS_APP is client project SSIMS_Info is the project Class UserInfo in
-
About ExecuteNonQuery ?thanks! ^_^
-
About ExecuteNonQuery ?thanks!
-
About ExecuteNonQuery ?when i use procedure CommandType is procedure and then run ExecuteNonQuery() the return value of ExecuteNonQuery() is always -1 so the return value of ExecuteNonQuery is useless when use procedure?