Jump to content
Xtreme .Net Talk

Robby

Moderators
  • Posts

    3848
  • Joined

  • Last visited

Everything posted by Robby

  1. SomeRoutine(myDatagrid) 'then in the class/mod... protected SomeRoutine(byref dg as datagrid) 'do stuff here end sub
  2. I'm still laughing at this... "He didnt like my idea about physically removing the key"
  3. http://www.xtremedotnettalk.com/showthread.php?threadid=79278
  4. No you don't have to.
  5. Put it in the page_load
  6. You can pass a reference of the control to your class/module.
  7. Are you talking about "ClientID" ? If so then .. dim s as string = Request.QueryString("ClientID")
  8. The DLL cannot retain values that you send to it, it is there to execute code not to save values as would a file. PlausiblyDamp suggestion would be viable.
  9. yup.
  10. The array is one way, but it order to that you will probably use a DataReader. Since you'll use a DataReader eitherway, then simply myDropdownItems.Add() while looping the DataReader and skip the databinding methid.
  11. http://www.crystaltech.com/compare.htm has some of the best service around and a fantastic control panel. The only thing they don't have is Crystal Reports, but then again not many hosts do.
  12. shahdan, what does this have to do with the question at hand?
  13. This is the most ridiculous thing I've ever heard. Instead you can trap the keypress events in your application to not allow Caps.
  14. Nightyhawk, what are you babbling about???
  15. Last week I installed the Google Bar at work, it blocks popups and remembers which site you clicked on Block or Allow. So far it seems to work well.
  16. DateDiff() expects a Date not a String, that's why you need to use Option Strict
  17. I didn't correct that line.... ALSO, at the top of all your code pages place these line of code... Option Explicit On Option Strict On Dim MyDate As Date MyDate = Now.AddDays(30) lblDaysLeft.Text = "Days Left Until Trial Expires: " & DateDiff(DateInterval.Day, Now.Today, MyDate)
  18. You need to execute the command object not the Closeconn Very important At the top of all your code pages place the following... Option Explicit On Option Strict On
  19. try something like this Dim MyString as string MyString = Now.AddDays(30).ToShortDateString daytrialends = MyString
  20. look here http://rustemsoft.com/vbbegin.htm
  21. It should be set in the @ Page directive
  22. Controls are passed by reference
  23. it should be something like this... .Width = units.pixel(25)
  24. try this... <%# myServerFunction(Container.DataItem("id")) %> then in your code-behind.. public function myServerFunction(byval xID as integer) as String If (one of my fields) = xID then return "Something" else return "SomethingElse" end if end function
  25. This sample Popup Calendar in a New Browser is the closest demo I can think of. It uses a popop window to display a calendar and then passes the date back to the parent window. You can use some the same technics for your app.
×
×
  • Create New...