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

    windowsauthentication asp .net 2.0

    thanks, Phil, that's good info. However, what is the difference between using server.transfer and response.redirect? Is one better than the other?
  2. newbieAl

    windowsauthentication asp .net 2.0

    what I am asking is, if I need more than one location do I do this like shown above?
  3. newbieAl

    windowsauthentication asp .net 2.0

    so just add as follows? <location path="~\default.aspx> <location path="~\APage.aspx>
  4. newbieAl

    windowsauthentication asp .net 2.0

    I have the following in place. Is this sufficient code for windows authentication and AD roles? Is the code in the right event (page_load) or should it be somewhere else? Right now I get the statement on the top of the screen, you do not have access, and the default page loads. I'm not in the...
  5. newbieAl

    update not working on gridview

    I've resolved the issue. I've removed the page_load, dropdownlist logic and added a selectcommand under the sqldatasource, to do the filtering there. It works now.
  6. newbieAl

    update not working on gridview

    Within the SQLDATASOURCE (updatecommand) of the aspx page
  7. newbieAl

    update not working on gridview

    Here is my Gridview code. In addition to gridview I have 2 dropdownlists and the filtering logic is on the page_load event one the code behind (VB). <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" BackColor="White"...
  8. newbieAl

    update not working on gridview

    When I hard code the values into the updatecommand then the gridview gets updated, but if I just have the parameters the gridview does not get updated. What could the issue be? This updates the grid: UpdateCommand="Update atable set [afield]='test', [bfield]='test' where [id]=@id" This...
  9. newbieAl

    filtering gridview not working

    Here is my sqldatasource info (I noticed it didn't post properly the first time): SelectCommand="SELECT * FROM [datatable] WHERE ([afield] = @afield) OR ([bfield] = @bfield) "> SelectParameters ControlParameter ControlID="DropDownList1" Name="afield" PropertyName="SelectedValue"...
  10. newbieAl

    filtering gridview not working

    Thank you, you are correct and that is my plan to move to sp's however what I am encountering is a filtering issue and would need assistance with that.
  11. newbieAl

    filtering gridview not working

    ...</asp:DropDownList> Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If DropDownList1.SelectedIndex.Equals(0) Then datatable.SelectCommand = ("SELECT * FROM [table]") GridView1.DataBind() End If End Sub
  12. newbieAl

    filtering gridview not working

    ...drop down lists to use as a filter for a gridview. This is what the select command in the gridview's datasource looks like: SelectCommand="SELECT * FROM [datatable] WHERE ([afield] = @afield) OR ([bfield] = @bfield) "> <selectparameters> Type="String" /> Type="String" />...
  13. newbieAl

    dropdown list issue

    It worked once I put the code under page load.
  14. newbieAl

    dropdown list issue

    ...e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged If DropDownList1.SelectedIndex.Equals(0) Then tabledata.SelectCommand = ("SELECT * FROM [table]") gridview1.DataBind() End If End Sub Just to clarify, I want all data to be shown in the gridview the first time the user loads...
  15. newbieAl

    dropdown list issue

    ...Select an item A B Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged If DropDownList1.SelectedIndex.Equals(0) Then tabledata.SelectCommand = ("SELECT * FROM [table]") End If End Sub
  16. newbieAl

    Override ChangePassword? ASP .NET 2.0

    Thanks for your help. This is also a good solution to my problem: http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.changepassword.changingpassword(VS.80).aspx
  17. newbieAl

    Override ChangePassword? ASP .NET 2.0

    I want to change functionality. How do I hook into the ValidatingPassword event? (I'm using C#) Thanks.
  18. newbieAl

    Override ChangePassword? ASP .NET 2.0

    I am using the ChangePassword Control and would like to know if I can override the ChangePassword class/method. I have my own logic in C# that I would like to use when the user clicks the Change Password button of this control .
  19. newbieAl

    not-null-field issue

    how do I print out the query?
  20. newbieAl

    not-null-field issue

    I did check it and in my code the variable is defined as string and I am passing a string value.

Part and Inventory Search

Back
Top