i'm working on An win form application in c# i wants to add a functionality to my application by which i can change the lable.text on user input basis
i wants to use an xml file so i can set some labels as predefined values that can be changes any time without recompiling application or changing language of my application
i have an xml file that i wants to use in my form application
<?xml version="1.0" encoding="utf-8" ?>
<product>
<product_id>1</product_id>
<product_name>Product 1</product_name>
<product_price>1000</product_price>
</product>
<product>
<product_id>2</product_id>
<product_name>Product 2</product_name>
<product_price>2000</product_price>
</product>
<product>
<product_id>3</product_id>
<product_name>Product 3</product_name>
<product_price>3000</product_price>
</product>
<product>
<product_id>4</product_id>
<product_name>Product 4</product_name>
<product_price>4000</product_price>
</product>
in my application i have some text for textbox1,textbox2 And textbox3 And Lables As Lable1,Lable2,Lable3
on text change in textbox1 I wants to change the value of lable1.text According to id for example if user enters 1 in textbox1 then lable text should be changed to product 1
As beginner in c# and programming don't know how to get this working....