Jump to content
Xtreme .Net Talk

Robby

Moderators
  • Posts

    3848
  • Joined

  • Last visited

Everything posted by Robby

  1. There are many ways of accomplishing this, one way would be to keep it all in a single aspx file (as you mentioned). You can use Panels to contain the controls needed for each section, then simply show the appropriate panel as needed. Since the aspx will PostBack to the same page this task should not be too complex.
  2. This should get you started...http://www.xtremedotnettalk.com/showthread.php?s=&threadid=42371&highlight=parse
  3. That's not what an enum is used for. Perhaps you can use a Property instead.
  4. Number is not a variable.
  5. do you mean... Public Enum Number one = 1 two = 2 three = 1 End Enum
  6. Are you creating/generating the datagrid at runtime or design time?
  7. Ask if they support the .NET Framework
  8. You'll need to do it in a JavaScript function. (on the client side) If you're coordinating which country they clicked as well as getting the country's name from the server then you may want a control that will PostBack.
  9. Use a Link Button because an html link does have viewstate nor will it runat server.
  10. ADO.NET is quite different then ADO, there is no recordset as you know it. You may want to read some tutorials so as to get familiar with it's objects and such. check these out... http://www.devarticles.com/cats/29 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconoverviewofadonet.asp
  11. you can decare it like this... Dim myReportDocument As New ReportDocument() myReportDocument.Load(myDropDown.SelectedItem.Value) myCrystalViewer.ReportSource = myReportDocument
  12. Use the FilterRow method of the dataview to filter out what you don't need. (Of course you will need to bind the datagrid to the dataview)
  13. When you create an instence of the class you will need to pass the instance of the form either in the constructor or through a property/method. Right now the objForm1 knows nothing about the current form1
  14. The .net datagrid is so much more powerful, it really is worth the time to learn how to use it.
  15. What's vb6.net ?
  16. Inside the loop, add an event handler for those controls. Then add a method/function to handle the event. And I would place this line outside the loop... Dim spacer As LiteralControl = New LiteralControl("<br>")
  17. I don't have .NET here, but this should work... Dim System_ID As String dim LB as LinkButton = CType(e.Item.FindControl("Delete"), LinkButton) System_ID = LB.Text
  18. Have you given permission to ASPNET as a user, (and maybe aspnet_wp)
  19. Your approach seems best.
  20. You can put their values into an array or something and cache or session that. What are you trying to achieve?
  21. Instead of Alert, use Prompt
  22. Place the Insert into an ELSE .
  23. you need to add ASPNET as a user.
  24. Try this out... http://www.xtremedotnettalk.com/showthread.php?s=&threadid=76567 You can specify the culture within the format.
  25. There are APIs you can use instead... ie. GetCursorPos()
×
×
  • Create New...