blah blah blah is here! blah blah » Close

2
votes
1 answers

How to modify an assembly to work under medium-trust hosting environments?

For some reason, when I upload my code to my hosting provider, I get an error saying: [code]System.Security.SecurityException: That assembly does not allow partially trusted callers.[/code] What exactly can be done to the assembly to ...

1
votes
2 answers

Creating a foreign key relation using management studio

I can't seem to figure out how to create a foreign key relation using sql management studio. Creating a primary key, setting the increment etc. I have done but where do I set a FK on the table?

1
votes
1 answers

If my data model changes, how do I update my linq to sql .dbml file?

I dropped all my database tables in the designer when setting up my linq to sql .dbml file. Now I modified some columns in a table, how do I refresh my dbml file with the updated table structure?

2
votes
1 answers

Listing database tables with row and size for sql server

My database needs to be analyzed for the number of rows and actual disk space it is using. Is there a way to query the database, and list all the tables with row/disk usage information?

1
votes
1 answers

help designing a permissions module

I have an object like this: [code] public class Content { public int Id { get; set; } public string Title { get; set; } public string Text { get; set; } public ContentType Type { get; set; } public lon ...

1
votes
2 answers

Converting an array to an comma seperated string

If I have an arraylist like: [code] ArrayList al = new ArrayList(); al.Add("hello"); al.Add("asdf"); al.Add("blah"); [/code] I want to convert the array to a comma seperated string like: [code] ...

2
votes
1 answers

main differences between GIT and subversion?

For some reason there seems to be a shift to GIT from subversion (at least a trend!). What are the main differences between the two source control systems? Is GIT more well suited for only distributing or large scale development house ...

2
votes
1 answers

Creating a hashtable of name/value pairs from an xml file

I have an xml file that looks like: [code] <root> <label key="home">Home</label> <label key="quit">Quit</label> <label key="start">Start</label> </root> ...

0
votes
0 answers

What's the learning curve on sharepoint?

I noticed that many jobs, especially contract related, have to do with sharepoint skills. Does sharepoint have a steep learning curve? Is the API friendly? From what I remember, everything seems to be about extending the list functionalit ...

0
votes
1 answers

Updating product table with count of items sold

I have a Products table with columns: ProductID INT PK SoldCount INT My other table, ItemsSold, contains items sold: ProductID INT FK Quantity INT So this is a many to one relationship. I want to update the Product.SoldCo ...

0
votes
2 answers

What type of objects can linq work on?

What are the requirements for an object (or collection) to be linq compatible? So for my experience with linq has been with the [url=http://msdn.microsoft.com/en-us/library/6sh2ey19.aspx]List<T>[/url] collection, but what is the ac ...

1
votes
1 answers

How to Filtering a List<int> for all values that are greater than 10

I want to filter a List<int> collection for all items that are greater than 10. I know I can simply do: [code] for(int x = 0; x < myList.Count;x++) { if(x < 10) continue; newList.Add(x); } ...

2
votes
1 answers

Using jquery, I want to select all objects that have the class bcblue

Just getting used to jQuery. I want to select all the objects in the DOM that have a class named bcblue on my web page. I then want to loop through each element and modify them. How can I select these items?

1
votes
3 answers

What is the difference between a virtual and an abstract class member?

I know that a virtual member enables any inheriting class to override the implementation of the member marked with a virtual. Are there any differences between a virtual and a abstract member?

3
votes
2 answers

How do you remove/ignore subversion related folders when publishing your web app?

I find it annoying that whenever I upload my files to a server, the subversion folders .svn come in the way (I don't want to publish those for obvious reasons). Any tips on how I can remove these folders in a more efficient manner?

Feedback