Edit a MSSQL table from web [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm trying find out what is the best solution for making a single table in a MSSQL database available for insert and update for a few users from a html interface.
I've got IIS server, reporting services, C#, visual studio and most microsoft tools of the 2008 version.
In php/mysql I would deploy a framework for editing tables. Whats the easiest MS solution?
Thank you

If you just want to perform edit, delete operation on front end, you can use grid view tool from asp.net.
you can find details at the following link,
http://www.aspdotnet-suresh.com/2011/02/how-to-inserteditupdate-and-delete-data.html
Hope this will help you.

Related

View an Entity Framework database [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am currently learning about APIs in general and I want to make a simple api that can be able to receive and send requests. I created a simple API using ASP.NET Core and the Entity Framework in order to use and save data to a local SQL Server.
This is the tutorial that I used in order to create the database.
However, I am now wondering if there is a way to view the database tables and their contents like in phpMyAdmin. Is it possible?
In Visual Studio you can view it by clicking Tools > Connect to Database.
Find your database table and right-click to get the option to view the data.
Personally I use SQL Server Management Studio to connect and view my data.
Find it here.

Listing contents of SQL table on ASP.NET web page [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have Windows Server 2012 R2 and SQL Server 2016. There are many events writing to SQL table.
I want to build a web page to list events those are getting directly from connected SQL Server table.
Both SQL Server and IIS(8.5) are installed on the same machine.
The page would need to be dynamically updated whenever SQL Server table's record added/changed.
I really have no clue where to move on right now. Could anyone briefly explain me steps I need to do or throw me a proper "how to" article PLEASE?
Also, is there a way to performed without doing Visual Studio projects and such. I plan to automate the process with Powershell scripts.
This link should help you ...
https://msdn.microsoft.com/en-us/library/tw738475.aspx

How to insert data to Kentico Database [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Excuse me I have a problem with Connecting Kentico Database I want to insert data to Kentico Database. What api for do it ? and how to i do it ? . Give a Doccument[link] or sample code for me please .
i will try to use api ITableManager,DatabaseHelper,ITableManager Properties. but i don't know about it
Sir, you haven't shown any effort trying to resolve your issue. Please read the documentation first.
Plus, there are API Examples directly in the Kentico UI which you can have a look at. They demonstrate the basic (CRUD) operations with objects and documents.
Basically, to work with documents use DocumentHelper / TreeProvider (DocumentHelper.InsertDocument(...)). To work with other objects use *InfoProvider (e.g. UserInfoProvider.SetUserInfo(...)).

How to update Database Using Database first approach [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I have been trying to update the database when we deploy the application on the client's machine using sql queries. Now i want to update the database automatically. Is there any way to do this, i have heard of SQLMigrations but they say that it can only be used with Code first approach. Can anyone shed some light on this topic
You can use a Database Project in Visual Studio. With Database Projects, you can generate SQL Scripts for any existing database, you can create difference (update) scripts, you can add SQL scripts of your own, etc.
Database Projects are extremely handy in many scenarios. Check out this link on MSDN: http://msdn.microsoft.com/en-us/library/xee70aty.aspx
There is also guidance on CodeProject about this: http://www.codeproject.com/Articles/245612/Creating-a-Database-Project-with-Visual-Studio
You'll love it!

How to host ASP.NET MVC4 application on microsoft IIS server [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
i am able to host the asp application using visual studio but does anyone know how to host the application without using visual studio.
Many thanks
Microsoft has you covered on this one: http://www.asp.net/mvc/tutorials/deployment/visual-studio-web-deployment/deploying-to-iis
You may not need to follow all the steps such as the SQL one, but the tutorial should get you where you want to go.
You need to install MVC on the server.
Then you can simply create a website on IIS and deploy your website on it.

Categories