Solved

View, Edit and add tables

Posted on 2012-03-20
8
262 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
 

Author Comment

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

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now