I was wondering if its possible that I could click a document, upload a new document and it would overwrite the existing one, while still keeping the same ID. So if I had Policy_101.doc, I could upload Policy_201.doc and it would overwrite the first one.
Thanks
edit: I know in the SqlStorage code there is a line
using (SqlDataReader reader = ExecuteReader("select ContentID from TBL_Content where path={0}", path))
{
if (reader.Read())
return reader.GetInt32(0);
}
if I could somehow get it instead of path but the selected item from the document dialog I would be all set