I need to find a folder ID so that I can update a content type. Is there a way to do that using ListService.Lists GetListItems ?
View Complete Post
I'm in the process of creating a Silverlight Application that needs to pull data from a SharePoint list. Unfortunately, some of the data is within sub-folders, and calling the List.GetItems(CamlQuery) function is only returning the root level (no sub-folder
I noticed from searching around for the solution to this that an attribute exists for doing a recursive check, so all the list items could be returned, but all the times this solution is mentioned is in regards to getting an SPList and using an SPQuery.
The SPQuery variable has a ViewAttributes property to do this, apparently, but I don't seem to have that specific of a choice with the CamlQuery variable type here.
Im running a query where it selects a property from the user with the matching username but i dont know how to find out the username of the currently loggedin user.
Passion, intelligence, and the love of learning exemplify the ideal Microsoft candidate. Howard Dierking explores these and other recruiting philosophies.
MSDN Magazine February 2008
This month DLL problems, context menus, MFC strings to managed C++, and more.
MSDN Magazine October 2006
Reviewing code for security defects is a key ingredient in the software creation process, ranking alongside planning, design, and testing. Here the author reflects over his years of code security reviews to identify patterns and best practices that all developers can follow when tracking down potential security loopholes. The process begins by examining the environment the code runs in, considering the roles of the users who will run it, and studying the history of any security issues the code may have had. After gaining an understanding of these background issues, specific vulnerabilities can be hunted down, including SQL injection attacks, cross-site scripting, and buffer overruns. In addition, certain red flags, such as variable names like "password", "secret," and other obvious but common security blunders, can be searched for and remedied.
MSDN Magazine November 2003
This month Paul DiLascia discusses how to find windows with GetLastChild and outputting HTML with a C++ procedure equivalent to document.write.
MSDN Magazine August 2003
MSDN Magazine April 2000
I have few files in FolderA on the web server.
I want the users to select a fews files from FolderA and copy them to FolderB on the same web server.
I want to list all the files in FolderA and allow the user to select a few files and copy.
I want to copy the files programatically when the user selects a few files and click on Copy button.
How to copy the files quickly from folderA to FolderB?
Hello,I created a ASP.NET project under Visual Web Developer 2008. Under that project I had a Database (along with ASPNETDB.MDF) which has about 3/4 tables (I had SQL server 2008). Everything was working fine (like insert, delete, etc.). And I was able to view the tables in database explorer view.
Then I had to format my computer for some reason and I copied the whole project in a USB drive and then after formatting the computer I copied the folder and tried to open it in Visual Web Developer (now I have VWD 2010). I can see the both Database under App_Data folder (ASPNETDB.mdf and the DB I created). ASPNETDB has all the tables and data as expected. But I do not see the tables under the DB I created.
I also tried in one of my friends computer who has Visual Web Developer 2008. But same result.I am just wondering if anyone can help me with retreiving the table. I have a bad feeling that I might needed to do something to backup the data (not sure though). But the tables should be still there ... isn't it ?Any help will be appreciated. Thank you in advance.
For projects such as forms apps and class libraries you can exclude folders which reside in the directory from the project. That menu option does not seem to exist when you create a website in VS 2005, is there any way to do it?
I'm trying to write a bit of code that will format all the numeric values in lables in my gridview. here's what i am doing right now:
On the RowDataBound Event, i create a row object for the row that is currently being bound. then i go use the FindControl method to grab each label by name.
Problem is there's too many columns in this table and i really dont wnat to have to type it all out. Here's an example of what i am currently doing
' Get row being bound
Dim myRow = e.Row
' Get labes to be formatted
Dim lblMunicipalIncineration = CType(myRow.FindControl("lblMunicipalIncineration"), Label)
' format labels
If lblMunicipalIncineration IsNot Nothing Then
If Not String.IsNullOrEmpty(lblMunicipalIncineration.Text) Then
lblMunicipalIncineration.Text = FormatNumber(lblMunicipalIncineration.Text, 0, TriState.False, TriState.False, TriState.True)
Can i use myRow.Controls to grab a list of all the controls and then somehow get a list of all labels in the collection and then use a for loop to go through and format each label?
I have classes in App_Code:Connection.cs, ClientData.cs ....I have a folder Authenticated within it have an aspx page Client.aspxHow do I access the page through Client.aspx ClientData.cs the class, because there is a mistake for me to define the class as I do, please help me!
I've set up a sharepoint knowledgebase on my intranet site and all seemed fine.
The problem I have is that if I create a subfolder, I cannot create articles in that subfolder, as they appear in the root.
Uploading an article to the new folder is fine, as is editing/deleting the new folder itself.
When try to open a folder in a moss 2007 document library in Explorer View, the folder does not open.
I am using IE7 and the path of the folder does not contains more than 100 characters.
Also it opening on few on the machines which has IE7.