DropDownList

Joined
Sep 8, 2006
Messages
1
Reaction score
0
Hi there,
I have this problem quite a while and i decieded to write a post.
I've created role in asp.net called Customers.
I've added in web.config
<location path="CustomerDetails.aspx">
<system.web>
<authorization>
<allow roles="Customers" />
<deny users="*" />
</authorization>
</system.web>
</location>
Now im using a dropdownList into FormView to get information about shippingregion which is table into sql express with the following code:
<asp:DropDownList Width="350px" ID="ShippingRegionDropDown"
runat="server"
SelectedValue='<%# Bind("ShippingRegion") %>'
DataSourceID="SqlDataSource1"
DataTextField="ShippingRegion"
DataValueField="ShippingRegionID">
</asp:DropDownList>
Im using as connectio sqldata source but the problem is whnever i go to customer details i got error SELECT permission denied on object 'ShippingRegion', database 'gorjan', schema 'dbo'
I dont know what user i should add to sql server express because there is register customer option on the web page anybody can help?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top