Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

database connectivity in c# -


i working on c# windows project.i using microsoft access database oledbconnection connection.my database "email.mdb" in document directory , "email_db.udl" in "d: drive".this running on computer.but whenever making exe installer file installment on other pc not working.i placing "mdb" , "udl" file in same directory on pc.i supposing ('udl' file) not connected database. how resolve problem installation on windows pc. thanks

you can put database files in project's directory (where sln file is) , access them through bare filenames (without d:...., filename). in case of installation have set installer put in installation folder (where exe file is)

this way carry in 1 folder , organized.

probably here have problem because "my document" directory has different path in every pc.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -