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: GavW
  • Content: Threads
  • 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

    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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. GavW

    Assigning Data to Variable ASP.NET 2.0

    Hey all! i was wondering if somebody could help me with this problem. In .NET 1.1 i used the following syntax to load data into a variable: foreach (DataRow dr in dataset.Tables["tbl"].Rows) { string name = Convert.ToString(dr["Name"]); } This will not work however with my .NET 2.0...
  10. GavW

    SQL Server 2005 Express on the Internet

    Hey all! I am hoping that somebody will be able to help me getting my database working over the Internet. I am using VS 2005 and SQL Server 2005 Express Edition and have my database set up within a web site project in VS under the App_Data folder. Everything runs smoothly when running the...
  11. GavW

    Login Controls

    Hey All! I have recently upgraded to Visual Studio 2005 and would like to incorporate the Login Control features provided into my websites. From what I have read a database is generated automatically with the tables that are needed to use this function. However I would like to use an existing...
  12. GavW

    GridView Layout Problem

    Hey all! I would like to display multiple records on a single GridView row. The standard layout looks like the following: Record1 Record2 Record3 Record4 However I would like my GridView to display like: Record1 Record2 Record3 Record4 What do I need to change in order to acheive...
  13. GavW

    Database connection within a class file (VS2005)

    Hey all! I have recently upgraded to Visual Studio 2005 from the 2003 version and have come across a problem with my class files. In VS 2003 the class files included a visual interface where database connections, datasets, commands etc. could be dropped into. VS 2005 does not offer this visual...
  14. GavW

    Centre Align using Absolute Positioning

    Hey all! I was wondering if it was possible to centre align a complete web page when working using absolute positioning within VS 2005 (formerly GridLayout in VS 2003) All that I require is that the content of the page appears in the centre of the web browser at all resolutions. Any...
  15. GavW

    Edit Column within a DataGrid

    Hey guys. I need some help with a problem that i am experiencing trying to add an edit column to my datagrid dynamically. The column is displaying fine i just cannot get the functionality to work with a dataset being consumed from a web service. I have this functionality working when i have a...
  16. GavW

    Adding and Removing Edit / Delete Columns to a DataGrid on the fly

    Hey all! I am trying to establish an administration style feature to my datagrid by providing an option to "switch on" an edit and delete column. I currently have the following code: private void btnAdminOn_Click(object sender, System.Web.UI.ImageClickEventArgs e) { btnAdminOff.Visible =...
  17. GavW

    MultipleObjects in Datagrid

    Hey all! I would like to include 2 separate database fields within the same cell of a datagrid. At the moment i successfully including a single field using the following code: BoundColumn topics = new BoundColumn(); topics.DataField = "Topics"; topics.DataFormatString = "{0}"...
  18. GavW

    TemplateColumn and ItemTemplate

    Hey all! I was wondering if somebody could help me get my head around the syntax that i need to use for the templatecolumn within a datagrid. All of the code that i have come across while researching has been the code required for the "HTML" view rather than the codebehind where i would like...
  19. GavW

    Multiple Data Text Fields in DataGrid

    Hey All! I am creating a web forum in C# and have come across a problem whereby i am unable to store two field values in the same cell of a datagrid. An example of one of the columns in my datagrid looks like the following: BoundColumn user = new BoundColumn(); user.DataField = "User"...
  20. GavW

    Checking for Whitespace

    Hey all. I would like to know how to write form validation which will not allow whitespace to be included in a text box and return an error if the user attempts to submit the form whilst there is a space in the text box. I am pretty new to javascript and cant seem to find sample code that will...

Part and Inventory Search

Back
Top