C
C#β€’13mo ago
Hudrel

βœ… Content of .txt into Label

Hello, I'm a beginner with C#, actualy i'm trying to past the content of a txt file into a Label or TextBox. I think i didn't do anything wrong but while i launched the project nothing appear. The .txt didn't get pasted into the label and no error appear. I'm a little bit confused with that x) It's acting like all is good but nothing work... Can i get some help please πŸ™‚
7 Replies
ero
eroβ€’13mo ago
0 references
this method is never called anywhere
Hudrel
Hudrelβ€’13mo ago
Oh my god... Totaly forgot to call this one... Thank you πŸ˜„ Last question, this thing is supposed to call a file and give the last news. Is it better to do it with a .txt or a .xml ?
ero
eroβ€’13mo ago
probably easiest with a json
Hudrel
Hudrelβ€’13mo ago
Ok thank you, i will look at this one πŸ™‚
ero
eroβ€’13mo ago
dismiss anything you see about newtonsoft
Hudrel
Hudrelβ€’13mo ago
Okok
Accord
Accordβ€’13mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts
❔ Blazor generic component "Type or namespace could not be found"Hello, In my blazor app, i have a generic component (with the use of `@typeparam T`). I have a page ❔ System.IO.FileLoadException for Microsoft.SqlServer.TypesI am working on an old project (.net 4.8) and updating the dependencies. One of these is `Microsoft.❔ blazor wont build from solution template riderhello everyone πŸ™‚ noob here, i've been building blazor webassembly apps for a week it's been fine aASP.NET JSON conversion issuesHello, for some reason asp.net is not serializing my response object correctly, in my request I retu❔ Blazor - Event executed more than onceIt’s the first time I’m asking something on the net, so sorry if the formatting or the way the answe❔ Output from a command line app has extra characters when redirected to my applicationhere is the redirected output. It has these weird characters that are underlined. When running the cβœ… Difficulty understanding Inheritance and where to use ConstructorHello people. I'm learning OOP and I've come across this problem. I'm creating a Football team creat❔ Linking folder from one project to anotherHi, i wanted to link folder from one project to another i accomplished it but i can't create new filβœ… Is it correct to use threads now?I read in book following: > as soon as you type new Thread(), it`s over; your project already have l❔ ConnectionString to Azure SQL ServerI have created the following sql server in Azure, copied the ConnectionString and pasted in my apps