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 TouchToneTommy 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: Cenedra
  • Content: Threads
  • Order by date
  1. Cenedra

    need help retrieving textbox values in nested data grids

    I have a DataList with nested DataGrids in the item templates. The datagrids have text boxes where a user will enter a quantity of an item. I can compute these totals if I have one data grid, and I can reference it. So I have the code to find the control of type txtbox names such-and such...
  2. Cenedra

    Need help retrieving values input into a TemplateColumn TexBox

    Basically what I have is a datadrid I'm filling with accessories for a product that can be ordered. In a TemplateColumn, I've added a asp:TextBox. This is the box a user would enter the Quantity of the accessory they want to order (if they want). How do I loop through each DataRow in the...
  3. Cenedra

    Need help with a user defined function

    How do you return a scalar value derived from a select statment within a user defined function?
  4. Cenedra

    Need help selecting from a row in a table and inserting a new row

    Hi everyone, Want I need to do is basically copy a row in my table and insert it into the same table, giving it a different ID. here is my SQL statement insert into events (Title, [Description], Location, CreationDate, LastSavedDate, StartDate, FinishDate, TimeId, LabelID, IsAllDay, UserID...
  5. Cenedra

    Help Using LIKE with a Variable

    here is my stored proc: CREATE PROCEDURE sp_SearchByEmail ( @Email varchar(100)= null ) AS SELECT username, users.id as UserID, displayname from UserProfiles join users on users.id = userprofiles.id where email like '%@Email%' GO The liek part isn't working like I want it to.... if...
  6. Cenedra

    How do I capture the event of the web browser is closed?

    I want to do some processing on my site if they close out of the browser; how can I capture this? Thanks for your help in advance
  7. Cenedra

    Need help displaying data

    Here is my scenario. I have a users that have profile, and they fill out a series of questions about themselves. All the questions aren't required. When I just display them, I only want to display the items the user has filled out. I have this logic down. However, when I display my data...
  8. Cenedra

    Having trouble getting a Session variable's value

    Hi everyone, I have an .aspx file that is used by an external program to perform a function. There is no code behind, all code and HTML is contained in one file. the structure is like this: <% string strBlah = Request.Querystring("jdkfsd"); string userid =...
  9. Cenedra

    Need help with Stored Procedure Syntax

    I've got this stored procedure, and I know it is wrong, but am not sure how to make it right. CREATE PROCEDURE [dbo].[sp_CreateNewConnection] ( @UserID int = NULL, @FriendID varchar = NULL ) AS INSERT INTO CONNECTIONS (userid, friendid)...
  10. Cenedra

    Database list empty - but the databases are there

    Hi everyone, I was working on a remote SQL Server in Enterprise Manager and my internet connection died. So I closed EM and Query Analzyer and rebooted my computer after the internet connection was fixed. Now, when I expand the Registration for the remote server, and I expand the list of...
  11. Cenedra

    Converting data in one field from integer to decimal

    Hi all, I converted some legacy data into a SQL Server database. When I inserted data, I thought I was getting whole numbers. Unfortunately, that wasn't the case, so I inserted whole numbers into this particular field. For example, in the legacy data, I had the value 200, and it is now in my...
  12. Cenedra

    Need help on query syntax

    I'm updating a field across two databases. I know I"m close, but can you please tell me where my syntax is wrong here? update Q_UCDavis_1009.dbo.Clients set Q_UCDavis_1009.dbo.Clients.Race = Q_UCDavis_RACES.dbo.Clients.Race where Q_UCDavis_1009.dbo.Clients.SSN =...
  13. Cenedra

    Help importing from Excel

    I've been asked to import an Excel file into a Microsoft Access database. Some of the fields in the Excel file are formatted as numbers. Without changing any formats in the Excel file, how would I import all the data as text fields into Access? Thanks for your help! Cen
  14. Cenedra

    VS 2005 Beta 1 web.config error

    Hi everyone, I've got an application that I devloped locally. When I run it, it compiles and excutes perfectly. When I place the page on my intranet site, I can not view the site. I get an error in my web.config file on the following line: <configuration...
  15. Cenedra

    Selecting Data from first database and Updating in 2nd database

    Hello everyone, I looked through the FAQs but couldn't find anything on this. What I have is a client table in one database, and I need to select ID, RACE from that table in database 1 and update the same client's race in database #2. What is the syntax for doing this? Thanks a ton Cen
  16. Cenedra

    How to use CSS in custom controls

    Hi, I'm making a customer control navigation bar. How do I link up to my CSS file for this control? This is my code: <%@ Control Language="vb" AutoEventWireup="false" Codebehind="Title.ascx.vb" Inherits="CHMA.Title" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>...
  17. Cenedra

    Windows 2k wont recognize my drive - please help!

    Hi everyone, I have two drives - an 80 gig and a 200 gig. I installed a fresh copy of WIndows 2k on my first drive. Before I installed this fresh copy, my 200 gig was partitioned up into three partitions and working just fine. I have a Maxtor PCI card because of the large size of the drive...
  18. Cenedra

    Looping and ADO.Net Question

    Here is the code I have: DataRow SavedGameRow = tbl.Rows[0]; for (x = 1; x < 10; x++) { switch (SavedGameRow[x]) { case "X": pictureBox1.Image = "playerOne.Img"; break; case "O": pictureBox1.Image = "playerTwo.Img"; break; case "E": //Some code...
  19. Cenedra

    Need help performing an update after a select

    Hi, I need to write a stored procedure that looks at a phone number field in my database and if the phone number starts with (513) [5-9](6 more digits), I need to update the area code to be (999)-original 7 digits. For example: i have a phone number that is (513)566-7788, I need to update it...
  20. Cenedra

    My dataAdapter.fill(dataset) command isn't working for my web applicat

    Can anyone point me in the right direction so I can fix this problem? Thanks! Therese

Part and Inventory Search

Back
Top