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...
hey atomic, thx for the reply.
yeah, 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...
hi,
i have a DataGrid that's bound to a table within an untyped DataSet. during the application's use, the table has rows added, updated, deleted, etc which is handled by a method in the page's code behind.
after the method executes the page reloads. my Page_Load handler explicitely states...
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...
hi Boulder, thanks for the reply.
i guess i'm confused about this then. if the controls are named during compiation, then you have no way of knowing what the string id is for the control. since i don't know the name of the dropdownlist, then how can i use it in the DataGridItem.FindControl...
hi,
i'm working with a datagrid that's almost entirely composed of template columns (the implementation of it is unique enough that it's required). one of the template classes i've created defines a DropDownList control and adds it to the footer. this all works fine and well.
however, i'm...
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 ::..
hi,
i have an instance of MSDE that seems to be chomping away at all available resources. wound up installing SQL server mgmt tools on the machine hosting the instance & upon inspecting the management logs, this error pops up about 1ce every 3 minutes:
This SQL Server has been optimized for...
hi,
i'm having a weird problem with a scheduled job that is rather fickle about running. the job executes a DTS packaged which includes a step that utilizes an installed system DSN (on the SQL server) to a 3rd party application (Protrax). basically the DSN is used to read data in an external...
hi,
i'm hoping someone can offer some advice as to how to go about dynamic row insertion. 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...
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.