Tag: dll

  • Gregorian to Hijri Date Converter (.NET)

    Gregorian to Hijri Date Converter (.NET)

    Gregorian to Hijri converter is basically a dynamic link library (.dll) which can be used in both windows and web applications to convert date from gregorian to hijri and vice versa. Along with that, there are many other methods which are very useful for the developers.

    Installation Steps

    1. In Solution Explorer, right-click on the root directory then click Add and then click Reference.. to open Reference Manager dialog box.

    2. Browse GregorianHijriDate.dll file 3. Use the following procedure to call the properties of your GregorianHijriDate.dll file in your application.

    4. Add a namespace in the codebehind file (C# CodeBehind)

      using GregorianHijriDate;

    5. Create an Object of the “GH” class, as in the following:

      GH gh = new GH();

    Methods supported by GH

  • Customized MessageBox Library (Miscellaneous)

    Customized MessageBox Library (Miscellaneous)

    CMBox is a custom messagebox library for .NET.
    You can create a fully modifiable messageboxes for your applications with a single line of code.

    Feature List

    • Pre made dark theme
    • You can edit window properties of Message Box form if you need more customization
    • 5 MessageBox types(Success, Warning, Error, Question, Information)
    • Create your own message type
    • Available buttons; OK, Cancel, Yes, No etc
    • Catch user clicks to buttons

    You can simply add the dll file as Reference to your project, import library and create your own MessageBoxes.

    Here is a simple example for a basic MessageBox;
    myCMBox.Show("Title", "Say Hello from Message body");

  • SQL Helper (Database Abstractions)

    SQL Helper (Database Abstractions)


    What is SQL Helper?

    I’m sharing this with the world because we need another way to access data – don’t you think? Truthfully – I wanted to see if I could flex the C# stuff and run up data access with a single dll and signle line of functions.

    Features

    • Fetch data with signle line of functions
    • Fetch data with custome column’s name
    • Fetch data with sorting
    • Fetch data with diffrent type of joins
    • Fetch data with paging
    • SQL error handling
    • Full dll source code – (You can customize as your own way)
    • Development time saving… :)

    Demo Code

    • Select All Rows With All function

      dTable.All("TableName");
    • Fetch data with Select function

      dTable.Select("TableName");
      dTable.Select("TableName", "Columns");
      dTable.Select("TableName", "Columns", "Where");
      dTable.Select("TableName", "Columns", "Sort", "SortType");
      dTable.Select("TableName", "Columns", "Where", "Sort", "SortType");
      

      Select function is very usefull and it has five overload methods.
      All parameters description is above this function.

    • Fetch data with Where function

      dTable.Where("TableName", "Where");
      dTable.Where("TableName", "Where", "Columns");
      dTable.Where("TableName", "Where", "Columns", "Sort", "SortType");
      
    • Fetch data with OrderBy function

      dTable.OrderBy("TableName", "Sort", "SortType");
      dTable.OrderBy("TableName", "Sort", "SortType", "Columns");
      dTable.OrderBy("TableName", "Sort", "SortType", "Columns", "Where");
      
    • Fetch data with Paged function

      dTable.Paged("TableName", "PageIndex", "PageSize");
      dTable.Paged("TableName", "PageIndex", "PageSize", "Columns");
      dTable.Paged("TableName", "PageIndex", "PageSize", "Columns", , "Where");
      dTable.Paged("TableName", "PageIndex", "PageSize", "Columns", , "Where", "Sort", "SortType");
      

      You can fetch data with paging and you paging result will return with MyResult class.
      PageIndex you require to pass your current page index. which you require to show in list.
      PageSize pass your current page size.

    Support

    Once again, As I said at the beginning, I’d be glad to help you if you have any questions relating to this code.
    I’ll do my best to assist. If you have a more general question relating to the code on CodeCanyon,
    you might contact me at here. Thanks so much!.

    For new features:

    Though we will never discourage users from developing solutions that solve their needs,
    the goals of the SQL Helper are very focused. If you are looking to get new features merged back into the SQL Helper DLL,
    we highly encourage you to contact me at ajmerainfo@gmail.com or write
    comment on my CodeCanyon this product page.

    Thanks.

    hit counters
    hit counter