I have 10 Textboxes in which i want to change value of particular/some textboxes at run time and remaining textboxes should fetch value from DB table, according to below condition:
If (Status=="aa") then, change the value of all Textboxs whose status="aa" at run time.
If (Status!="aa") then, remaining Textbox values should fetch from DB.
I have DB table:
id
|
Status
|
1
|
aa
|
2
|
open
|
3
|
close
|
4
|
aa
|
5
|
Close
|
6
|
aa
|
7
|
Aa
|
8
|
open
|
9
|
open
|
10
|
aa
|
in above table, id=1 belongs to Textbox1, id=2 belongs to Textbox2 and so on id=10 belongs to Textbox10
How to achieve it?
please reply