• 1.9k
  • 331
  • 1m

Response.Write poblm

Aug 10 2009 8:02 AM

i created some input check boxes using response.write();
eg:Response.Write("<div  align=left  id=tr"+i+"><input type=checkbox value=100 id=c"+i+" runat=server name=chklist onclick=clicked('l'+"+i+")><label  align=left valign=top id=l"+i+"  style=WIDTH: 150px>"+db.myReader[1].ToString()+"</label></div>");
myreader is my datareader values from databse..that doesnt a matter....
help me to get onclick serevr side coding....
how can we add function to this..(on click)

Answers (6)