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 ::..
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...
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...
...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...
...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...
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...
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...
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...
...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 */...
...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...
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 ::..
...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...
...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...
...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...
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 ::..
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.