hi
http://www.youtube.com/watch?v=xhYyHxJO1to&feature=relmfu
i am seeing this video but in this video he is using roles class method Adduerotrole but my question is that is this method is built in are this is user define are i am missing namespace can any one help me...?
Loading


VulpesRank #55 · 29.2K reputationPosted Apr 19, 2011, 2:58 AM EDT
You want the first one, rather than the second one, Lucky
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Apr 19, 2011, 1:32 AM EDT
Its better to post comment on the video which you have doubt. So that they can reply soon and they can correct their mistake if any.
VulpesRank #55 · 29.2K reputationPosted Apr 19, 2011, 1:58 AM EDT
See MSDN docs (http://msdn.microsoft.com/en-us/library/system.web.security.roles.addusertorole.aspx).
Smart LuckyRank #2,625 · 531 reputationPosted Apr 19, 2011, 2:29 AM EDT
Vulpes Thnx Dear
Ankit NandekarRank #703 · 3.4K reputationPosted Apr 19, 2011, 2:30 AM EDT
Smart LuckyRank #2,625 · 531 reputationPosted Apr 19, 2011, 2:51 AM EDT
Roles.AddUsersToRole(DropDownList1.SelectedValue, DropDownList2.SelectedValue);
I am writing in this way but this is giving me an error which is bellow can any one help me....?
Ankit NandekarRank #703 · 3.4K reputationPosted Apr 19, 2011, 2:53 AM EDT