Jump to content
Xtreme .Net Talk

Robby

Moderators
  • Posts

    3848
  • Joined

  • Last visited

Everything posted by Robby

  1. Are you using Response.Redirect() or Server.Transfer(), I would use the latter if you're staying within the same server.
  2. An easier way is to bind the data to the combo box, using the link I gave you above, you can assign DisplayMember (item shown to the user) and the ValueMember (item ID not shown to the user).
  3. Why the comma thing?
  4. I'm sorry but that solution won't fly if the date is in any other format, you neet to apply a format style to the column or format the column in your select statement.
  5. You still can with client controls but not server controls.
  6. Do you want to execute the code that lies within the PageLoad or do you want to open that page?
  7. Robby

    Printing

    http://www.xtremedotnettalk.com/showthread.php?t=84974&highlight=print
  8. These samples may be in Sql Server however they can all be applied to Access...http://samples.gotdotnet.com/QuickStart/winforms/default.aspx?url=/quickstart/winforms/doc/WinFormsData.aspx
  9. If it's a WinForm you can place a Application.DoEvents in the loop, but it depends on how and where your adding the items to the dt.
  10. Thank god we cannot.
  11. They do but not on everything.
  12. Is there a column named ID and is it of numeric data type?
  13. First your event should be Protected. Why should one page handle another page's events, there is no need for this. You should create a class to handle whatever is common to both pages.
  14. What happened exactly? I have installed 2002 more than a dozen times and 2003 a handfull, never had any trouble.
  15. You cannot mix server and client code, you need to do something like this... for ( int i=0;i<n;i++) { RadioButton rb = new RadioButton(); Page.Controls.add(rb) //or you can add the control to a Panel }
  16. I hoped that on C# 2003 they would've ironed some of this stuff out, but I geuss not. (Yet)
  17. Change the property .CausesValidation of the button to False. This will allow the page to post back even though the page is not valid.
  18. Some of these may give you a start http://www.google.com/search?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8&newwindow=1&q=%22sql+server%22+%22stored+procedure%22+tutorial&btnG=Search
  19. Why do you want to mess with the user's keyboard, maybe you have a valid reason.
  20. I don't find it buggy at all, it's primarily for the page to go back to the same area of the page on postback as it was before the postback. So if you have a grid 20 inches down and you click to go into edit mode you will see the grid on postback. It works just fine.
  21. As evaleah said, the code for something like this is much too long. http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=horizontal+menu+bar+asp.net
  22. George, that's not an option, he is already using the Sort method of the defaultview. Arch4ngel, he's already doing that. Auxcom, it doesn't matter if it's a grid or listview, did you bind after you sorted?
  23. Do a MessageBox() on whichever variable is holding the fileName and FilePath. Or Better still hard-code the value into your routine to make sure that is the problem (or not) ie... "C:\images\myPic.jpg"
  24. Do you bind the grid after you sort?
  25. You need the single quotes to surround your variables
×
×
  • Create New...