---
title: "How to split data to text boxes when read qr code data ?"  
description: "How to split data to text boxes when read qr code data ?"  
author: "Abeer Shlby"  
published: 2017-02-19  
updated: 2017-02-19  
canonical: https://www.mindstick.com/forum/34261/how-to-split-data-to-text-boxes-when-read-qr-code-data  
category: "c#"  
tags: ["c#", ".net"]  
reading_time: 1 minute  

---

# How to split data to text boxes when read qr code data ?

\
\
I work in windows [form application](https://www.mindstick.com/interview/23108/how-to-create-form-application-using-dot-net) c# [visual studio](https://www.mindstick.com/articles/12378/visual-studio-for-mac-is-out-of-beta-preview-now-officially-available) 2015\
This windows form read data by qr reader device and get it as this formate\
30 General [Conference](https://www.mindstick.com/blog/11886/must-haves-conference-room-facilities-to-plan-a-corporate-event) of Arab Pharmaceutical Unions [UserName](https://www.mindstick.com/forum/12798/there-is-no-viewdata-item-of-type-ienumerable-selectlistitem-that-has-the-key-username) : michel bondq Country : Egypt [Membership](https://www.mindstick.com/interview/2228/in-which-database-is-the-information-such-as-membership-role-management-profile-and-web-parts-personalization-stored) : part\
when read qr it give me message above in [text file](https://www.mindstick.com/forum/12828/converting-a-text-file-to-an-array-in-java)\
I created text file and open it by hand and read qr it give me message above\
SO THAT\
IF i need to read data from device and receive result directly from device in windows form [application as](https://answers.mindstick.com/qa/41069/how-did-missouri-s-application-as-a-slave-state-in-1819-challenge-u-s-law) following :\
textbox1 michel bondq\
textbox2 Egypt\
textbox3 part\
so that my [question](https://www.mindstick.com/blog/23175/how-to-solve-neet-question-paper-in-less-time)\
if i need to read data directly to windows form how to receive and split data as following :\
textbox1 michel bondq\
textbox2 Egypt\
textbox3 part\
if i put cursor mouse in any textbox it read all data in only one textbox\
**i need to split it to textboxes after every (:) and get value and put in textbox****\****please help me**\
\


---

Original Source: https://www.mindstick.com/forum/34261/how-to-split-data-to-text-boxes-when-read-qr-code-data

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
