Posted on: 4/18/2011 5:54:29 PM | Views : 327

Dear sir,
I have return a code in asp.net to generate a random numbers without repeating the numbers within the range..(In this code I have used modulo 30 to generate a random numbers within range 0-29,considering as 30 as the size of the image).
 
In this code I am getting two errors which I could not resolve,
 
Error    1:  The best overloaded method match for 'System.Web.UI.WebControls.ListItem.ListItem(string)' has some invalid arguments C:\Documents and Settings\Ayeesha\Desktop\subs1tran\samplePixel.aspx.cs   349 37    C:\...\subs1tran\
 
Error    2   Argument '1': cannot convert from 'int' to 'string'    C:\Documents and S ...

Go to the complete details ...