Web Part List Management!!!
-
I need to write a webpart to manage the list.But i just learn it so i hope someone can help me to do it.ThanK you very much! • Create a list • Delete a list • Request a list with a textarea for CAML Queries • Show items
All of this can already be done via the SharePoint interface. Can you explain a little more about these requirements, and which version of SharePoint you are using?
I know the language. I've read a book. - _Madmatt
-
All of this can already be done via the SharePoint interface. Can you explain a little more about these requirements, and which version of SharePoint you are using?
I know the language. I've read a book. - _Madmatt
I know it can be done by interface(it's very easy in the sharepoint home page).But it's the work require to do the webpart's experiment.But it's a little hard for me and I don't how to set about this.So i hope someone can direct me. By the way I use the sharepoint 2007 and visual studio 2008 to develop the webpart!
-
I know it can be done by interface(it's very easy in the sharepoint home page).But it's the work require to do the webpart's experiment.But it's a little hard for me and I don't how to set about this.So i hope someone can direct me. By the way I use the sharepoint 2007 and visual studio 2008 to develop the webpart!
You need to research the SharePoint object model for some of these
SPWeb web = SPContext.Current.Web;
web.Lists.Add(...)web.Lists.Remove(...)
SPQuery q = new SPQuery();
q.Query = "..."SPSiteDataQuery q = new SPSiteDataQuery();
q.Query = "..."Show items is rather vague. How to show? In a list, a grid, a tree ???? You can look at SPGridView for a start
I know the language. I've read a book. - _Madmatt
-
You need to research the SharePoint object model for some of these
SPWeb web = SPContext.Current.Web;
web.Lists.Add(...)web.Lists.Remove(...)
SPQuery q = new SPQuery();
q.Query = "..."SPSiteDataQuery q = new SPSiteDataQuery();
q.Query = "..."Show items is rather vague. How to show? In a list, a grid, a tree ???? You can look at SPGridView for a start
I know the language. I've read a book. - _Madmatt
thank you very much,Now I have only confuse how to build the interface to interactive with the user to input the parameter. Show item maybe just use a dropdown list to show all of the list then select one list then reflect to the textarea. it doesn't need a grid view.
-
thank you very much,Now I have only confuse how to build the interface to interactive with the user to input the parameter. Show item maybe just use a dropdown list to show all of the list then select one list then reflect to the textarea. it doesn't need a grid view.