Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6017345
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:06:54+00:00 2026-05-23T03:06:54+00:00

I am using a SQlite database connected to datagridview control. Now, I am able

  • 0

I am using a SQlite database connected to datagridview control. Now, I am able to display the database in the Winforms application. My next requirements are to read the items in the datagridview and then group different rows together based on whats in it.. So, if there are two rows matched by an alarm id, I want both the rows to be next to each other with some id flag or colorcode. Is it possible to do this… Ideally would like the row to get listed in a tree like structure , like how windows explorer handles directories… Is this possible or anything close to is possible?

Thanks..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T03:06:55+00:00Added an answer on May 23, 2026 at 3:06 am

    Possible is a loaded question. In Hollywood, anything is possible.

    If you mean “is it possible for .NET to automagically group things for me so I don’t have to code anything”, the answer is no. There are third party controls, however, that can do an amount of nesting, if you feed them the data and give them the nesting rules. They are not free, but can save you a lot of time.

    Sans buying, as long as you can figure out how to sort in the proper order for your grouping, you can easily make them nest in a tree control. You can also have a grid in a grid and do some really neat nesting.

    If you merely want the rows next to each other and use alternative colors each time an alarm changes, you can do this. Sort the data first and then you can bind to a grid (as an example, not THE example) and alter background color using the Row Binding event. Even with a treeview, you can intercept the individual binding events.

    Does any of this make sense? If not, I suggest reading up on the controls in question, as that will lead you to an answer.

    The first place to start is figure out the order for the data so you can group properly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get connected to my Sqlite database programmatically using C#/ASP.NET: string requete_sql
I am using the SQLite database and have the following persistent class (simplified): public
I have a database file that is generated on a PC using Sqlite. This
I have been using the System.Data.SQLite provider for my application. When I try to
I'm using a SQLite database to store information on players and their teams using
I am trying to connect my application to a SQLite database with LINQ-to-SQL, and
Currently I have an application that takes information from a SQLite database and puts
I am developing windows mobile application. I have added the SQLite database file in
I am developing windows mobile application. I am using the SQLlite database. I am
I have a program that accesses a database using SQLite. When I open a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.