Jump to content
Xtreme .Net Talk

Robby

Moderators
  • Posts

    3848
  • Joined

  • Last visited

Everything posted by Robby

  1. If you have a dataview do this... Dim x As Integer = myDataview.Table.Rows.Count if you have a dataset then... myDataview = myDataset.Tables(0).DefaultView Dim x As Integer = myDataview.Table.Rows.Count
  2. I would go with the javascript
  3. I'm not sure if I understood... Do you want the other button to be the default ?
  4. Volte means to change the syle sheet you use in this forum.
  5. Alex, they have some impressive controls. Tom, at least they have email support. Also, I'm sure they have plenty of samples.
  6. They have a few to choose from here http://www.asp.net/Default.aspx?tabindex=2&tabid=31
  7. Are you using web.config for your security?
  8. Let's say you have one datagrid that you want to display 4 columns from the 10 in the dataset, simply show the 4 that you are interested in and ignore the rest. This can be achieved at run-time as well as design-time.
  9. Sorry I miss-read the question... Is this because you want to use this Dataset for different Datgrids (controls)?
  10. You can cache the Dataview then use RowFilter to filter the resultset.
  11. I assumed you were using Server.Transfer() because I pointed this out in your other thread here ... http://www.xtremedotnettalk.com/showthread.php?s=&threadid=76875
  12. Follow my example and it will work. What's query? That should be the class name of the previous page.
  13. You're better off posting specific questions.
  14. Vb6 TextWidth? What do you mean?
  15. The <asp: controls cannot be sent to the page in this manner. You should use the Controls.Add method of the control.
  16. Yes this should go outside of a sub, usaully near the top of the page Private otherPage As SendingPage keep in mind that SendingPage is the class name of the previous page
  17. That's pretty much it if you want client side stuff.
  18. One way is this.... 'page that contains the data (this class would be named SendingPage) Public ReadOnly Property SomeString() As String Get Return SomeMemberVariable End Get End Property 'page that requests the data Private otherPage As SendingPage '(the name of the previous page) Private Sub Page_Load(....) If Not IsPostBack Then otherPage = CType(Context.Handler, SendingPage) End If 'now you can use the value anywhere on this page.... dim s as string = otherPage.SomeString End Sub Any object can be passed using the above example.
  19. Your sort routine should run after you load the grid
  20. Are you willing to use a datagrid, or do you want to stick with html tables?
  21. What datatype are they in the DB? String can be True / False or Y/N Bit can be 1 or 0
  22. what object are you using to get the values from the database? (datareader, dataAdapter...)
  23. The suggestion above would of course use code-behind, it's up to you if you want to use multiple aspx files or only one, my preference in this case would be to use a single aspx file with code-behind.
  24. So you want a popup window to open when page x is open? If so, do somethng like this... <body onload='javascript:OpenPopup()'>
  25. Alex, what pendragon said is that the masked component available in the VS.NET is a COM object and not .NET.
×
×
  • Create New...