Search results for query: *

  1. J

    Sorting a gridview client side

    I just checked it when I posted this, and now it looks like they have finally opened up the Vue 3 version to the public: https://formkit.com/
  2. J

    Sorting a gridview client side

    I guess I'm hard to impress, but kind of cool. The problem for me is that I have a rather large existing database. Something like a generic customer class and code wouldn't help me much. It just needs an admin login on my side, where it can log in and just do it all for me. One of the first...
  3. J

    Sorting a gridview client side

    I have not used it yet, but what I do is 90% CRUD forms w/ lots of tables and reports (with excel exports. Got to have them). I can't imagine it being that useful to anything I do, until they make a version I can just give an admin login to the entire system. When it can just look at my MySql...
  4. J

    Sorting a gridview client side

    One of the simplest approaches I have looked at is Vue Formulate. You can generate a form from json. https://vueformulate.com/ The VUE 3 version is still not out. :(
  5. J

    Sorting a gridview client side

    Ok, got it all working and polished up a little. Made it bootstrap form friendly: http://qwest4.com/mysqltohtml.aspx Download: http://qwest4.com/mysqltohtml.zip Challenge for you. Have ChatGPT connect to mysql, get the column names from a table, give you a way to map the columns to the desired...
  6. J

    Sorting a gridview client side

    I figured out a way that actually isn't that involved. Loop through the html table created by the Gridview and creating an array out of it. Then stringify the array and stick it in a hidden field, which is available in the code behind. It keeps the sort order, so I should be able to make it...
  7. J

    Sorting a gridview client side

    OK, so probably not the best use of my time today, but I whipped this out: https://iron.management/mysqltohtml.aspx It almost works, and some of the code isn't terrible. The goal was, type in a mysql table name and hit "Go". You get a field list of the table. Map each field to your desired...
  8. J

    Sql command parameters

    Absolutely, several time I have been going over some old code and found something exactly like this: cmd.Parameters.AddWithValue("Id", rowId); It works without throwing any errors. That's why I started this thread. I wanted to know why it was working. I couldn't find any info on it, so I...
  9. J

    Sql command parameters

    That does explain why I couldn't really turn anything up when DuckDuckGo(ing) on the subject, then. Like I said, a few times I was redoing some old code I wrote and would occasionally run into a line here or there where I forgot the @. I just wondered why it worked, and if it didn't matter...
  10. J

    Sql command parameters

    Apparently just .net also automatically parameterizes your query for you. And if I needed to worry about this if I ran across it in some old code, was why I asked. Also, I wasn't sure that the at symbol was what it was really called. I looked it up and wikipedia said: The absence of a single...
  11. J

    Sql command parameters

    Given the great lengths that programmers go to in order to save a few keystrokes, it's weird that more examples don't leave them out. Since almost all examples put them in, I thought maybe it did something extra when it was there. Thanks.
  12. J

    Sql command parameters

    Stupid question, but I have never been able to find an answer to this. When I first started doing Asp.Net in C# or VB, all the examples to add SQL command parameters look like: cmd.Parameters.AddWithValue("@Id", rowId); When going back through my code, I sometimes find I did this...
  13. J

    Reading a dB blob field into a byte[]

    As a side note on this, I wasted some time a while back and part of my problem was I didn't actually store the image in the blob correctly to begin with. There is an easy check in MySql Workbench: Right click on the blob cell in the result grid and select "Open Value in Editor", which will...
  14. J

    Java design question

    And if I were to ever really land my dream job, I think I would just work on the server side full time. Part of my problem is, after I write hundreds of lines of code to wire up a form, I really don't care if the buttons look pretty or how it looks on a phone. I really question how so much is...
  15. J

    Java design question

    I meant they, as in the guys that wrote this java back-end for a shopping cart: https://github.com/webtutsplus/ecommerce-backend/ I messed around with EF a long time ago. At the time, it didn't get along very well with MySql. I don't like that it kind of has a black box feel to me. It's kind...
  16. J

    Java design question

    OK, so I'm correct in thinking I can just use Dapper to populate the DTO object and use it the same way I have been doing with everything else Dapper maps for me? Since I have been working on this for a few weeks, my thoughts are, I seem to have generated a lot more files and code to do the...
  17. J

    Java design question

    I'm converting a java back-end to a .net core back-end. Finally starting to kind of get a little more comfortable with this, at least. I have a question on what exactly the purpose of this is. From: ecommerce-backend/UserCreateDto.java at master · webtutsplus/ecommerce-backend public class...
  18. J

    CORS

    Yes, https://localhost:8080 is correct. Breaking down and posting to a forum somewhere is the magic for me. Almost every single time I give up and post a question, I find the answer within an hour. Well, at least 90% of the time. I was putting the code in startup.cs, and I should have been...
  19. J

    CORS

    So, in all of my years of messing with this stuff, I can't think of anything that has made me waste more time than CORS...or been more irritating. I got so tired of it, I have pluggins on Firefox and Chrome that are supposed to bypass CORS, and they aren't working. I absolutely have traced...
  20. J

    JWT token/claims in controller.

    I listened to this book a few weeks back: Amazon.com: Coders at Work: Reflections on the Craft of Programming (Audible Audio Edition): Peter Seibel, Mitchell Dorian, full cast, Upfront Books: Books One thing I bookmarked was, one guy said that at almost every level of the .net world, the "how...
Back
Top Bottom