Search results for query: *

  1. S

    Dynamically Generating a Data-Bound Form from SQL View

    Sorry for the double post but what I'm trying to do is make it look like this: column#1 column#2 column#2 -------- -------- -------- c#1recordA c#2recordA c#3recordA c#1recordB c#2recordB c#3recordB c#1recordC c#2recordC c#3recordC . . . ...I'm not sure how...
  2. S

    Dynamically Generating a Data-Bound Form from SQL View

    So I have a Windows application form and on that form I'm trying to loop through the columns collection of a DataTable that I populated with data, and for each column, I want to create a label and text box. So below is what I came up with but it only outputs rows and not columns. How do I get...
  3. S

    How to auto-update field w/ dropdown selection

    I figured it out. I needed to wrap my Page_Load code in If Not IsPostBack Then .. code End if
  4. S

    How to auto-update field w/ dropdown selection

    I got the SelectedIndexChanged to fire but my Me.txtComp.Text won't update with the correct value. No matter if I change the dropdownlist to CFD my code is filling Me.txtComp.Text value with AFD always. Here's my code: PrivateSub Page_Load(ByVal sender As System.Object, ByVal e As...
  5. S

    How to auto-update field w/ dropdown selection

    So I have a dropdown box that I have filled with two values: AFD, CFD. All I'm trying to do is to get a text box (txtComp) to change its value to that of a dropdown list box (cmbCompany) selection. For some reason I cannot get the text box to reflect this data. I can't even get the text box...
  6. S

    show single result from query

    Thank you both for the help! Problem is fixed!
  7. S

    show single result from query

    Ok the below code seems ok to me but is not showing the right result. I have a text box called "txtTranNo" where the user will enter in a number. This number will then be used as a parameter for the sql statement that I have created and called "SQLStatement." When I run this query against the...
  8. S

    execute stored procedure with one inputted parameter.

    Wow that's awesome! Thanks! I'm used to using VBA for access forms where it would be me.xxx.value and figured it would be similar but I had no idea what it actually was. I appreciate your help.
  9. S

    execute stored procedure with one inputted parameter.

    I have a field where the user inputs a certain number. Then the user will click the button below the field to take the inputted number as a parameter and execute a stored procedure that uses the parameter as an input value. I already have the stored procedure working fine through SQL Server. I...
Back
Top