i Have a textbox and CheckBoxList

If i enter orderid in TextBox(order id is the column name in my database) ,that time want to show the status of order id in CheckBox List

In the CheckBoxList i have four items

Renovated,completed,validated,cancelled

how to show clicked ,for example the orderid renovated or completed,validated,cancelled

Please give me a solution

I'm assuming you have the status of order kept in a database. When the order is entered into the text box, take that value and use it to query the database to retrieve the order status. Once you have that use a switch statement or something similar to match the returned result against a status type (renovated, completed, validated or cancelled) and check the correct control.

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.