Posted on: 5/22/2011 7:42:51 PM | Views : 244

i trai to gett all profile with this methode 
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { ProfileCommon[] pro ; int i = 0; MembershipUserCollection Users=Membership.GetAllUsers(); foreach (MembershipUser m in Users) { pro[i] = Profile.GetProfile(m.UserName); i++; } GridView1.DataSource = pro; GridView1.DataBind(); } }
the error is use unasigned  pro
tell if there is another methode to gett all profile in greedView
...

Go to the complete details ...