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!

Recent content by ac11nyc

  1. ac11nyc

    Accessing Values in a Created Datagrid

    Yes it does render and it has the correct information
  2. ac11nyc

    Accessing Values in a Created Datagrid

    jbenson, thanx but didnt work either. It is still telling me that "object refernce not set to an instance of an object." It just does not want to access the nested grid whatsoever. What am i doing wrong??
  3. ac11nyc

    Accessing Values in a Created Datagrid

    All my code is up top. Only thing i added was: Dim dgAccounts As DataGrid = CType(dgItem.FindControl("dgAccounts"), DataGrid) >>i = dgAccounts.Items.Count >>Wont allow this because i get back "Object reference not set to an instance of an object.
  4. ac11nyc

    Accessing Values in a Created Datagrid

    For some reason i cant access anything inside the nested datagrid. How can i access any info in the nested grid??
  5. ac11nyc

    Accessing Values in a Created Datagrid

    I had something like that earlier but as soon as it tries to access dgAccounts, it returns "Object reference not set to an instance of an object.
  6. ac11nyc

    Accessing Values in a Created Datagrid

    I have a datagrid created programtically(dgAccounts) inside another datagrid(dgHousehold). I have to step through dgB in order to get certain values but then i have to step through dgA in order to get some values from there also. this is the one i created programtically: Public Sub...
  7. ac11nyc

    DataReader Problem

    Dim SelectCMD As New SqlCommand("SELECT BreakpointStep, BreakpointValue, Rate_BP * .01 AS Rate FROM FEE_SCHEDULE_DEFAULT WHERE (AccountType = 1) AND (BreakpointStep > 0) AND (ScheduleId = '000009');" & _ "SELECT BreakpointStep,BreakpointValue, Rate_BP * .01 AS Rate FROM FEE_SCHEDULE_DEFAULT...
  8. ac11nyc

    Comparing 3 Values in the same column of a datagrid

    Ok so i have a datagrid that brings back a few Values. I give the user the option to insert a record anywhere inside the datagrid just as long as the Values are in a correct ascending order. How can i compare the value of the previous row with the value of the selected row as well as comparing...
  9. ac11nyc

    Not show drop downs for a certain row

    A) i have 2 drop downs and a text box in a grid B) drop down B doesnt get loaded until a choice from drop down A is selected. C) if that value is not selected from drop down A then i want drop down B to not even be visible but if the correct value is selected i need the drop down to be loaded...
  10. ac11nyc

    Timer

    I know how to launch a refresh event using a timer, the question is how do i launch a function from the code behind using a timer. I want to launch a save function every minute using a timer & i do not know how to pull this off.
  11. ac11nyc

    Timer

    Im trying to launch a save event every 60 seconds using a timer. I use to know how to do this but cant quite rememeber how i did it. does anyone know how to do this?? either using Javascript or code-behind will work. thanks
  12. ac11nyc

    Inserting a Null value for a date field

    Does anyone know how i can insert a null value for a date. My code looks like this: Dim dtEndDate As Date If txtEndDate.Text = String.Empty Then dtEndDate = DBNull.Value ^DOES NOT LIKE THIS ^ ^SAYS VALUE OF SYSTEM.DBNULL CANNOT BE CONVERTED TO DATE^ ^I MUST INSERT A NULL IF...
  13. ac11nyc

    Sort first but then its not grabbing the correct information for that

    Well this isnt a dataset where i can just say which column to sort by and send that to the database and it will come back corrrectly sorted. I have programatically created this dataset due to the fact that simple joins couldnt get all the information needed for the complete dataset.
  14. ac11nyc

    Sort first but then its not grabbing the correct information for that

    I have a datagrid that has a hyperlink in the 1st column that once clicked, it sends them to another page with the individuals SSN being sent over to get information for that page. The only problem is that when i sort the datagrid and then i click on an individuals name, it grabs the row from...
  15. ac11nyc

    Help with sorting

    thanks guys i found a solution

Part and Inventory Search

Back
Top