Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. faithful1

    why is it????? can open file using < a href, but not javascript

    Hello, I'm going crazy trying to figure this one out. Any help would be appreciated. I can open up a local file using <a href="\\servername\sharename\filename" however, when I pass this to javascript, trying to do a window.open("\\servername\sharename\filename") I get file not found. The...
  2. faithful1

    Split function

    Please help. this would seem to be very easy, but turning into a nightmare for me. I need a split function that returns the last section of a string delimited by a given character. For example, I would like to split 'test-01-02' by '-' and have it return 02. Please help. Thanks!
  3. faithful1

    Must be easy! On Datagrid Remove borders from pager only!

    Also, I already tried <PagerStyle BorderStyle=None>
  4. faithful1

    Must be easy! On Datagrid Remove borders from pager only!

    Can somebody please tell me how to remove the border from around the built in paging area? It seem like this would be simple! Thanks in advance [upsidedown]
  5. faithful1

    Rebind Datagrid on Edit - send value to Bind()

    Figured it out. Had to put the value in a control on the datagrid.
  6. faithful1

    Rebind Datagrid on Edit - send value to Bind()

    Hello, I have a datagrid with an EditCommandColumn. My oneditcommand is Sub doEdit(ByVal sender As Object, ByVal e As DataGridCommandEventArgs) dgUsers.EditItemIndex = e.Item.ItemIndex queryAlpha(sort) End Sub When I rebind the data which is queryAlpha(sort as string), I...
  7. faithful1

    Help!!Can Add user to Active Directory, but can Not update

    GMX- Thanks for your response! I found another way- populating the Directory Entry differently. It works. I still don't understand why the first one didn't work. string path = "LDAP://10.xxx.xxx.x"; DirectoryEntry entry = new DirectoryEntry path,"\\Administrator","password")...
  8. faithful1

    Help!!Can Add user to Active Directory, but can Not update

    Well, this is very strange to me. I can add a user to Active directory via a custom component. However, I can not update an existing user. This code is part of a component I am writing. I get the unknown error at the line **user.Properties["description"].Add("New description"); public void...
  9. faithful1

    Connect to Active Directory

    I am very new to this! Is there anyone who point me in the right direction on how to connect to active directory and view objects, especially in creating a directory entry and when a username and password is required. I am using Dim enTry As DirectoryEntry = New...
  10. faithful1

    Connect to Active Directory

    I am very new to this! Is there anyone who point me in the right direction on how to connect to active directory and view objects, especially in creating a directory entry and when a username and password is required. I am using Dim enTry As DirectoryEntry = New...
  11. faithful1

    Stored Procedure Values to Array

    Thank you! That worked great!
  12. faithful1

    Stored Procedure Values to Array

    I am calling a function that returns the top N partnumbers. Once I have the results, I want to take these partnumbers and enter them into another table. So far I have the following. I call the Stored Procedure successfully, but I need to enter the values into another table only if the stored...
  13. faithful1

    Add ID Column to DataTable - PLEASE HELP!

    Thanks...I will try!
  14. faithful1

    Add ID Column to DataTable - PLEASE HELP!

    the first suggestion sounds like a better idea. Any tips on how to reference the 'autonumber' column and set it? Thanks sunaj!
  15. faithful1

    Add ID Column to DataTable - PLEASE HELP!

    thanks for your reply... it is much appreciated! =)
  16. faithful1

    Add ID Column to DataTable - PLEASE HELP!

    I am using SQL Server. The thing is I run an original query, say by location and then cache that. I do create an id at the database level for the original query. I store that in a datatable and cache it. I want to do a filter on the cached datatable, since I don't want to hit the database...
  17. faithful1

    Add ID Column to DataTable - PLEASE HELP!

    Does anyone know if it is possible to add an id column to an existing datatable that autoincrements? I have tried, but the id column is null. I am filtering a cached datatable so the ids for the records will constantly change. This is what I have tried...but NO LUCK! I get zero records, I...
  18. faithful1

    Filter Datatable and Bind to Datagrid

    I found the solution for those of you who are interested. My filter was the id of a button clicked: Dim i As Integer Dim ds As DataSet Dim tempdt As DataTable Dim drs() As DataRow Dim dr As DataRow Dim dv As DataView Dim alpha As String =...

Part and Inventory Search

Back
Top