CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 13 of 13
  1. #1
    Join Date
    Aug 2009
    Posts
    19

    C# and databases

    --------------------------------------------------------------------------------

    1. How can I make a database in "Microsoft sql server"?

    2. I want to build a c# application which connects the database and is able to edit the database and to show it.

    3. I want that every computer in the world be able to see and edit the database with my application.

    4. I want the database to be able to watch and edit only with the application (security).
    Last edited by Gbates; September 30th, 2009 at 06:59 AM.

  2. #2
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: C# and databases

    I think you should explain what are you actually trying to do. I don't understand why should it be available "on internet". I think it should be on a web server where you host your services or application. Clients consume these services or use your application and database is hidden from them. They don't know anything about it.

    So again, please explain what you want to do.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  3. #3
    Join Date
    May 2009
    Location
    Bengaluru, India
    Posts
    460

    Re: C# and databases

    question numer 1 and 2 are quite confusing and contradicting as well !!

  4. #4
    Join Date
    Aug 2009
    Posts
    19

    Re: C# and databases

    1. How can I make a database in "Microsoft sql server"?

    2. I want to build a c# application which connects the database and is able to edit the database and to show it.

    3. I want that every computer in the world be able to see and edit the database with my application.

    4. I want the database to be able to watch and edit only with the application (security).

  5. #5
    Join Date
    May 2009
    Location
    Bengaluru, India
    Posts
    460

    Re: C# and databases

    refer to this link : http://www.csharphelp.com/archives/archive103.html

    and try to develop on that.

  6. #6
    Join Date
    May 2007
    Location
    Denmark
    Posts
    623

    Re: C# and databases

    Quote Originally Posted by Gbates View Post
    1. How can I make a database in "Microsoft sql server"?

    2. I want to build a c# application which connects the database and is able to edit the database and to show it.

    3. I want that every computer in the world be able to see and edit the database with my application.

    4. I want the database to be able to watch and edit only with the application (security).
    1. Download and install Microsoft SQL Server Management Studio Express Edition. It will allow you to create and alter databases in Microsoft SQL Server.

    2. People will not develop applications for you. Get started, and return with specific problems. Everyone will be happy to help you.

    3. As cilu hinted, a Web-based (ASP.NET) application would be your best bet.

    4. A web application hosted on a server would ensure this.
    It's not a bug, it's a feature!

  7. #7
    Join Date
    Aug 2009
    Posts
    19

    Re: C# and databases

    But it is a c# application.. it is not a web.

  8. #8
    Join Date
    May 2007
    Location
    Denmark
    Posts
    623

    Re: C# and databases

    C# is a programming language that can be used for both Windows Forms and Web applications
    It's not a bug, it's a feature!

  9. #9
    Join Date
    Sep 2009
    Posts
    1

    Re: C# and databases

    Quote Originally Posted by Gbates View Post
    But it is a c# application.. it is not a web.
    Are you want a client-server application?

  10. #10
    Join Date
    Aug 2009
    Posts
    19

    Re: C# and databases

    So please tell me how to create a database in MICROSOFT SQL SERVER, and how to connect it in c#.. I don't want the database to be on my computer.. I want it to be availbe in any computer in the world..

  11. #11
    Join Date
    Jun 2008
    Posts
    2,477

    Re: C# and databases

    I think that you should learn how to program before attempting to make something complex. No one starts out making web apps using database back-ends, they write a "Hello World" type app and move up from there.

  12. #12
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: C# and databases

    I guess before getting into all the technical jargon, what you actually need is books on C#, ASP.NET and SQL Server.

    Get couple of books from Microsoft Press, read them and you would be better of yourself.

  13. #13
    Join Date
    Nov 2007
    Location
    .NET 3.5 / VS2008 Developer
    Posts
    624

    Re: C# and databases

    Quote Originally Posted by Gbates View Post
    So please tell me how to create a database in MICROSOFT SQL SERVER, and how to connect it in c#.. I don't want the database to be on my computer.. I want it to be availbe in any computer in the world..
    on how to create a database...

    http://lmgtfy.com/?q=how+to+create+a...+in+sql+server

    on the notion of your application being "available in any computer in the world", you will need this to be a web application. And yes, your web application can be written in C#.
    ===============================
    My Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured