We help IT Professionals succeed at work.
Get Started

dbml file - newbie picking up a web project that needs guidance on this tech

websss asked
Last Modified: 2012-05-11

I'm a traditional webforms asp.net 2.0 developer who uses ado.net and sql server
i've inherited a solution with code I'm trying to figure out and uses tech i've never used before

I wont go into too much detail but i have the following
Contacts.dbml file with what looks like 4 diagrams of the database tables:

I also have an ascx file with a linq data source that currently points to:
on the next screen of the wizard you select the table (and you choose from one of the 4 tables i mentioned)

I also have a grid which allows you to view and edit the data in the table

What i need to do now, is store the which Divisions are at each Location
I have manually added a 5th table in SQL Express called dbo.LocationDivisions

I need the grid to show all records in dbo.LOCATIONS
clicking EDIT will shows all the dbo.DIVISIONS as checkboxes, and you tick which divisions you wish to be assigned to that Location, and it gets saved in the new dbo.LocationDivisions table

However, i've no idea where to start with this new tech

I assume i need to focus a lot of attention on the DBML file, but have not idea what i'm doing here
Can someone help me get through this, and advise me what steps i need to take particualry on the dbml side as i'm new to this bit
Watch Question
Software Engineer
Top Expert 2011
This problem has been solved!
Unlock 1 Answer and 1 Comment.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE