How to access datas based on user roles in asp.net ? For example : i have two admins (admin1, admin2). In the frontend ,admin1 has full access to datas(view,add,edit,delete all datas) while admin2 has limited access to datas(view,add,edit,delete certain datas alone and not all datas)
how can i do this thing, because i am designing a web page regarding this thing, i have a n option that send group mail, so that i have to get the users into a group by users selection, and send a single mail to all of them
at our office we take daily backup of ASP.net application ms access backend for the next few days we need to evaluate the changes made to records in the database tables at the end of each day i want to compare 2 access databases first database is the backup of yesterday and second database is the backup of today i thought of the following algorithm, how to proceed to compare the datatables / gridviews
i need to display th rows / cells containing the differences / updates / deleted data
I am trying to make connection to a remote database server and I am getting the following message. I think i have to grant access to the client maching from my database server.. How do i grant access to an ip addess?
ERROR [HY000] [MySQL][ODBC 5.1 Driver]Access denied for user 'thelp'@'18.104.22.168' (using password: YES) ERROR [HY000] [MySQL][ODBC 5.1 Driver]Access denied for user 'thelp'@'22.214.171.124'(using password: YES)
I created a new database with the help of Database Configuration Assistant !I created with the scott account.Now i'm not able to connect to the database with the connect identifier with the scott account.The error i get is.,
ERROR - ORA-12154: TNS:could not resolve the connect identifier specified.
I'm learning to use webmatrix via the tutorials on the website. I've had success with all table operations, when only using one table. I'm using the following address to access the site uredi_let_padalce.cshtml?LetId=4 and the is code:
The page works if I write: where LetId=4 instead of @0. But if I leave the variable I get the following error: The column name cannot be resolved to a table. Specify the table to which the column belongs. [ Name of ambiguous column = LetId ] If I specify the table name LetId_PadalecId. LetId=@0, then I get the parameter missing error. How could I tell the server which LetId I want?
Below is our error message. This happens around 5 - 7AM daily, and we are struggling with identifying the root cause. It's hard for me to believe it's code related, but anything's possible. Still, what's odd is the app runs fine for a day then an IIS reset is done and everything is fixed. Is there any way this could be related to code and has anyone dealt with this error before? Could a job or some permission being run behind the scenes be using this same dll and cause it to be overwritten?
Timestamp: 3/4/2010 12:11:23 PM Message: HandlingInstanceID: 3d9a795c-1256-44c1-b018-f553d4023b12 An exception of type 'System.TypeInitializationException' occurred and was caught.
I have a gridview in a webform. When the page is laoded the data from xml is binded to gridview. Say i have twenty product details in xml. Now i have written code to bind those details with gridview its working fine.
i want to display like this, for exmaple if there are twenty records i want to display ten datas on left and ten datas in right, find the sample below,
I have a large XML file (3000+ nodes) that I want to represent in a TreeView on ASP.NET. I cannot databind it to a XMLDataSource because loading the TreeView will then be way too slow (I never even waited long enough to see it finish...)
So the solution for this would be to use the PopulateOnDemand property of the TreeNodes to load data only when needed. Problem is, I can't think of a way to acheive this...
How can-I, based on the ID of a node, search a XMLDocument to get all the childnodes of the node having this ID?
I write a countdown timer in jQuery and i need to keep some datas in a session when countdown ends. Datas have to be sent to server to update. How can i handle this situation. I am new in jQuery and asp.net so could you explain this briefly
developing a product (like shopping cart) in ASP.NET/C# 3.5. It is common for all the shopping sites. The following is my task,I need to get the datas from customer database (It may be SQLServer, MySQL or Oracle and the database structure also different). For example i need the following items for my product from the customer database,Category ID (Category or Product) Category Name Parent Category Description Cost Quantity Thumbnail image url Original image url Related products So how to get above values from the customer database and what should be the best concept to do this because i don't know anything about customer database (I don't know whether it is SQLServer or MYSQL and also i don't know the database name, table name or column name).