Find literals in aspx page

fr33m1n

New Member
I have 42 Literals on my web page and their IDs like ltr1,ltr2,...,ltr41,ltr42. I want to change their text property in a for loop.\[code\]for(int i=1;i<43;i++){ ("ltr"+i).Text="something"; //I don't know which method I must use, so wrote like this}\[/code\]How can I do this?
 
Back
Top