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 Wanet Telecoms Ltd 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. mirirom

    Problem with cin >> ignoring input in a function

    hi uolj, thx for the reply. turns out the code was working fine. the function call in the loop was based on a conditional bool member, which at 2am i was trying to assign char data to. after the bug fix, things are ok. thanks again... ..:: mirirom ::..
  2. mirirom

    Problem with cin >> ignoring input in a function

    hi, i'm sure this is a pretty basic question. basically i have a function that's called within a loop. at the end of the function, i've placed char c; cout << "blah blah blah"; cin >> c; cin.ignore(80, '\n'); however, the cin >> doesn't wait for the user's input. i've tested to see what's...
  3. mirirom

    Datagrid not refreshing after postback

    hey again Atomic, i totally stand corrected; was reading the trace wrong! your're completely right about the order of ops here where Page_Load is being called prior to the handler from the DataGrid. thanks! i've added a myGrid.DataBind() method in the control's event handler to refresh...
  4. mirirom

    Datagrid not refreshing after postback

    ...in one of my tests, i have the event handler make an explicit call to the building method. it's interesting that when stepping through the code *starting* from the event hander for the control in the datagrid... ~ the table in the dataset is updated. the values can be read in the...
  5. mirirom

    Datagrid not refreshing after postback

    ...regardless of the page being a postback or not since the display information in the datagrid isn't part of the viewstate. fine. now, if i *refresh* the page (F5), the datagrid shows correctly. i've checked the dataset and it's table to see if there's any difference in content for after...
  6. mirirom

    Updating DataSet to datasource question

    well, after digging a bit further, i found a clear cut piece of documentation about this in Andrew Troelsen's "C# and the .Net Platform". basically it states that in order for an adapter of any type to generate its own SQL statements to pass data back to a source, the SELECT statement for the...
  7. mirirom

    Simple SQL string question for totaling

    hi FoxT, the method you're calling, ExecuteNonQuery(), is the issue. it is infact executing your select statement, but this method doesn't return any values (except if you're using out params - see the documentation in VS.NET or MSDN). this method is typically called for INSERTs, UPDATEs...
  8. mirirom

    Updating DataSet to datasource question

    hi, i'm working on an app that uses a dataset who's tables are filled with some hybrid SELECT queries, meaning, the tables in the dataset are hybrids of mixed data from the datasource (SQL Server btw), or better, no single table in the dataset is a modeled copy of a table in the datasource...
  9. mirirom

    Get value of control built in template column

    ah cool! got it! ..:: mirirom ::..
  10. mirirom

    Get value of control built in template column

    ...got my gears grinding though. went back and disected the stuff i did for the DataBinding events in the template classes & produced this... /* handler for the button in another template column. dropdownlist is ALWAYS in cells[1] of the footer and it's the only control in there */...
  11. mirirom

    Get value of control built in template column

    ...default behavior of controls inside datagrids. interestingly enough, the ID property of the control gets the runtime assigned name of the control *added* to it. for instance, if in code i assign myDropDownList.ID = "foo", the ID of the control is really...
  12. mirirom

    tooltips in SELECT dropdownlist possible?

    i hadn't. thx! ..:: mirirom ::..
  13. mirirom

    tooltips in SELECT dropdownlist possible?

    hi, i'm wondering if it's possible to assign tooltips to items within a dropdownlist control. the standard shows that the OPTION tag supports the title attribute but no rendering occurs. any suggestions are greatly appreciated. thx! ..:: mirirom ::..
  14. mirirom

    Runaway sqlservr.exe process - killing the machine

    ...off client requests until others were finished? at that (and to the best of my knowledge), client requests or reports out to the client consist of *minimal* data -- we're talking tops of 3 rows with only a few scaler type fields. anyway, is there any way to determine what process is tying...
  15. mirirom

    Error, ODBC Driver not activated - question

    ...scheduled job tries to execute the package, it fails with an error stating that the driver is not active. what's strange is that sometimes the job *will* run successfully, and other times it won't. the job is run under our SQL_SERVER_AGENT login which has rights to the import database. the...
  16. mirirom

    Insert new row in table for each distinct value in another

    thanks guys, both solutions suffice. much appreciated! ..:: mirirom ::..
  17. mirirom

    Insert new row in table for each distinct value in another

    ...i have a table filled with projects, & another table with associated phases (subprojects). there's a business rule that states that all projects *must* have a base phase - '.000', and unfortunatley, none of the projects (at time of import) in the database do. e.g. Project...
  18. mirirom

    Embedding Windows control in asp.net page

    hi Boulder, thx for the star! you can find quite a bit of material on this subject on the MSDN site (too many to list in fact). you can also google "embed windows control aspx". any yeah, it is cool stuff :) ..:: mirirom ::..
  19. mirirom

    Embedding Windows control in asp.net page

    thx for the reply. actually, the client downloads the .dll just fine - in similar fasion to an activeX control, but w/out the supposed security hassle that the latter pose (they can't open, create, delete files, etc). in my particular case, this is the only windows control that would be used...
  20. mirirom

    Dynamic Controls - Client Side??

    if you're looking to dynamically create controls on the client end of things, you should investigate some possibilites using CSS. perhaps if you already know what controls will appear based on a user action, you could simply toggle a visible property (on a <div> or <span>) - provided that you...

Part and Inventory Search

Back
Top