Jump to content
Xtreme .Net Talk

Robby

Moderators
  • Posts

    3848
  • Joined

  • Last visited

Everything posted by Robby

  1. Short of counting the length of the text I don't think you can get the line count because - as you stated - the contents are wraped and there are no line breaks. The best way is to not set height of the Label, set only the width. This way the height will grow and the width will not.
  2. Here's very simple explanation of generics... http://dotnet.org.za/eduard/archive/2004/08/19/3441.aspx
  3. Hmmmmm, Andy; that is not correct "the big dog" will not become "the%20big%20dog"
  4. I use XSLT files to transform a Reporting Services report to Excel format, I'm sure you can do the same thing using a dataset or xml/xsd file. The beauty of XSLT is that you can give a great look and feel to the sheets as well as format the data types as needed.
  5. 3 years ago Matrox (some of their high-end video cards) re-wrote their drivers and UI in .NET.
  6. When declaring the control are you using the keyword 'new' ?
  7. The tracing can be enabled for local only. You can load test your app with ACT (Application Center Tester), you'll find it in Program Files | VS Ent Features.
  8. You can also enable tracing, in the web.config file set the enable tracing stuff to true. This will give you an idea on the size of some of your objects and such.
  9. You can always use HTMLEncode, it will convert this... <img> To this... <img>
  10. My prefered way is to setup a DAL (Data Access Layer). It should be as generic as you can make it, this means no SQL statements, table names, parameters or even connection strings. Create the DAL as an abstract (MustInherit) class and have your BLL (Business Layer) class inherit it. This BLL is where you would have the project-specific SQL statements etc. You can use this DAL in any project, C#, VB.NET, WinForm and even ASP.NET.
  11. Yes, use System.Text.RegularExpressions.Regex
  12. When you say "IIS keeps shutting itself off", do you mean the site is in 'Stop' mode? And what does your code look like?
  13. You need to analyze the code and check what kind of objects are held in the session, perhaps some optimizing is needed.
  14. As thenerd said, NJ is the place to live, you can take a 30 minute train into the city. The job market in NYC for .NET is actually very good right now but they all want 5 to 7 years experience. The rates are between $50 to $80 per hour or 70k to 120k per year, but as I said these are for senior level positions. btw, you cannot live in NYC alone if your earn less than 100k/yr.
  15. You can do something like this... SELECT E.EmployeeID, Sum(DateDiff("hh",T.TimeIn,T.TimeOut)) AS Hours FROM Employee E INNER JOIN TimeTable T ON E.EmployeeID = T.EmployeeID WHERE T.SomeDateColumn Between '1/1/1990' And '1/1/2005' GROUP BY E.EmployeeID
  16. The exe you call will launch on the server not the client, is that what you're looking for?
  17. I installed it on an IBM laptop with no side-effects.
  18. You can set it using javascript
  19. try this... strSQL = "Update SurveyResults SET CategoryTotal = CategoryTotal +1 " & _ "WHERE Category = '" & strVal1 & "'"
  20. To create a button at runtime: Dim btn as button for x as integer = 0 to 5 btn = new buton btn.text = "Hello " & x panel1.controls.add(btn) next
  21. The Team Edition Beta 2 has been out since 04-2005, I suspect it'll be released around 12-2005.
  22. sorry, I didn't notice "CreateGrid()" in DownloadCSVFile....
  23. You did not do the my first step "You need to re-load the grid in the event handler of the "single Button at the bottom of the grid" , the only thing you're doing in the submit button is calling DownloadCSVFile();
  24. You can do this using JavaScript; on the submit button create a validation script (using JS), something like the OnClick event. btw, you should also validate on the server-side code as well. If you need help with the JS code let me/us know.
  25. The best thing to do in your case is use an XML file instead of a txt/ini file. When you load the XML you can then iterate the collection similiar to your current code.
×
×
  • Create New...