Solved

View, Edit and add tables

Posted on 2012-03-20
8
268 Views
Last Modified: 2012-03-28
I am going to develope a sharepoint application. One of this is allow admin to view, add and edit tables that are from database.

I am newbin for sharepoint but strong on asp.net. No idea so far.

Thanks for hint.
0
Comment
Question by:zhshqzyc
  • 4
  • 2
  • 2
8 Comments
 
LVL 29

Accepted Solution

by:
QPR earned 300 total points
ID: 37745500
If you already know asp.net then the easiest path might be for you to use a gridview in a aspx page.
Create a new page in sharepoint designer and insert (aspx controls) a gridview.
From there everything will be very familiar to you... connectionstring, sql command, edit columns, specify primary key so you can generate insert/update/delete statements.
It's very much the same as the wizard in visual studio
0
 
LVL 18

Expert Comment

by:ivan_vagunin
ID: 37745898
Hi!
Look at SharePoint 2010 Business Conectivity Services - I has a functionality that allow to you work with external database tables, just as ordinary SharePoint lists (this can be done even without coding for simple scenarios).

SharePoint BCS is available in Server edition only (not in Foundation)

http://technet.microsoft.com/en-us/sharepoint/ee518675
http://msdn.microsoft.com/en-us/library/ff728816.aspx
0
 
LVL 18

Expert Comment

by:ivan_vagunin
ID: 37745899
sorry, I meant "It has a functionality", not I )
0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 

Author Comment

by:zhshqzyc
ID: 37746910
I installed Sharepoint Designer several times but failed. The error is "package failed" something like.
0
 

Author Comment

by:zhshqzyc
ID: 37746968
Is there a similar snapshot so I can follow the sample?
0
 

Author Comment

by:zhshqzyc
ID: 37747070
Admin PageI have a similar windows form application. How to implement it in Sharepoint?
Please see the image.
0
 
LVL 29

Expert Comment

by:QPR
ID: 37749585
did you try right clicking on the sharepoint install file and selecting run as administrator?
Have you got the right version 32/64 bit for your operating system.
0
 

Author Comment

by:zhshqzyc
ID: 37749654
Yes, run the right version as an administrator but failed.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question