HI Team
I have read Data From XML File like Roll No. and Name and Showed On Form after clicking on Button.
Now
I have One Text written on Label "labelText" Control.
Like
Before RUN
After RUN
Student has Follwing Details
Student has Follwing Details
Roll No : label1
Roll No : 1234
Name : label2
Name : John
Then I have another Labels label1 and label2 to show Data from XML File.When I click On Button at Runtime I will Get Data.
When I use Clipboard to copy this data on doc ..Then before RUN, I can Copy "labelText"part
BUT WHEN I RUN and COPY , then after paste It shows me Only 1234 on doc NOT all part
that specified in After RUN section..
PLEASE TELL ME HOW IT WILL ABLE TO PASTE ALL DATA ON DOC.
private void button2_Click(object sender, EventArgs e)
{
Clipboard.Clear();
Clipboard.SetText(labelText.Text);
Clipboard.SetText(label1.Text);
Clipboard.SetText(label2.Text);
string s = Clipboard.GetText();
}