Click here to Skip to main content
15,935,259 members
Home / Discussions / C#
   

C#

 
QuestionHow to save DataGridView content? Pin
Alex Dunlop17-Nov-20 21:35
Alex Dunlop17-Nov-20 21:35 
AnswerRe: How to save DataGridView content? Pin
Richard Deeming17-Nov-20 21:39
mveRichard Deeming17-Nov-20 21:39 
AnswerRe: How to save DataGridView content? Pin
OriginalGriff17-Nov-20 21:49
mveOriginalGriff17-Nov-20 21:49 
GeneralRe: How to save DataGridView content? Pin
Alex Dunlop18-Nov-20 6:05
Alex Dunlop18-Nov-20 6:05 
GeneralRe: How to save DataGridView content? Pin
OriginalGriff18-Nov-20 6:21
mveOriginalGriff18-Nov-20 6:21 
GeneralRe: How to save DataGridView content? Pin
Alex Dunlop18-Nov-20 6:05
Alex Dunlop18-Nov-20 6:05 
GeneralRe: How to save DataGridView content? Pin
Mycroft Holmes18-Nov-20 11:14
professionalMycroft Holmes18-Nov-20 11:14 
Question.NET5 publish selfcontained: issue with App.config Pin
Super Lloyd17-Nov-20 14:31
Super Lloyd17-Nov-20 14:31 
I have a .NET 5 console app, which has an App.config (with EF / database connection strings in it).
It works fine, but if I publish as a single file it doesn't work, i.e. it doesn't read the app.config file.. Cry | :((

I even specified that the App.config is not embedded in single file deploy, like so in the .csproj
<ItemGroup>
  <None Update="*.config">
    <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    <ExcludeFromSingleFile>true</ExcludeFromSingleFile>
  </None>
</ItemGroup>

What else could I be missing!?
A new .NET Serializer
All in one Menu-Ribbon Bar
Taking over the world since 1371!

AnswerRe: .NET5 publish selfcontained: issue with App.config Pin
Richard Deeming17-Nov-20 17:46
mveRichard Deeming17-Nov-20 17:46 
GeneralRe: .NET5 publish selfcontained: issue with App.config Pin
Super Lloyd17-Nov-20 18:12
Super Lloyd17-Nov-20 18:12 
AnswerRe: .NET5 publish selfcontained: issue with App.config Pin
Gerry Schmitz17-Nov-20 20:46
mveGerry Schmitz17-Nov-20 20:46 
GeneralRe: .NET5 publish selfcontained: issue with App.config Pin
Super Lloyd17-Nov-20 20:52
Super Lloyd17-Nov-20 20:52 
GeneralRe: .NET5 publish selfcontained: issue with App.config Pin
Gerry Schmitz17-Nov-20 20:59
mveGerry Schmitz17-Nov-20 20:59 
GeneralRe: .NET5 publish selfcontained: issue with App.config Pin
Super Lloyd17-Nov-20 21:16
Super Lloyd17-Nov-20 21:16 
GeneralRe: .NET5 publish selfcontained: issue with App.config Pin
Gerry Schmitz18-Nov-20 7:05
mveGerry Schmitz18-Nov-20 7:05 
QuestionHow to reference resource from Resources file Pin
Bootzilla3316-Nov-20 13:56
Bootzilla3316-Nov-20 13:56 
AnswerRe: How to reference resource from Resources file Pin
Richard Deeming16-Nov-20 21:45
mveRichard Deeming16-Nov-20 21:45 
GeneralRe: How to reference resource from Resources file Pin
Bootzilla3317-Nov-20 4:27
Bootzilla3317-Nov-20 4:27 
GeneralRe: How to reference resource from Resources file Pin
Richard Deeming17-Nov-20 4:30
mveRichard Deeming17-Nov-20 4:30 
QuestionVariable for number of days Pin
Member 1447460716-Nov-20 5:56
Member 1447460716-Nov-20 5:56 
SuggestionRe: Variable for number of days Pin
Richard MacCutchan16-Nov-20 6:01
mveRichard MacCutchan16-Nov-20 6:01 
AnswerRe: Variable for number of days Pin
Gerry Schmitz16-Nov-20 6:58
mveGerry Schmitz16-Nov-20 6:58 
GeneralRe: Variable for number of days Pin
Richard Deeming16-Nov-20 21:41
mveRichard Deeming16-Nov-20 21:41 
GeneralRe: Variable for number of days Pin
Gerry Schmitz17-Nov-20 4:57
mveGerry Schmitz17-Nov-20 4:57 
GeneralRe: Variable for number of days Pin
Richard Deeming17-Nov-20 17:35
mveRichard Deeming17-Nov-20 17:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.