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 strongm 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: *

  • Users: cmhunt
  • Order by date
  1. cmhunt

    Import CSV to DataTable without header row

    Just thought I'd let you know that I've found a more permanent and robust solution. I found an article on using the Microsoft Text Driver and schema.ini file at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcjetschema_ini_file.asp Using this, I can turn off the...
  2. cmhunt

    Consuming web service issue

    Hi I've used VS2003 to create an application that consumes a web service which works fine on my test web server. When I build that app and deloy on our production web server, I get the error: "The underlying connection was closed: Unable to connect to the remote server" There doesn't seem to...
  3. cmhunt

    Sort Null values in dataview

    Hi I have a dataveiw which I am setting the sort to a column in ascending order. Is there a simple way of sorting to NULL values to the bottom instead of the top? Any help is gratefully appreciated. Chris
  4. cmhunt

    Referring URL Integrity

    Hi Unfortunately the URL we have to check is not on our server so I don't think sessions are an option. One of our clients wants to integrate one of our web products into their website. Our product usually uses a username, password and IP address as security but the client wants a seemless link...
  5. cmhunt

    Referring URL Integrity

    Hi Simple question relating to security on our site. We need the client to access one page before accessing another so please can someone tell me if the referring url (Request.UrlReferrer) easily "hackable"? Thanks Chris
  6. cmhunt

    Import CSV to DataTable without header row

    Hi After some fiddling I found that simply adding a blank line at the top of the input files means everything works file. Not the perfect solution as messing with input files is just asking for something to go wrong, but I can't think of another way of doing it. Has anyone got any ideas whether...
  7. cmhunt

    Import CSV to DataTable without header row

    Ok, the values in the first row of the CSV file which the DataAdaptor is using to fill the DataTable are being used as the column headers for the DataTable so when iterating through the DataTable in later processing, the DataTable has one less row than the CSV file (the first row). Apologies if...
  8. cmhunt

    Import CSV to DataTable without header row

    The first row is going in as DataTable headings. Thanks Chris
  9. cmhunt

    Cannot read error messages from server

    Do you have access to your web.config file? If so, change the customErrors mode to off as it suggests. If you don't, you can always use Try....Catch to catch your error and then display it somewhere useful. Chris
  10. cmhunt

    Import CSV to DataTable without header row

    ...strFilename As String strImportfolder = "\\path" strFilename = "file.csv" strConnstr = "Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=" & strImportfolder & "\;" Conn = New Odbc.OdbcConnection(strConnstr) da = New Odbc.OdbcDataAdapter("select * from...
  11. cmhunt

    XML File Formatting

    Cheers, I'll give that a go!
  12. cmhunt

    XML File Formatting

    Hi Chiph - apologies for cross post. File genuinely has no line breaks in it. The file is being created using PHP. The file creation works fine and we have had no problems with this. My PHP knowledge isn't that brilliant so I'd prefer not to amend something that's working. I was thinking that...
  13. cmhunt

    XML File Formatting

    Hi I'm currently delivering a series of XML files to clients. Files are all well formed and abide by schema. Clients, however, would like the file formatted for readability. I've told them that they can open the file in IE which'll make it readable but that want line feeds and tabs actually...
  14. cmhunt

    XML File Formatting

    Hi I'm currently delivering a series of XML files to clients. Files are all well formed and abide by schema. Clients, however, would like the file formatted for readability. I've told them that they can open the file in IE which'll make it readable but that want line feeds and tabs actually...
  15. cmhunt

    Dynamic JS in Body tag

    Great, thanks - I'll give it a go. Apologies for the misleading subject by the way. I know that's originally how I thought I'd have to do it! Don't know why I put it in there though! Chris
  16. cmhunt

    Dynamic JS in Body tag

    Hi all I have only ever used ASP.NET to create forms pages but now I need to make a sort of automated presentation effect. I know I need to add a Meta tag within the Head element to refresh to a new location (for example: <META http-equiv="refresh" Content="10 url=index.aspx">) but am stuck as...
  17. cmhunt

    Computer &quot;hang&quot; on network connection and disconnection

    Both Win XP and Win 2k machine are connected to a router/modem and are allocated different IPs on connection. I really doubt whether it would make any difference but Win XP machine is wireless, Win 2k is wired. The signal is constantly above 95% so I can't see that that can be the problem. Have...
  18. cmhunt

    Computer &quot;hang&quot; on network connection and disconnection

    Hi When I logon to any network, both my home network and VPN, my computer "hangs" for a couple of minutes. It also does the same when disconnecting from either network. The "hang" doesn't freeze everything, it freezes the task bar and won't let me open new windows. I can still Alt-Tab through...
  19. cmhunt

    Databound Textbox not Displaying Updated Info

    Apologies, I wandered away from the ASP.NET forum this morning and forgot when I was looking through here this afternoon. Not sure I can help. Sorry for misleading you. Chris
  20. cmhunt

    Databound Textbox not Displaying Updated Info

    Once you have updated the dataset, simply: tbName.DataBind() Assuing that the dataset is already set up as the DataSource which it must have been as the textbox was originally working. Hope this works Chris

Part and Inventory Search

Back
Top