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 Chris Miller 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: *

  1. brd24gor

    Page tranfer using button

    I've already tried putting the onClick in the HTML and I was getting an error that said it couldn't find transferButton_Click. I'll try changing the InitializeComponent() method to see if that works. Thanks for the tips! --B "Life is too important to be taken seriously" --Albert Einstein
  2. brd24gor

    Page tranfer using button

    Here is the event: public void transferButton_Click(object sender, System.EventArgs e) { Server.Transfer(adminMenu); } I've tried breakpoints on the public and Server lines and neither one gets hit. I've also double-checked that the event is properly attached to the button...
  3. brd24gor

    Page tranfer using button

    Sorry for sounding a little ignorant, but I'm relatively new at this. How would I find out if the event is firing other than seeing if the event code is executing? "Life is too important to be taken seriously" --Albert Einstein
  4. brd24gor

    Page tranfer using button

    Nope, nothing inside the event fires. I've put a breakpoint in there that doesn't get hit. The Server.Transfer line is the only code inside the event. "Life is too important to be taken seriously" --Albert Einstein
  5. brd24gor

    Page tranfer using button

    I have an ASP button that I want to perform a Server.Transfer when clicked. For some reason, when the button is clicked, the _Click event isn't fired and the page just performs a postback. I've that my _Click event is properly attached to be button, so I know the binding isn'the problem. Any...
  6. brd24gor

    Startup script with Windows XP

    I am trying to execute a startup script using Group Policy. The script runs for a Windows 2000 machine, but not XP. The script is a .bat file that has a CACLS command. Any ideas why this would work for one platform, but not another? --B "Life is too important to be taken seriously" --Albert...
  7. brd24gor

    Crystal Reports 9 and C#

    Excellent. At this point I'm looking for any help I can get! I'll give this a whirl tomorrow and I'll let you know. Thanks again! --Brad "Life is too important to be taken seriously" --Albert Einstein
  8. brd24gor

    Crystal Reports 9 and C#

    Bump. This can't be too hard. The Business Objects support site doesn't have anything to help me out. All I need is a way to put a report viewer control in a Windows form WITHOUT Crystal Reports for .NET. Thanks, Brad "Life is too important to be taken seriously" --Albert Einstein
  9. brd24gor

    Dropdown box new items

    While this may not be the best solution, it is a solution none the less. Whenever you load the page with the combobox, I would re-query the database so you have the most current values for the combobox. Something like: private void PopulateCombo() { string sql = "SELECT DISTINCT...
  10. brd24gor

    Calling command button click event

    Christiaan has the right idea. command1.PerformClick() will call the click event. --Brad "Life is too important to be taken seriously" --Albert Einstein
  11. brd24gor

    Crystal Reports 9 and C#

    I am starting to look at deploying reports using Crystal in our C# ASP applications. We have a stand-alone version of C# so we don't have Crystal Reports for .NET. We do have a full version of CR9. What do I need to do to be able to use CR9 in my applications? When I go to add a reference...
  12. brd24gor

    Connection, parameter management

    I always just use the same reader and command and change the .CommandText and other parameters on those. I have yet to run into a timeout, but I have never done more than three in a row. "Life is too important to be taken seriously" --Albert Einstein
  13. brd24gor

    *simple* textbox databinding not working...

    Are you sure your query is returning anything? You would have problems binding if you had an empty DataSet. --Brad "Life is too important to be taken seriously" --Albert Einstein
  14. brd24gor

    Connection, parameter management

    That's because you initialized the aLib variable in the Form1_Load event and it goes out of scope when the code in that event has finished executing. What you need to do is declare a private global variable called aLib and then set it up in the Form1_Load event like you are doing now. using...
  15. brd24gor

    Connection, parameter management

    There is a little shortcut you can do to determine what your connection string will be. Create a file on your Desktop with a .udl file extension. If you double-click on it, you will get a window that will help you setup your connection string. 1. Provider tab - Pick the type of database you...
  16. brd24gor

    Connection, parameter management

    Most of my experience is with Access, so I'm not sure I can be of much help for SQL Server. Are you doing any work with the returned results from a query before executing the next one? If so, you may want to temporarily store all of your query results and do all of the work after they are done...
  17. brd24gor

    Sharing a SQL connection throughout app

    I just put this in a seperate .cs file so I could easily port it to other applications. The connection should stay open unless you explicitly close it. Closing a DataReader will not close your connection (in this case, only the DBLibrary.Disconnect() method will do that). If you stick it in...
  18. brd24gor

    How many wireless connections to one access point?

    It should be able to handle 11 connections. Just be aware of the fact that if everyone is on at the same time that your bandwidth is split 11 ways so you will probably experience some slowdown. "Life is too important to be taken seriously" --Albert Einstein
  19. brd24gor

    installing c#

    Try uninstalling your .NET Framework and reinstalling it. It could possibly be a faulty download or install. "Life is too important to be taken seriously" --Albert Einstein
  20. brd24gor

    Sharing a SQL connection throughout app

    http://www.tek-tips.com/viewthread.cfm?qid=1130697&page=1 See my post here. Should help you out for what you want to do. --Brad "Life is too important to be taken seriously" --Albert Einstein

Part and Inventory Search

Back
Top