Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4558306
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T17:37:52+00:00 2026-05-21T17:37:52+00:00

I am helping a friend with his C# homework, but is being a long

  • 0

I am helping a friend with his C# homework, but is being a long time since i don’t do nothing in .NET Could you please me give me a hand to solve some difficulties i have with visual studio 2008?

Problem 1

How can i make a primary key of a table be auto incremented automatically? Where is that option? i don’t see it in my interface anywhere.

enter image description here

Problem 2

How can i create a relationship between 2 tables? I think i am doing it correctly, but i don’t see any sign that i did things right:

This is how i start creating the relationship:
enter image description here

Then i configure the relationship with the wizard:
enter image description here

But at the end i don’t see any icon or symbol that indicates me that this is a relationship:
enter image description here

Problem 3

I want to start adding data in the database directly in the easiest and fastest way(Executing an Insert query). Could you give me a little tip on how to do that?(I don’t want other approaches such as dataset…)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T17:37:52+00:00Added an answer on May 21, 2026 at 5:37 pm

    Problem1:

    Set the isIdentity to ‘Yes’
    Set IdentityIncrement to ‘1’ (it means it will add 1 to the id for every new row)
    Set IdentitySeed to ‘0’ (it means it will start with 0 ..then 1 ..then 2 …so on)

    Problem2:

    Your doing it pretty much correctly. You won’t see an icon or anything but once you right-click and go to Relationships. On the left hand table you can see the relationship was created (FK_learner_student) ,

    Take a look at this video after the 2:00 mark > http://www.youtube.com/watch?v=IXz5fpoopNo . It’s doing exactly the same. Or this official tutorial : http://msdn.microsoft.com/en-us/library/ms189049.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was helping a friend on his Java homework today, and I guess I
I just started helping some work colleagues with some web design. Nothing major, but
Helping a friend with his new tumblr blog. Anyway I preface this with that
I'm new to PHP. A friend was helping me learn this, but he's not
I was helping a friend with some C++ homework. I warned said friend that
I am helping a friend with his course work. Basically the project requirement is
I'm helping a friend work through validating a site, but at the second im
helping my friend with his old ASP site and ran into an issue so
i was helping my friend to do logic algorithm in python but i haven't
I am helping a friend from first year to prepare his exam on Java.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.