sushanth08 0 Newbie Poster

hello,
i have a datagrid view with 12 entries for a particular column named layout id fetched from the database.the number of entries may vary depending on the entries in database.
the 12 entries are
Layout ID
BMW_FILES1
BMW_FILES1
BMW_FILES1
BMW_FILES1
BMW_FILES1
BMW_FILES1
BMW_FILES2
BMW_FILES2
BMW_FILES2
BMW_FILES2
BMW_FILES2
BMW_FILES2
now i want to find out the position where BMW_FILES1 start and end,same is the case for BMW_FILES2.
can u please let me know the code on how to achieve is.
i need the length values to store each different Layout ID into string array

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.