added

Should I use the same controller and view for editing and creating models in ASP.NET MVC?

Should I use the same controller and view for editing and creating models in ASP.NET MVC, or should I create a view and controller action for creating and a view and controller action for editing? The editing view is certainly likely to be different - it doesnt always make sense for the user interface for editing an object be the same a...

How to detect the item restore on a ItemAdded() event on SharePoint

Hi, I know that when an item is restored from the recycle bin, the ItemAdded event is fired. However, how can i detect if the item added comes from the recycle bin or if it is a new file. Thanks ...

Java inheritance - added methods

Hi all, I want to have a base class, BaseConnect, which contains an OutputStream and children classes ObjectStreamConnect and DataStreamConnect. In my BaseConnect class I have OutputStream os; And in my Two children classes I have the constructors that do "os = ObjectOutputStream(...)" or "os = DataOutputStream(...)", respectively. ...

Folder and extension appearing after my domain name

Hello. A couple day ago i noticed that traffic had increased dramatically. Upon checking i noticed in my stats program that the extra traffic was from a direct source. ...

similar_text() , php, how to show what text it is finding that is similar

I am experimenting with finding similar text between a string and an online article. I am playing with similar_text() in php that shows the percentage a string matches. But I am trying to figure out how to echo out what similar_text() is finding that is similar. Is there any way to do this? Here is a sample of what I am trying to do: ...

DataRow which is added is not going to be delete doing table.Rows[i].Delete() ?

Why is that? The state of the datarow is added. When I delete the row the state is unchanged. Why not deleted? Thats the reason my Delete Store Procedure is never called! edit: the datarow is freshly added and then I try to delete it. ...

TFS - how to see changes in local working copy?

I'm an experienced SVN user getting used to TFS at a new client site. The main problem I've had adjusting to the new tool is this - how can I get a listing of all files in my working copy that have changed from current/latest server revision, including added or deleted files? Essentially, I'm looking for the TFS equivalent of an "svn d...