Jump to content
Xtreme .Net Talk

Robby

Moderators
  • Posts

    3848
  • Joined

  • Last visited

Everything posted by Robby

  1. Is bindgrid() also called from the form load event and is it in a Not IsPostBack condition?
  2. If thisvalue is of string type in the table then you'refirst one is correct. If the field is numeric then sQuery = "select myfield from mytable where thisvalue= " & sMyVariable
  3. You need to loop this line so as to move to the next line... path = m_streamReader.ReadLine();
  4. You place a DateDiff() in your loop, this will take into account the month change.
  5. Robby

    WebRequest

    This task can be best handled by a Web Service.
  6. Why can't you make it a single statement?
  7. Did you add the correct reference to the Word object in the solution explorer (References)
  8. Why not just issue an ExecuteNonQuery command? The problem with OleDbDataAdapter1.DeleteCommand.CommandText = "Delete..." is that at the time of assigning this command the variable intmain may not have the expected value. Folow Volte's example but do so at the same place that you assign the DeleteCommand.
  9. You can show an AVI or mpeg movie on a form. I guess the "wow" will have to be in the movies' content. :)
  10. You're kidding, this entire time I thought you were using Web forms. Sorry.
  11. I suggest leaving things like that for the user to change within the OS themselves.
  12. Why would you?
  13. Does it at least place an icon looking thing.
  14. Not true, TemplateColumn can contain an ItemTemplate which can contain any control. Here's a simple howTo http://authors.aspalliance.com/aspxtreme/webforms/controls/addingtemplatecolumnstodatagrid.aspx
  15. Have you considered using a Datalist instead of a datagrid. A datalist allows you to span many rows horizontaly.
  16. Robby

    LinkButtons

    I don't think you can have an aspx and the added ascx use different css files because they both render to the single page. They can however share the same css file. You may consiider having a css file per application or even section of an application.
  17. Robby

    LinkButtons

    Include this in the head section of any aspx page... <link type="text/css" rel="stylesheet" href="CSS/Styles.css" />
  18. He wants to Deploy the web service,( I gather on a public server.)
  19. Get rid of the tb declare and do this. tb.SelectionLength = directcast(sender,textbox).Text.Length also, place the SelectionStart before the length.
  20. read this http://www.xtremedotnettalk.com/showthread.php?threadid=78270
  21. Do you mean each spec should be on the same line?
  22. Robby

    LinkButtons

    Yes, On most controls attributes override the css, but I beleive that the LinkButton gives css priority. Set the CssStyle of the LinkButton to "SomeClass" then in the css copy/paste the 4 A:Link,A:Visited etc.... to a new section of the css file and change each of the 4 to this.... A.SomeClass:link, A.SomeClass:Visited, etc... Of course once you have copied all four you can then change their colors and so on.
  23. Try the event for the textbox itself the Enter event
  24. Stay away from these tags <%=myhtml%> whenever possible. Simply place a Label anywhere on the page and assign some text to it.
  25. To do all this from the database you'll need to use ADO or ADOX
×
×
  • Create New...