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 Chriss Miller 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: JulesBos
  • Content: Threads
  • Order by date
  1. JulesBos

    How to go back to a search results page

    Hi, I've got a search results page that takes information from its query string and displays data in labels and a datagrid. It works well, until you move to a new page then go back to it. When you go back there's an error message. The current code (first part) is: Private Sub...
  2. JulesBos

    Which to use - label/panel or text box??

    Hi, I've got a page that is used for printing purposes and has been formatted in a specific way. The page, on load, uses a datareader to get data from a back end db and populates the page. I've used labels and panels to account for the fact that the data will be of variable sizes. It all works...
  3. JulesBos

    Increment value in datagrid column programatically

    Hi I have a datagrid that is populated with a dataset. There is an extra template column that the datagrid has that I would like to populate programatically, but I'm not sure how to go about doing this. Here's my current code: 'this sub populates the data grid Connection.Open()...
  4. JulesBos

    Programmatically changing a panel's text

    Hi I'm creating a webpage using panels so that the height of each section of the page is dynamic. Each panel needs different text depending on the user/circumstances. Is there a way of setting panel text programmatically? Panels do not appear to have a text property, but you can type text...
  5. JulesBos

    Change standard printing headers/footers

    Hi I've got a webpage developed in .NET, which I want users to be able to print. I've got the formatting all correct and it looks fine printed with ONE major drawback. When you send a webpage to a printer, by default the page prints with the page name & page number(s) in the header and link...
  6. JulesBos

    Page layout looks strange

    Hi, I've got a webpage developed in Visual Studio designer. It's a copy of another page, modified slightly. The original page formatting is fine. However the copied page, which consists of multiple panels and hundreds of labels, looks fine until half way down when the formatting goes very...
  7. JulesBos

    Very strange page formatting problem

    Hi all, I've got a big and complex webpage with hundreds of labels populated by a datareader, all held in multiple panels. All the data population works fine but, half way down the page, the formatting goes very strange and it doesn't look anything like it does in design mode. Background...
  8. JulesBos

    Redirect users to another page in another window

    Hi, I've got a button on a webform that redirects users to another page dependant on some variable values. However I don't want to redirect, I want to open the page in a new browser window. How is this possible? Here's my code: Private Sub PrintBtn_Click(ByVal sender As System.Object, ByVal...
  9. JulesBos

    Programmatically selecting values in a list box

    Hi, I've got a list box on a web form which, when loaded, uses data from a text field in a database to determine which values should be selected. When the user presses save, the selections from the list box should be resaved to the text field. This works fine if the user manually selects items...
  10. JulesBos

    Formatting data in a datagrid template column - how?

    Hi all I've converted a datagrid column to a template column, but I'm not sure how to write the html (I assume it's an IIF statment but not sure) to do the following: If the value is 1 then display Jan, if the value is 2 then display Feb, if the value is 3 then display Mar, etc up to 12 and...
  11. JulesBos

    Datareader returning null value incorrectly

    All, I wonder if you can help me, I have the following code that is returning unexpected results and I have no idea why: Dim searchYear As String If InStr(3, wholeYear) = "0" Then searchYear = Right(wholeYear, 1) Else searchYear = Right(wholeYear, 2) End If...
  12. JulesBos

    Autopostback problem with long webpage

    Hi I wonder if anyone can give me some advice. I have a very long webpage (lots of entry fields on it). It has some fields that require autopostback to be set to true (e.g. some radio buttons and drop down lists), however this is causing me a problem. Some of these fields are quite a long way...
  13. JulesBos

    OLEDB DataAdapter configuration failing - table with multiple columns

    Hi all Is there a maximum number of columns for an OLEDB dataadapter to handle? I'm trying to configure a dataadapter to generate select, insert, delete and update commands for an Access table with over 100 columns. I'm going to customise the SQL later because I won't use all 100 columns at the...
  14. JulesBos

    Extracting text from request.querystring that contains ampersand

    I originally posted this: http://www.tek-tips.com/viewthread.cfm?qid=1368058&page=1 and have discovered that my problem is not my SQL, the problem is that I am trying to extract a string from my page's querystring that contains an ampersand, and everything after the ampersand is ignored. I...
  15. JulesBos

    Need to replace & in SQL query string

    Hi, I've got an SQL query string that works fine getting info from a back end Access database from an ASP.Net page. However I've found one of the query fields could contain illegal characters. I've managed to work out how to replace the ' character, but not the & character. What should I do...
  16. JulesBos

    Excel spreadsheet in browser instead of saving to hard drive - how?

    I have some code that dumps a datagrid into an excel spreadsheet and saves it to a C drive. Whilst testing locally this worked fine because I was on my own machine and it saved locally. I've just tested on our intranet server and didn't realise that it would save on the intranet C drive - what I...
  17. JulesBos

    Data type mismatch criteria in Access db date field

    Hi all, can't work this one out.... I'm updating an Access table from a web form. I've got 2 date fields, one updates, the other creates a data type mismatch criteria error. I've run the SQL directly in Access and it works fine. I must have made a stupid error somewhere but I can't for the life...
  18. JulesBos

    Problems exporting to Word/Excel using ASP.Net

    Hi all, I am having problems with exporting a datagrid to Word and Excel. Firstly, I need to do the export as the data needs to be reformatted by users and printed (unless someone can give me an easier way of printing a datagrid, as I haven't found one yet). I don't mind whether it goes to...

Part and Inventory Search

Back
Top