I've got a gridview successfully bound to a datatable, at least for the first display.
However, when I add a row to the datatable (through another method), and then do a gridview.databind, the new row doesn't show up.
I'm pretty sure my syntax and timing for the databind are ok, because I...
I'm using javascript to capture a text field value and put it in a hidden field value, and then submit the associated form. In Page_Load I extract and act on the hidden field value. All this works fine, except...
The hidden field value that is entered persists when the page is refreshed (ie...
I've got an table (asp.net gridview generated) that's going to be scrolled vertically in a <div>. In another sub-form on the same page, the user will select a record identifier that corresponds to a row in the gridview table.
When the user chooses that record identifier, I need to figure out a...
If I have the User ID, is it possible to reference, read and update the User Session Cache from within a custom class? If so, what is the key syntax for this?
Thanks!
In ASP.NET 2.0, is there a way to reference a page control from a business object method, for example by accessing a "Pages" collection and use a construct like the below to access an individual page, control, and property?
Imports SomeNameSpaceFor.PagesCollection
Class TestClass
Sub TestSub...
The app I'm building isn't much like I website, more like a live classroom, with a lot of complex, cross-user-session background processing. I've got to use ASP.NET because people may join at the last minute and I can't require them to download anything. So I find I'm asking a lot of questions...
I'm self-traning on ASP.NET and am using the code below to figure out data caching. It gets several errors...how
should I rewrite it to make it work? (I expect I'm making several incorrect assumptions here about scope, etc... hopefully in the process of figuring this example out I'll learn...
I'm working on a design that involves multiple record types in the same GridView. I can merge all the fields from all the record types into one record layout in the GridView datasource, if needed, and separate the record types after. The trick is in presenting different formats for different...
I'm working on a design the involves multiple record types in the same GridView. I can merge all the fields from all the record types into one record layout in the GridView datasource, if needed, and separate the record types after. The remaining trick is presenting different formats for...
Is it a possible create HTML pages 100% programmatically? Particularly in VS2005, this would mean creating an empty .html file, putting it into a member pages folder, "figuring out" and adding HTML to the file, closing it, and associating it with a code behind file.
I'm not sure WHY I would do...
What is the general event and processing pathway by which a click in one content item in a master page causes another content item to update a field, refresh, modify appearance or be entirely replaced?
I can see generally (in my ASP newbie-ness) how the click in one content item will launch...
I'm converting my skills (and a prototype app) from MS Access to ASP.NET, and as I go through self-training I have some questions on general design practices. The app I'm working on is like a "live" on-line classroom session, and will run like a closed application with fairly complex forms and...
I'd like to build a web form that will be an illustration consisting of rectangles, "rounded corner rectangles", arrows and text labels with text labels. I want users to be able to left and right click on the different graphics to produce different behaviors, including:
- highlight a graphic...
I'm thinking about buying a printer to print some "reviewer draft" manuscripts on 6x9 paper, which I would then have glue-bound. I'm looking for technical documentation or other references for HP printers that would confirm that I can print 2 sided on 6"x9" paper, and that the printing would be...
I'm trying to translate my understanding of OOD into implementation techniques in OOP. I think the best learning mechanism for me right now would be to see a UML-like example of OOD for a "bulletin board" side by side with some pseudo-code (or more detail) that shows how the UML relationships...
I'm designing an app for VB.Net VS 2005 ASP.NET in which users will review and add records to a list. To optimize the UI, I need to be able to insert records into the middle of the list. Ideally, there would be a control on one record that would say "insert a record below me". When the user...
I'm deciding between MS Access and SQL Server Express for a ASP.NET application prototype. One of the last points I'm considering is that Access has built in data maintenance, with the datasheet view. I don't see an equivalent "built in" UI for data maintenance in SQL Server, so I guess I...
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.