Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. merlyn2450

    ApplicationState error

    I'm having unusual results with the following block of code. I'm having issues with the Application state "losing" its data. If the Application was emptying I wouldnt have any trouble, but the DataTable being stored loses all of its rows and keeps the schema intact. If it were empty...
  2. merlyn2450

    IsNothing in C#

    rofl
  3. merlyn2450

    Need "ghost" label to appear above derived TreeView.

    amazing.. a problem resolved entirely by yourself =) in 3 posts, no less..
  4. merlyn2450

    Temporary tables on web

    use datasets and dataviews, and keep them in the applicationstate. i use a serializable class to manage the data and make for easy in-memory storage
  5. merlyn2450

    Using Variable (Dynamic) Class Name

    thats what he meant by using an interface. Define a base report like: public interface IReport { void SetDataSource(DataSet ds); } Make all of the report classes derive from this interface, ie: public class MyReport : IReport { public void SetDataSource(DataSet ds) { //...
  6. merlyn2450

    Are Sessions OK?

    I use session all over the place.. mostly for serializing data that I'm going to have to use over and over again.. ie dynamic navigation, content, etc. I also use the application state for similar reasons.
  7. merlyn2450

    What's the "#" used for? - Newb question - sorry! :)

    well, its not really that useful, just neat ;)
  8. merlyn2450

    What's the "#" used for? - Newb question - sorry! :)

    I've found its useful to use these directives if I'm compiling for the Compact Framework..
  9. merlyn2450

    Update works on WebMatrix but not IIS 5.1

    sounds like a permissions issue. if you havent already, switch to advanced sharing by going to My Computer > Tools > Folder Options > View, then Deselect &quot;Use simple file sharing&quot;. Then, share the database or database folder with IIS (IUSR_<machine> and ASPNET). Give both accounts...
  10. merlyn2450

    Quoting for Web Site Design

    We have a two-man operation. When we started about a year ago, we estimated project time and billed at $40/hour. We use line items as well, so the client doesn't actually know what we're getting paid hourly. Most of the time the project took too long and we ended up with $1/hour. We moved to...
  11. merlyn2450

    clean way to delete item on cart

    I use the index method. Querystrings are soooo ASP :P
  12. merlyn2450

    ie for mac

    I have the benefit of using server-side scripting, so I may just submit what I can and then use body onLoad to do the rest..
  13. merlyn2450

    ie for mac

    I'm having issues with the IE 5.2 for Mac and I need some advice. I have 2 frames. On the top frame, named nav, I am using ASP to populate 3 <select>'s. Each select is in its own form. When the page loads, &quot;nav&quot; has a single <select> with categories. On load the bottom frame, named...
  14. merlyn2450

    clean way to delete item on cart

    You will need to keep track of which index in the datagrid goes to which primary key in the database. When OnItemCommand fires to a handler, it'll need a sender and the event arguments, like so: void Command_Grid(Object sender, DataGridCommandEventArgs e) If you look at...
  15. merlyn2450

    Using Response.Write from a CodeBehind

    yes, i know :) i just looked at the subject, not at the question...
  16. merlyn2450

    Using Response.Write from a CodeBehind

    HttpContext.Current.Response.Write(&quot;something&quot;);
  17. merlyn2450

    Access and web pages

    Use the relative path with the HttpContext.Current.Server.MapPath function (as in legacy ASP). Ex: path = HttpContext.Current.Server.MapPath(&quot;./data/db1.mdb&quot;);

Part and Inventory Search

Back
Top