Search results for query: *

  • Users: Pablo
  • Order by date
  1. P

    Question Starting Mobile Development with C# (and Android)

    Hello all I am an experienced C# programmer, desktop applications and video games. I would like to get into Mobile development, for example to make an app for my cell phone. By now, the only I know is that a Mobile app file extension is .apk. I don't even know if this is the correct sub forum. I...
  2. P

    Resolved Error when Editing and Deleting in SqLite

    Hello, @titojd Please read carefuly the last messages of @Skydiver , there you have the solution for your SQLite issue. Besides the issue of the multiple connections opening (that I think you already understood that), there is a DataReader you open/read (with the Search button, I think) and...
  3. P

    Hi guys new to C# and trying to learn

    Hello, @BigKahuna1971 , @Skydiver , @cjard , @jmcilhinney , @gulshan212 I have a doubt: in BigKahuna1971's code, there was a call to ToWords() on a decimal variable; I suppose that it's supposed to be called on an integer, due its output are pure integers (like one hundred and thirty five), not...
  4. P

    Resolved Error when Editing and Deleting in SqLite

    Hi, @Skydiver You are a genious! I (with my 10+ years programming) didn't catch that issue of the DataReader. I just looked at the writting stuff (edit, delete, etc.), not at the reading stuff. So thank you very very much. As I told @cjard not so long ago, it is nice to know you are there for...
  5. P

    Resolved Error when Editing and Deleting in SqLite

    Hello, @cjard Look at the attachment, it's the Logica.cs file fixed.
  6. P

    Resolved Error when Editing and Deleting in SqLite

    Hello @Skydiver To reproduce the error click in the button "Edit Delete Add" (the biggest one on the right) then in the form which appears type a Contest number in the first TextBox (you can see the numbers at the DataGridView first column), then click the "Search" button, and then Click the...
  7. P

    Resolved Error when Editing and Deleting in SqLite

    Hello, @Skydiver I opened @titojd 's project and fix the issue about the connection being open more than once and not closed, and still got the runtime error 'database is locked'. I hope you can solve that issue, I couldn't. I don't know what is the bad thing with WriteAllLines(), which is...
  8. P

    Resolved Error when Editing and Deleting in SqLite

    Hi, @Skydiver There are not concurrent writes in @titojd 's program. And, the same, there is that error 'database is locked'. If it was a web application which may have concurrent writes, it could be what you say, but being a simple desktop application that access the database, it can't, al...
  9. P

    Question Progressbar Background Image

    Hello, @melihxrist You want the images inside the progress bar? And animated? Is it Windows Forms? Pablo
  10. P

    Resolved Error when Editing and Deleting in SqLite

    Hi, @titojd I saw your project and changed the issue of the connection open more than once (see the .txt attachment), but I can't fix the runtime error 'database is locked', I think it's a bug from SQLite. Could anyone solve this? @Skydiver , @cjard ? If I were you I would use SQL Server (with...
  11. P

    Resolved Error when Editing and Deleting in SqLite

    Hi, @titojd What I said before, that the 2 lines: for (int i = 0; i < 15; i++) result._01 = Convert.ToInt32(reader[0]); just repeat the 2nd line 15 times, which doesn't make sense, because with once is enough. If you wanted to group the 15 lines below the for header, then you should have...
  12. P

    DataTable

    Hi, @patrick You have 3 groups (KPS, DPA, ESG) of 4 categories (English, Chinese, Japanese, Russian) I'll try to explain one by one the 5 columns of each row of the converted DataTable (remember that indices start from 0): 1) 1st Column: subject = i % 4 == 0 ? original.Rows[i / 4][1].ToString()...
  13. P

    Resolved Error when Editing and Deleting in SqLite

    Hello, @titojd Please, see the image ... About the 15 iteration loop, 1) It will repeat 15 times the (only) line below; if you wanted to repeat 15 times all the 15 lines below (from reader[0] to reader[14]) you should have grouped those lines with braces { and }. But, why repeat 15 times those...
  14. P

    Question MudBlazor simple syntax various errors in Cascade Dropdownlists

    Helo, @cjard I was able to run my app fine with your corrections to my code. Now I'll have to go back to my methods that load data from the DB. I have to thank you very much for your time and being there giving me a great help in my learning. Regards Pablo
  15. P

    DataTable

    Hello, @cjard, I have just seen your message. You ask for it, you get it, here's the variables in the row building: string subject, category; string day202309, day202310, day202311; for (int i = 0; i < 12; i++) { newRow...
  16. P

    DataTable

    You mean that before having the original DataTable you gave us first, you have one with the rows unordered? I have just added the sorting functionality to the code. Hope this helps and is useful for your learning. Pablo using System.Data; namespace WinFormsAppDataTableTranspose { public...
  17. P

    DataTable

    You're welcome! Please see I edited the code a few minutes ago because there was a little logical failure. Now it is OK. Happy to help. Regards Pablo
  18. P

    DataTable

    You might, maybe doing a very important logical mathematical reasoning effort, but, I understand that it would be very hard for a begginer. Also, that's my specialty, the reasoning. So, glad to help you, a bit more. I know that often here the members say that this Forum is not a code writting...
  19. P

    C# problem i dont understand but its easy

    Hi, all There are not logical nor compiler errors in @Jannis1366 's code. I think nobody here noticed that when the variable alarm reaches the value 3 the program abandons the do while loop with the break statement. This can make it seem that !buttonClick is false, and that's why buttonClick is...
  20. P

    Question MudBlazor simple syntax various errors in Cascade Dropdownlists

    Hello, cjard Sorry, I got the wrong version of the project. And I forgot you don't have the DB. It is that, as I don't see it, I forget it is there. Now I make a minimal code that reproduces the runtime error. What I could not reproduce is the Service methods returning async Task. But the...
Back
Top Bottom