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: kizmar2
  • Order by date
  1. kizmar2

    DropDownLists & Scanners

    I have a problem that I'm stumped as to how to trouble shoot. I have a "scan.aspx" page with a dropdownlist that's populated at page load with a list of student ID's. The focus is also set to this object on page load. On selectedindexchange, I'm firing code that inserts a record into a history...
  2. kizmar2

    dataReader skips first record

    Ahhh... I was declaring it as: "Dim dataReader As System.Data.IDataReader" If I use "Dim dataReader As SqlDataReader" and "If dataReader.HasRows Then" it fixes my problem. Like I said, I'm a n00b. :P KizMar ------------ http://www.maximizetech.com
  3. kizmar2

    dataReader skips first record

    BTW "hasrows" is not a valid property of the datareader in VB.NET apparently. KizMar ------------ http://www.maximizetech.com
  4. kizmar2

    dataReader skips first record

    I'm a n00b... what object would you suggest binding to the gridview? KizMar ------------ http://www.maximizetech.com
  5. kizmar2

    dataReader skips first record

    I'm having an issue with a data reader skipping the first returned record. I've double checked the SQL statment and I know it is actually skipping the first record. I noticed that if I remove the "If dataReader.Read Then..." statement from around my data bind, it works, but then I can't set the...
  6. kizmar2

    GridView

    Yes... and I can't for the life of me find help on this. Everyone wants to use the gui. KizMar ------------ http://www.maximizetech.com
  7. kizmar2

    GridView

    Isn't there a way to do something like this: <asp:GridView ID="myGridView" DataSourceID="mySqlDataSource" runat="server" AutoGenerateColumns = "False" AllowPaging = "True" AllowSorting = "True" DataKeyNames = "au_id" CellPadding = "4" ForeColor = "#333333"...
  8. kizmar2

    .NET 2003 - .NET 2005 Conversion Issue

    When I did that I didn't see why it was firing it twice. I just figured it out though... with .NET 2003 I had to put "OnClick="btnUpdate_Click" in the button tag on the HTML side... evidently with .NET 2005 (ASP 2.0) you don't have to do that. When I removed the onclick event of the botton in...
  9. kizmar2

    .NET 2003 - .NET 2005 Conversion Issue

    By the way, it looks like it's firing all of the events like ..._Click and ...__SelectedIndexChanged twice. I have no clue why it's doing this. KizMar ------------ http://www.maximizetech.com
  10. kizmar2

    .NET 2003 - .NET 2005 Conversion Issue

    I just converted a web app from .NET 2003 (ASP.NET / VB.NET) to .NET 2005. I'm noticing now that a couple events are firing twice now for no reason (they weren't doing this before I converted them). I have no clue why they're firing twice, there's no code that would call the sub again, but it...
  11. kizmar2

    The resource cannot be found.

    Nevermind... a second set of eyes fixed my issue. :) KizMar ------------ http://www.maximizetech.com
  12. kizmar2

    The resource cannot be found.

    I've been working on this ASP.NET (2003) app for a couple weeks now, adding pages and such... today when I added a new web form and tried to view it using my IIS web service, it's giving me the following error: The resource cannot be found. Description: HTTP 404. The resource you are looking...
  13. kizmar2

    Searching for columns...

    Thank you, these were very helpfull! KizMar ------------ http://www.maximizetech.com
  14. kizmar2

    Searching for columns...

    I need to search multiple (over 200) tables for information. At the moment I'm having to search through the tables until I find a certain column name, then I search that column for certain values. Is there a way to shorten this process, or at least figure out which tables have this column? I...
  15. kizmar2

    OnSelectedIndexChange....

    I figured it out... there's two <form>'s in the aspx file. *DOH!!* I will be modifying the VB based on some of the code you posted above though, thank you much!! KizMar ------------ http://www.maximizetech.com
  16. kizmar2

    OnSelectedIndexChange....

    ...either I don't fully understand what you're saying, or it doesn't work. KizMar ------------ http://www.maximizetech.com
  17. kizmar2

    OnSelectedIndexChange....

    Here's the full code behind: Imports System Imports System.Web.UI Imports System.Web.UI.WebControls Imports System.Data.SqlClient Public Class serveMeal Inherits System.Web.UI.Page #Region " Web Form Designer Generated Code " 'This call is required by the Web Form Designer...
  18. kizmar2

    OnSelectedIndexChange....

    Well it's trying to do something... I'm getting "Error: '__EVENTTARGET' is null or not an object". This only happens when I'm using the "AutoPostBack" option. If I'm not using autopostback, it doesn't appear to do anything. Would IsPostBack effect this issue at all, or should I not even have to...
  19. kizmar2

    OnSelectedIndexChange....

    .NET really makes me feel stupid. I'm trying to make a simple form with one dropdown box, populated but data from a SQL server database. The drop down is populating fine, but the OnSelectedIndexChanged event isn't working the way I would think it should. Here's my aspx.vb: <form...
  20. kizmar2

    .NET Reformatting HTML

    This is driving me INSANE!!! I can't get .NET 2003 to stop re-formatting my HTML when I either view it in design view or run the project. It keeps re-tabbing everything and there's no rhyme or reason to it. I've gone through all the options and don't see anything else to stop it from changing...

Part and Inventory Search

Back
Top