Basics of manually creating a Master-Detail view of a backend database

Most examples for developing a master-detail view of data within a database is done using data wizards in the IDE of Visual Studio while the project presented shows how to create a master-detail view using code, no wizards. This is done in a solution comprised of three projects

 
 
 
 
 
4.7 Star
(3)
9,775 times
Add to favorites
8/4/2014
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Couldn't process file mainform.resx due to its being in the internet or Restricted zone or having the mark of the web on the file. Remove the mark of the web if you want to process these files
    2 Posts | Last post June 18, 2019
    • Couldn't process file mainform.resx due to its being in the internet or Restricted zone or having the mark of the web on the file. Remove the mark of the web if you want to process these files
    • Hello, what you see is based on security setting on your development box. Traverse to the file and mark it as not restricted by right clicking then select properties.
  • Hello Instructor Kevin!
    1 Posts | Last post August 29, 2014
    • You just code princess! But seriously - this is a much better choice to explain the question!
  • How does your app work?
    3 Posts | Last post October 15, 2013
    • Hi, Kevin, 
      
      After start your app, there is no data loaded in both mater and detail grid views. When click Process or Detail buttons, it errors out in click sub with "Object reference not set to an instance of an object." message. How to fix it?
      
      Thanks,
      
      Will
      
      
      
    • It should work "as is", the only thought is if you are running it in 64bit mode. I should mention the folowing, prior to uploading the project I first compile and run the project on two different machines and also have a fellow developer test it out. All three test done on three 32bit machines ran as expected. So I have no clue why it is failing for you. Best thing I can suggest is set a break point in the single line of code in the main form's form load event and trace thru the code until there is an exception, let me know what you come up with.
      
    • Hi Kevin,
      On my Windows 8 x64, we should install Office 2007 System Driver first: http://www.microsoft.com/en-us/download/confirmation.aspx?id=23734
      
      Secondly, modify the Target CPU to x86, then it works:)