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 Mike Lewis 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: GavW
  • Order by date
  1. GavW

    Blank screen on startup

    Hey all I am having a problem booting up Windows. After the XP loading page (just before the login screen) the monitor flickers slightly and I am being presented with a blank screen. I was getting the blue screen prior to this. I would like to know: a) does anybody have any ideas what the...
  2. GavW

    Searching a URL

    hmmmm which part of my code needs to go into that statement? Would that method mean echoing the form out? forget the depth field actually I was just trying something.
  3. GavW

    Searching a URL

    Hey all! Was wondering if anybody could help me with this problem. I am attempting to search a URL for specific criteria and display the results of the search on the same page. I have two files which I am working with: Index.php and WebSearch.inc.php class. Index.php consists of the following...
  4. GavW

    Removing an Image from Server

    File.Delete("/images/photos/file.jpg"); I will replace the string with a variable as soon as I can get it working.
  5. GavW

    Removing an Image from Server

    Thanks for the help. I am having a bit of trouble with the File.Delete method however. I am attempting to delete a file situated inside of the "/images/photos/" directory from the root directory but I am receiving this error: "Could not find a part of the path 'c:\Program Files\Microsoft...
  6. GavW

    Removing an Image from Server

    Hey all! Was wondering if anybody could help me with this problem. I have managed to implement my image upload feature, offering a user the ability to replace their profile image. The only problem is that all of the old images still remain on the server and worse still if a user wishes to...
  7. GavW

    HTML Editor for a Forum

    Hey all! I need a bit of advice regarding a HTML editor for posting a message in a forum. Are there any simple to implement programs which I could use to provide this functionality or would it be worthwhile to code one myself? In the latter case are there any tutorials that anybody could...
  8. GavW

    Login Controls and an SQL Server 2005 Database

    Hey all! I am currently in the process of converting all of the membership features on my websites to incorporate the all new login controls in visual studio 2005. Setting this up results in the "ASPNETDB" SQL Express Database being created to store the information. However I would like the...
  9. GavW

    Connection "has already been added"

    cheers mate! the clear tag works wonders!
  10. GavW

    Connection "has already been added"

    Hey all! I have just run into this problem. My website has just decided to return the error "The entry 'Connection' has already been added. My connection string is located within my Web.Config file: <add name="Connection" connectionString="Data Source=source;Initial Catalog=database;User...
  11. GavW

    Limiting Characters in Data String

    Sure thing. I am using a repeater to output the information. To save confusion I will edit the code down a bit. The line where the description is output I have separated so it is easier to see. I have tried 'MyDescription' in the place of 'Description'. <asp:Repeater ID="Repeater1"...
  12. GavW

    Limiting Characters in Data String

    well the data is not outputting how I would like it on the page (This is a really rea...) Instead I am receiving no data at all, just an empty string. When telling the application to output 'Description' I receive the entire string and when telling the application to output 'MyDescription' I...
  13. GavW

    Limiting Characters in Data String

    just tried that still no luck. It is recognising the fact that I have a new column "MyDescription" but instead of returning the first 40 characters it isn't returning anything, just a blank string.
  14. GavW

    Limiting Characters in Data String

    Hey All! I was wondering what the best way to acheive this result would be. I have a 'Description' field within my database table that I would like to shorten on one of the pages, like so: This is a really really long description would become: This is a really rea... I have tried using the...
  15. GavW

    Editing Server Currency

    Hey guys! I have recently run into a problem with my default server settings. I am developing a transaction based website and am therefore displaying prices (using the 'money' data type in my sql database). When running the application on localhost all prices are displayed in British Pound...
  16. GavW

    Assigning Data to Variable ASP.NET 2.0

    thanks a lot mate I have managed to edit the code to get it to perform what I needed.
  17. GavW

    Assigning Data to Variable ASP.NET 2.0

    ok so I have edited the two lines where I had included "ds" so that they now look like this: DataSet ds1 = adapter.GetProductByProductID(Convert.ToInt32(productid)); foreach (DataRow dr in ds1.Tables["tblProducts"].Rows) This returns the error: Cannot implicitly convert type...
  18. GavW

    Assigning Data to Variable ASP.NET 2.0

    Alright I have only two relevant items; the page I am trying to display the data on (products.aspx) and the ds1 Dataset (ds1.xsd) products.aspx codebehind looks like this: using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using...
  19. GavW

    Assigning Data to Variable ASP.NET 2.0

    tblProducts I have created in my Dataset (ds1.xsd) using VS 2005 which provides the nice interface for DataSets. The codebehind file that this code resides in has the line "using ds1TableAdapters;" The error is generated on the line that reads ds =...
  20. GavW

    Assigning Data to Variable ASP.NET 2.0

    well i tried doing this: string productid = Request.QueryString["ProductID"]; DataSet ds = new DataSet; tblProductsTableAdapter adapter = new tblProductsTableAdapter(); ds = adapter.GetProductByProductID(Convert.ToInt32(productid)); foreach (DataRow dr in ds.Tables["tblProducts"].Rows) {...

Part and Inventory Search

Back
Top