Jump to content
Xtreme .Net Talk

Robby

Moderators
  • Posts

    3848
  • Joined

  • Last visited

Everything posted by Robby

  1. run this from the .NET command prompt " aspnet_regiis.exe /i " it may help
  2. Why not store the connection string in a class or in the web.config.
  3. I doubt it's a bug. Can you post some of the relevant code?
  4. Sorry I should've explained, if the guest account doesn't have enough pemission to delete files off the sever, you will need to grant permission to the process by impersonating an account othe than Guest. Look up "Impersonate Security ASP.NET" on google.
  5. You may want to look up Impersonate.
  6. do you mean non-ASP buttons?
  7. Are they both pointing to the same asemblies (DLL,PBB files)? can't they not compiling them locally?
  8. You need a variable let's SortOrder = "ASC" then toggle it in GetActiveJobs() ... if SortOrder = " ASC" then SortOrder = " DESC" 'you get the idea.... then do this ... Source.Sort = strSort & SortOrder
  9. You can use the same method if the file path is hard-coded, or leave the path out of the web.cofig file and do something like this... ConfigurationSettings.AppSettings("ConnectionString") & somePathToMDB
  10. http://www.dotnetjohn.com/articles/articleid3.aspx
  11. Robby

    Web Server

    Does it compile?
  12. Robby

    Web Server

    If you're able to convert the form code then simply compile the WebServer code into an assembly and use it as C#. Can't you?
  13. Robby

    Caching

    You can have a cache object for each user role or even parts of a page. http://aspnet.4guysfromrolla.com/articles/022802-1.aspx
  14. Did you set the .DataValueField = "Some_ID_column" and .DataTextField = "Some_Display_Value"
  15. There is no Autopostback for Datagrids
  16. Using an XSD http://samples.gotdotnet.com/quickstart/util/srcctrlwin.aspx?path=/quickstart/howto/samples/Xml/DataSetMapXSDSchema/cs/&file=books.xsd you can create dataset mapping http://samples.gotdotnet.com/QuickStart/howto/default.aspx?url=/quickstart/howto/doc/Xml/DataSetMapXSDSchema.aspx
  17. Don't you want to use a DataGrid or DataList?
  18. Code Access Security doesn't work at that level... http://www.c-sharpcorner.com/Code/2004/Feb/CodeAccessSecurity.asp You may want to look into Impersonation authorization.
  19. You would never use "if selectedindexchanged"... You will/could use the Selectedindexchanged event for many situations such as; Say you have a list of cities in a dropDownList and upon the selection of a city you want to fetch (from a datatable) all residents of that city; you would place the Fetch logic in the SelectedIndexChange event, WHILE still keeping the logic that loaded the DropDowwnList( for City) in the Page Load event in a "If Not IsPostBack" condition.
  20. AutoPostBack and PostBack means that the page is sent back to the server for processing. At this point you need to seperate your Page_Load event into three parts; (All these are optional of course) sub Page_Load(....) If Not IsPostBack then 1) Code that runs only the very first time your page is loaded elseif IsPostBack 2) code that runs each subsequent time end if 3) Code that will run every single time the page is loaded end sub
  21. It should. Can you post your code?
  22. You can still find 5.5... http://www.microsoft.com/windows/ie/default.asp
  23. It will get the language such as .... en-us
  24. Set AutoPostback to True in the dropDown control then use its SelectedIndexChanged event to execute your code.
  25. Use RowFilter of the Dataview of the Dataset...."StockCode = 'ABCD'"
×
×
  • Create New...