objEffort.IssueDate = string.IsNullOrEmpty(txtDate.Text) ? (DateTime?)null : DateTime.ParseExact(txtDate.Text.Trim(), "dd/MM/yyyy", null);
I want to pass "07/20/2011 12:10 PM" this format to database . Please Reply me how can i do this. It's bit urgent