I feel crazy asking this, but I'm not exactly clear on how to run a "query" against a dataset. In other words, I have loaded a whole group table into a dataset and need to query for a specific groupid. I have queried the active directory for a list of groups that a specific user is in. I need...
I have queried Active Directory for a list of groups a particular user belongs to (comes back in an array). First, I need to loop through the array looking to see if any of 6 particular groups exist. Then, if any of them do exist, i need to update a table with this information. I am basically...
If I have a string value equal to "Firstname Lastname" and I want to separate the two into their own separate variables, how can i do that? i think i will need to use an instr to find the " " but I'm not sure what to do after that. I'm using the faq on access the active directory to get the...
I am using a control I purchased called calendar.net. I have some code in my page load event that populates that calendar with items. I currently have the code in an if not ispostback statement. I realize now that when a user navigates away from the page and then goes back to it, that code...
I have a many to many relationship which I have designed as two tables each with a one to many relationship to a junction table (with the id fields from each of the other two tables). When I do an insert to the two "regular" tables, what is the best way to get the id values into the junction...
I would like to declare one sqlcommand object in a module that I can use across my project. Is there a way to "clear" a sqlcommand object so that I can use it again for a different stored procedure?
I'm working on a report for my boss. I am grabbing info from a table that has the following fields:
ItemID
Item
ItemAmt
Quantity
Total (which is a calculated value of itemamt * quantity)
MainCategoryID
ProjectID
Notes
Deleted (a bit field indicating whether the record is "deleted")(users here...
I'm working on authentication against the active directory. Microsoft says that anonymous access needs to be enabled, and that the default account, iusr_machinename does not have permission to access the AD. Therefore, they say create a new account with permission to access the AD. How do I...
I am attempting to implement the code in this Microsoft example:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT02.asp
This code is for authenticating against Active Directory.
The code works fine on my web server, but not on any other pc in the network...
I am working on setting up a training program for work. Each users name will go in a database where it will be paired up with various courses. I would like to retrieve the users from the AD and populate a Sql table with this information. I know how to get the users out of AD and put them into...
My coworker and I got a new project from my boss today. I have only ever written small web based applications using VB.Net that I did by myself. My coworker suggested that he do the user interface and that I do the business logic layer. This all sounds fine, but isn't there a good section of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.