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

    Master-Details

    Final Update! I decided to scrap the Access database and change it to a SQL database...and everything works! Thanks to all of you Caden
  2. Caden

    Master-Details

    Ahhh, alright, that makes sense. So now i'm trying to adjust it, i'm assuming using there is an access equivilent to "Sqldatareader"?
  3. Caden

    Master-Details

    Here's an Update on my progress, and i'm suck once again, but I think i'm real close... I took a bit of a different approach, grabbed my big ASP.NET unleashed book...and took this approach... <%@ Page Language="vb" Debug="true" %> <%@ import Namespace="System.Data" %> <%@ import...
  4. Caden

    Master-Details

    My ID field is an autonumbered field. I'm creating an access database through the Microsoft Web Matrix, and it seems to really really suck. This may be the first of many problems, but hey, right now, most of what I want is working and i'm new, so this is progress. I have the WHERE clause put...
  5. Caden

    Master-Details

    Problem with that is, it's too much too look at and try and fish out my answer from it...i'm running under the assumption i'm missing one or two small things to get this to work. I know it is passing the querystring across, but it isn't displaying the record...why not? Caden P.S. thanks for...
  6. Caden

    Master-Details

    Here is the HTML code of my Datagrid. I'll add the WHERE clause, but if you don't mind, toss up that working code of the Master-Details. That problem you were helping me out with earlier I fixed, i'm an idiot, and it was something tiny, really, very annoying. Thanks for the help so far. Caden...
  7. Caden

    Master-Details

    So, this is a bit of an update on an older post, but i've made progress and i'm stuck again. Here's an addition. So I found the master-details relationship, and currently, I have this... Click on the details button on the master page and this is the code on the details page... <%@ Page...
  8. Caden

    UpdatingRecords

    That's right out of my code...I get no errors and have the same problem. Initially my web matrix was messed, so I restarted it. But no luck. Sub entries_Update(sender as Object, e as DataGridCommandEventArgs) Dim iD as Integer = CType(e.Item.Cells(1).Text, Integer) Dim shortDesc as String...
  9. Caden

    UpdatingRecords

    Alright, I added it to my page like this... Function Update(ByVal iD As Integer, ByVal shortDesc As String, ByVal salaryRange As String, ByVal benefits As String, ByVal longDesc As String) As Integer Dim connectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0; Ole DB Services=-4...
  10. Caden

    UpdatingRecords

    nuttin changed. Keep in mind, the update function was created by the web matrix. The code should work. It worked before, it should work now.
  11. Caden

    UpdatingRecords

    I tried that...I put a label down pulling the ID of the record. So, when I hit update, it gave me the ID that it pulled and it pulled the right number. So I know it is pulling the values.
  12. Caden

    UpdatingRecords

    One small thing...I took out the ID check, and it updates now...but since there is no check it will make all fields exactly the same. I don't know if that helps, but it should
  13. Caden

    UpdatingRecords

    I'm bashing my head against the desk trying to figure out why this doesn't work. All of these idea's are great, anyone/everyone post your wacky idea's and i'll try it!
  14. Caden

    UpdatingRecords

    because they are declared "as textbox" it needs the .Text when I pass the variable.
  15. Caden

    UpdatingRecords

    Sub Page_Load(sender As Object, e As EventArgs) If Not Page.IsPostBack Then entries.Datasource=getjobs() entries.Databind() End If End Sub Got that in there already
  16. Caden

    UpdatingRecords

    Hi Tek-Tips I'm using the Microsoft Web Matrix to build this little app i'm doing. I have no idea why it isn't working, it was working before, I don't know what I did, and it isn't working now. So here we go. I'm trying to update records in a datagrid, nice and simple...here's the function...
  17. Caden

    Deleteing a Record and Passing a Record

    errr, i'm adding that to the hyperlink part of the Datagrid code, not the datagrid line...to be clear...
  18. Caden

    Deleteing a Record and Passing a Record

    Alright, I think it's coming together in my brain, let me talk outloud so I can know if i'm going right... so here we go... -----This here is my datagrid code--- <asp:DataGrid id="entries" runat="server" AutoGenerateColumns="False" OnPageIndexChanged="entries_Page" Width="602px" Height="158px"...
  19. Caden

    Deleteing a Record and Passing a Record

    Alright, so i'm lookin at this... <asp:TemplateColumn HeaderText="Select Site"> <ItemTemplate> <asp:HyperLink id=HyperLink1 runat="server" Text='<%# DataBinder.Eval(Container,DataItem.AWWCode")%>' NavigateUrl='<%# "ChemOT.aspx?AwwCode=" & DataBinder.Eval(Container...
  20. Caden

    Deleteing a Record and Passing a Record

    Alright, that's a good point that I didn't think about. I'll work on it, and see how I do. Thanks for the help Isadore.

Part and Inventory Search

Back
Top