dcsimg

Search:

Type: Posts; User: TassadarNET

Search: Search took 0.00 seconds.

  1. Re: How to perform this SQL query in Code First?

    Many thanks for so many answers!!!

    To he honest, I learnt SQL almost 20 years ago and later I used it only in a few simple proyects of web applications using MySQL.

    As far as I remenber, Join...
  2. Re: [RESOLVED] Is a good idea using a string field as PK instead of an int in this ca

    Many thanks FunkyDexter,

    I have this in mind, when searching a company by its alias it will show a list to select from it if the alias belongs to more than one company.

    Regards
  3. Re: Is a good idea using a string field as PK instead of an int in this case?

    You're completely right, it does not help at all in having information correctly in the forum.

    I've open a new thread:
    ...
  4. How to perform this SQL query in Code First?

    Hi everyone,

    I come here with a doubt related with Entity Framework Code First and SQL.

    I have a table called "Company" that stores the information related with the companies. In other table...
  5. Re: Is a good idea using a string field as PK instead of an int in this case?

    Many thanks for the answers, jmcilhinney and FunkyDexter,

    Yesterday I was convinced on my mind that there would not be duplicate "Names" in the companyname table, but now I've read your comments...
  6. [RESOLVED] Is a good idea using a string field as PK instead of an int in this case?

    Hi to all,

    I'm creating the database of a proyect and an idea has come to my mind: why using an additional int field if the only important field that is string must be unique??

    I've read...
  7. I need some basic help with Entity Framework code first

    Hi all,

    I'm developing an application under visual studio using C#.

    For the database I'm using Entity Framework with code first, and now I've create the database structure, table relations and...
  8. Entity Framework and TimeStamp/RowVersion

    Hi everyone,

    I'm reading a book to learn how to use Entity Framework, exactly using "Code First".

    The book takes the issue of Concurrency and tell how to avoid problems with it (if I'm honest,...
  9. Replies
    2
    Views
    332

    Re: Filestream vs Streamreader

    Many Thanks, jmcilhinney,

    I used File.FileWriteAllText, File.ReadAllText and File.AppendAlltext as you adviced me:
    ...
  10. Replies
    2
    Views
    332

    [RESOLVED] Filestream vs Streamreader

    Hi all,

    I have to read and write files and I'm not sure what is the best way. I've see the difference is Filestream read/write bytes and StreamReader/StreamWriter read/write text.

    I think I...
  11. How to create and handle a database with SQL Express using code first

    Hi all,

    In the program I'm developing I need to use a database to store data. I really don't need a complicated one, only 3 tables in a first moment:

    -Companies
    -Employees
    -Configuration data...
  12. Re: Best package to handle PDF files (read its content and split pages)

    Many thanks to both, NeedSomeAnswers and jmcilhinney.

    I really don't care using one or another, but of course I need a library/package that allows me what I told in the first post (I suppose both...
  13. Re: Arrays and Dictionaries accesible from different threads??

    Sorry xD

    Yes, I meant ConcurrentDictionary :)

    I really have my needs covered with the classes I've built using ConcurrentDictionaryes. But for fixed size elements that are read very oftenly I...
  14. Re: Best package to handle PDF files (read its content and split pages)

    Hi jmcilhinney,

    English is not my first language and I don't know exactly how to translate the expression I want to use to answer you, but I'll use one I think is clear:

    Your words are sacred...
  15. Best package to handle PDF files (read its content and split pages)

    Hi everyone,

    One of next steps in my proyect is reading and handle PDF files.

    In my previous version developed it vba on a excel file I used the own adobe library (requires having Acrobat...
  16. Re: Arrays and Dictionaries accesible from different threads??

    Hi everyone,

    Firstly I apologyze for my lately answer, the truth is I've been coding and finding out things by myself. I come to tell the results, so it can help some others in my situation:
    ...
  17. Arrays and Dictionaries accesible from different threads??

    Hi everyone,

    I have create a class that contains basically a 2D array with data that are read from an excel sheet when program starts. This class also have some little dictionaries that holds...
  18. Re: How to call a static method from a different class?

    Problem found!!

    Moving my code to a new proyect I've see the problem: In the LibSTR Class by mistake I had delete the line "namespace MyProyect", the class existed but it didn't belong to the...
  19. Re: [RESOLVED] HOW TO: Import / Export data from excel to c# (the easy way for dummie

    Hi all,

    I've notice when a complete row is empty in the sheet, the variable ObjectIRow is null. It has to be controlled when importing data to an array or similar:


    LastRowNum =...
  20. Re: How to call a static method from a different class?

    Thanks again,

    Something must be broken in my VS. The name of the proyect is not MyProyect (I used this to make the post easier to read) but appart of this, it's just as I've told, I'm hiding...
  21. Re: How to call a static method from a different class?

    That's the question, both classes are on the same proyect xDD

    To be honest, include the "using MyProyect;" on all the classes is not a big problem, but it seems very weird to me.

    Regards
  22. Replies
    9
    Views
    694

    Re: [RESOLVED] Am I Wrong using arrays??

    Many thanks again for all the help, I've mark thread as resolved.

    I will use arrays in my proyect, so I think it'll be faster than dictionary or list, but only in scenarios of arrays that never...
  23. Re: How to call a static method from a different class?

    Manty thanks, jmcilhinney

    I've add "using MyProyect;" to the class I want to use those static funtions and now I can use:


    ProcessedString =...
  24. [RESOLVED] How to call a static method from a different class?

    Hi all,

    I've in a proyect a class called LibSTR that holds static functions that performs certain operations to a string. For example:



    namespace MyProyect
    {
    class LibSTR
    {
  25. Replies
    3
    Views
    260

    Re: List vs Dictionary

    Thanks for the answers,

    According to your comments, I think dictionary fits better with my first idea:

    I want to use it to create a class that simulates a bidimensional resizeable array. I will...
  26. Replies
    3
    Views
    260

    List vs Dictionary

    Hi All,

    I want to use one of them (list or dictionary) to store some data in my program. According to what I know, both of them are ok for my needs.

    My question is: What are the differences...
  27. Re: Import data from an excel, the easy, effective, free and fast way??

    I reply myself so anyone in my situation can see this.

    I've write a mini tutorial:
    ...
  28. [RESOLVED] HOW TO: Import / Export data from excel to c# (the easy way for dummies like me)

    Hi everyone,

    I firstly want to thank for the help that has been given to me in other threads, especially thanks to jmcilhinney. Now it's my turn to lend a hand, from my modest knowledge I want to...
  29. Re: How to make my own functions show a tooltip (or the nane it has)

    Many thanks, jmcihinney. At the first moment I thought the problem came when I edited manually the labels, later I thought it can be related with that you're telling, but I took a bit in realize what...
  30. Re: How to make my own functions show a tooltip (or the nane it has)

    Perfect!

    I was writing the comments using simply // before de declaration of the function. Now, when I write /// the magic begins since it complete automatically all the summary labels.

    One...
  31. [RESOLVED] Import data from an excel, the easy, effective, free and fast way??

    Hi all,

    One of the jobs I have to do in a proyect I'm developing is readind/import data from an excel file. I will have to store that data in a SQL database but it's another story.

    As I say,...
  32. [RESOLVED] How to make my own functions show a tooltip (or the nane it has)

    Hi all,

    It's a bit stupid question, but I've googled it but don't find correct keywords and I'm not capable of finding an answer.

    When I use a system function, in the moment of writing the code...
  33. Replies
    9
    Views
    694

    Re: Am I Wrong using arrays??

    The prior answers was ambigous and didn't clear me if I should use arrays or not, but YOUR ANSWER has made me see the truth, the big truth... the truth that opens in front of my eyes.. I don't have...
  34. Any source of WPF templates or similar?

    Hi all,

    I'm migrating an old proyect made under VB6 and Excel into .NET and c# using WPF (I've decide to use WPF instead of Winforms).

    I've see the basics of WPF and now I can recreate simple...
  35. Replies
    9
    Views
    694

    [RESOLVED] Am I Wrong using arrays??

    Hi all,

    I'm migrating a proyect I developed under VB6 and Excel to .NET using C#. My initial idea was using visual basic, but I've finally go with C# since all the documentation I find over...
  36. VS 2017 How to convert VBA proyect (excel) into Visual studio?

    Hi all,

    I want to move a program I've develop in excel (VBA) into a Visual Studio proyect.

    I perfectly know it is going to be far from a simple copy-paste, and I was decided to start the new...
  37. VS 2017 Re: How To Create an SQL Database File in Visual Studio?

    Hi all,

    I have to start this post thanking jmcilhinney for his INCREDIBLE help in this forum. You helped me in a thread I opened some days ago and I see you on every thread I read.
    ...
  38. VS 2017 Re: Asking for advice: How to face my proyect??

    Many thanks for your help, jmcilhinney :)

    1.- The most important for me is re-using the code I've develop now, but as you say, even if I use VBA it's not going to be "copy-paste". This is the...
  39. VS 2017 Asking for advice: How to face my proyect??

    Hi all!!

    I'm new on this forum, I'm looking for advice of how to face my proyect. I hope the experts can lend me a hand and guide me in the right way. I'm trying to explain me clearly and in the...
Results 1 to 39 of 39



Featured


Click Here to Expand Forum to Full Width