Jump to content
Xtreme .Net Talk

Robby

Moderators
  • Posts

    3848
  • Joined

  • Last visited

Everything posted by Robby

  1. What type of project?
  2. Robby

    LinkButtons

    Do you mean like a default hyperlink blue? If so, you can add css styles to it.
  3. Try the Items.Clear() method.
  4. Here's an untested approach, replace the default label in the ItemTemplate with a multiline textBox, the width property of a textBox is more managable then that of a label.
  5. You can do the session variable save from whichever pages' event triggers it.
  6. 1. You can use Closing or Closed, most of your cleanup can be done in Closing, of course it is triggered first. 2. there are a few to use, it really depends on you want to handle this, you can use enter, keypress, or even one of the mouse events. For this one I wouldn't use the Leaving event, because the user should be aware that that textbox (the one you will hide) is no longer available as he either types or enters the txtbox he's in. I think I would use the TextChanged event. What's best is it depends on you.
  7. You will not be able to acomplish this task with a simple da Fill with a Dataset. I would say use a DataReader, iterate the reslutset and create a Datatable while in the loop.
  8. Sure I have, my solution to this was to display only the first n characters in that column. If this suits you let me know.
  9. Are you using Response.Write() to debug or for ?
  10. Instead of a module, create a class... you can have the constructor or a property get the server name. then have a method or property returrn the full connection string to the user.
  11. They support Crystal, can you give us a link to their site?
  12. Hmm, isn't that similiar to Robbys' suggestion?
  13. Are you doing this on your localhost? Also, did you follow this instructions of the error message?
  14. I feel they went one step further with .NET, they gave us one common framework with a variety of languages to choose from.
  15. I don't think that's what Volte ment by raw power.
  16. Just so you know you can open the sln and proj files in Notepad and edit the URL. You can setup a main project directory in the wwwroot of Inetpub and everyone can have the same hierarchy as each other, if they don't wantt the same tree they can each maintain their own Solution file. If you don't use some sort of a source control you will have a nightmare of a time organizing much of this
  17. You can use Visual Source Safe to control all the files in the solution. Each user can hold their own Project file (vbproj or csproj), since they each want a different virual path. But since it is virtual they can and probably should setup the same directories as well the same directory hierarchy as each other.
  18. you can use the following code... You'll need to get the NavigationURL from either a data store or an Array of some sort. Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load If Not IsPostBack Then createManyControls() End If End Sub Private Sub createManyControls() Dim x As Integer For x = 0 To 10 Dim h As New HyperLink() With h .BorderColor = Color.Red .BorderStyle = BorderStyle.Solid .BorderWidth = Unit.Pixel(1) .Text = "Test this site" .NavigateUrl = "someURL" .CssClass = "SomeCssClass" 'If you wish, use this instead of the properties End With Me.Controls.Add(h) 'or place the controls into a Panel or PlaceHolder Next End Sub
  19. If the previous page is always from your own server then have a look at this sample... http://www.xtremedotnettalk.com/showthread.php?s=&threadid=78434
  20. A quick search yields a perfect solution by Divil... http://www.xtremedotnettalk.com/showthread.php?s=&threadid=49661&highlight=RichTextBox
  21. When you say "getting data from one table, and updating another"... Are you doing this in a SQL statement or is it being processed through your code? The Replace() leads me to believe the latter. I would surround strings with single quotes, and when a single quote does need to be saved in the table then you can double-up on the single quotes.
  22. If each of the three combos should be sorted with disregard for other controls then I would pull in a seperate table for each one, binding each control with their respective Datatable. The Select statement for each should be taylored for theri particular needs, ie. cboName would only Select name and ID, cboAlias would be Alias and ID, cboID would only select ID. I rambled on and on, I'm not sure if you got it. :)
  23. Oh! yeah I shouldv'e known better, I used to do a lot coding in Access. :( Sorry, I can't help.
  24. If you leave your server-side code in-line (at the top of your aspx page) then of course people will see it, the recommended method is to use Code-behind and as PlausiblyDamp pointed out "the code DOES get complied". So the only things you need to copy(deploy) onto the server are these files: aspx web.config BIN folder with the DLL files therein CSS (optional)
×
×
  • Create New...