Jump to content
Xtreme .Net Talk

Robby

Moderators
  • Posts

    3848
  • Joined

  • Last visited

Everything posted by Robby

  1. Cool, I hadn't noticed the post cout. It took us 3 years.
  2. It seems I didn't explain myself very well, although you're right in that I didn't read the entire article, the point I was trying to make was that using the legacy functions is expensive not referencing the libraries.
  3. You all made some good points but one thing that may have been missed: Using some of those legacy functions may impede performance not weather or not the Microsoft.VisualBasic is included in your assembly.
  4. Setr the CommandType to Stored Proc, and the SP name in CommandText. As long as you have a resultset coming back from the stored proc it will fill the dataset
  5. I didn't look at your code but you can try ... Image.Width = Unit.Pixel(100)
  6. Use the OnDayRender as shown in this sample... http://aspnet.4guysfromrolla.com/articles/041603-1.aspx
  7. moongodess, are refering to the info you put into Assembly.info file?
  8. I don't understand why you need this to be 'permanent' ???
  9. What language is it in?
  10. That's exactly what HTMLEncode does.
  11. Ot like Ingis stated; surround the string in quotes. :)
  12. Replace all spaces with %20
  13. JD, Of course, checking for Nothing should always be standard practice.
  14. JD, I really need to disagree with this statement... "Who's going to code that way every time you need to do a substring? No one." In the real world you would never get the Length of a string (or any property) unless it has already been asigned a value. Regardless of the property I need from str I will always check its' length first... If str.Length > 0 then
  15. You need to re-bind the data after setting the rowfilter.
  16. Afraits, I'm sure no one wanted to gang up on you nor to chastise you but merely to point out what not to do. Sometimes in answering these posts we don't always see the bigger picture (ie. why does the person even want to do this). I've certainly been there with my foolish answers. :)
  17. Also, while you're adding the item to your toolbox make sure that you point to the project bin of the composite control as apposed to one in a different location. (So that changes will be reflected in the project using it).
  18. When you create all the controls at runtime you also need to recreate the event handlers on each postback.
  19. Nicely said mskeel. Afraits, that peice of code looks like a recipe for disaster.
  20. Your method for finding the control is fine but the problem is in the way that you're creating the controls; You are probably adding an ItemTemplate but not an EditItemTemplate, so for each ItemTemplate you add you need to also add an EditItemTemplate, (In this case as a TextBox control).
  21. Only if it is in it's own assembly (project)
  22. That's a good point, we''ll look into it. Thanks.
  23. Why are you using ADO and not ADP.NET?
  24. My appologies, I just realized you're using WinForms,
×
×
  • Create New...