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 TouchToneTommy 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: *

  • Users: keyser456
  • Content: Threads
  • Order by date
  1. keyser456

    250+ unique TQL requests, best way to go about it?

    We've basically built a rule engine here. Rules are built where you specify criteria that will be applied when the application is run for "approval". What it boils down to is I have about 250-350 unique TSQL statements (they're basic TSQL statements, no subqueries and just 2-3 joins max) that...
  2. keyser456

    Proper permission setup for use with an ASP.NET web app?

    I'm trying to limit the permissions granted to the people using the databases through the websites (we have one webuser per web application). Currently that web user is part of the db_owner role, but I don't think that's right. That means any user who's accessing the database through our...
  3. keyser456

    DropDownList woes in Dynamic Datagrid

    So I've fought and fought and fought some more, and I've finally got my dynamic DataGrids saving to and loading from viewstate properly... or so I thought. A quick description of the page. It contains a dynamic # of 4 different types of datagrids. Each row in each datagrid will contain a...
  4. keyser456

    Session State - When to use and how to clean up?

    As a former .NET windows applications programmer, I'm having a bit of a hard time in my transition to web programming. This stateless thing is killing me. Basically, I want to use anywhere from one to three different DataTables for each web page for this site. All the pages are working just...
  5. keyser456

    Printing - Best to print from Server or from local data?

    I've finally finished all the forms for my project and I'm now tackling the issue of reports. In an effort to keep the cost for the program lower, I believe I am going to try to avoid using Crystal Reports or any other reporting software that isn't free, so I'm designing my own reports using...
  6. keyser456

    ComboBox Event Problems

    Maybe I'm not understanding ComboBox events properly but it seems like these events aren't working as they should be. I have a System.Windows.Forms.ComboBox placed on a form and its Items list is populated with items. When I open the dropdown box and click on an item, the SelectedIndexChanged...
  7. keyser456

    Programming - A perfectionist's worst nightmare?

    Five months after quitting my old job to become a self-employed programmer I find myself wondering if I made a mistake. I have not seen a real paycheck in five months. Instead I've been developing the product I'm intending to sell. I'll be the first to admit that when I quit I was not ready...
  8. keyser456

    Can't track this error

    I have a custom control that is acting like an MS Access subform. When I modify a new record, it is supposed to add a new blank record to the subform, just like MS Access does (in the subform the record has a * indicating it is a new and blank record). In my project, if I modify a text box and...
  9. keyser456

    The IDE - Friend or Foe?

    I've spent the last five months working on a project full time. I'm currently using VS.NET 2003, and the entire project is in C#. I'm not going to deny there are benefits to using my IDE. Control placement becomes extremely easy with the GUI, as does hooking events. Basically it's great for...
  10. keyser456

    Business Logic Layer - How to implement?

    I've finally finished my Data Access Layer using a custom code generator that also creates the stored procedures the code will use to access the underlying data in my MS SQL Server database and. As tempting as it is to just use the DAL directly, I've read you should use a Business Logic Layer...
  11. keyser456

    Static members frowned upon? If so, why?

    I'm implementing a data access layer for the project I'm currently working on. In order to provide basic validation these classes are each keeping track of the schemas for each of their fields (FieldName, Type, Size, Nullable). I'm considering the use of static schemas so all this information...
  12. keyser456

    Adding static components via the IDE?

    You know how as you add components to a form or control the IDE automatically updates the InitializeComponent() method of your code. Is there any way to get the IDE to add static components to a form or control? Maybe it would add a static constructor and create a static method called...
  13. keyser456

    Protected Properties - How to make them visible in designer?

    I have a control "template" (I'll call UserControlTemplate) that I inherit as the base type for several other similar controls, like below: public class UserControl1 : UserControlTemplate {...} public class UserControl2 : UserControlTemplate {...} My problem is I need to allow access to a...
  14. keyser456

    VScrollBar - Value stops 9 before Maximum

    I have a vertical scrollbar (VScrollBar) that I declare like below: VScrollBar sb = new VScrollBar(); sb.Minimum = 0; sb.Maximum = 200; sb.SmallChange = 1; sb.Value = 0; Now, when I use the scroll arrows or move the slider the highest I can ever get the value is always the maximum minus 9...
  15. keyser456

    DataGrid / DataTable Behavior

    A row is "added" to the DataTable after I type in some info into a cell and then call EndCurrentEdit on the DataGrid. Spiffy. However, the DataTable.Rows.Count still shows 0. When I trap the RowChanged event (which fires right after calling EndCurrentEdit) I get the following information...
  16. keyser456

    Importance for a program to be data aware?

    I'm currently developing a commercial application that will be using a datasource (SQL Server in most cases) w/ several tables. My last few attempts have ended up in the recycle bin after I became discouraged and knew I could do better. Now I'm basically starting over (minus the knowledge and...
  17. keyser456

    Click event doesn't fire when...

    I have several large controls contained in a Panel control. If one of these controls isn't completely visible (eg. its too long to fit on the panel) when I click on it the control's click event does NOT fire sometimes. Instead the panel will move it's scrollbars so that the control is more...
  18. keyser456

    Region Question

    I'm working on a "line control" that will connect two points. I'm having problems with the region however. The region of the "line control" should really only be the line itself, however no line appears when I do the following (btw, the BackColor of the control is black, so as to see it...
  19. keyser456

    Garbage Collection Question

    Ok. What makes something qualify for Garbage Collection? I ask because I'm worried the events I'm hooking up might be keeping the objects from being disposed of. You tell the program you're interested in an event by using the += like so: this.OnClick += new EventHandler(this_Clicked)...
  20. keyser456

    Instantiating an object whose type is not known until runtime?

    public void AddItem() { this.Add(new ***); // here is where I'm stumped } private void Add(MySubItemType inSubItem) { this.Controls.Add(inSubItem); } There needs to be a type where the *** is but this type will not be known until runtime. Obviously, it will derive from MySubItem. Is...

Part and Inventory Search

Back
Top