| Drag and Drop / Appendix C |
| Page 49 states that "profile services can be useful to remember where a particular user dragged a user interface". Is there some sample code? Also, (perhaps related to the first question), pg. 322 refers to Appendix C of the online content. Where can I find Appendix C? |
| CustomEvent (Ch 3) |
| Hi, I might be missing something or just not as familiar with the tools as I should be but I am trying to create the CustomEvents resource which is outlined at the end of chapter 3 and I am having a bit of an issue. Can someone walk me through how to get the project to look like it is suppose to? I created a new empty website calling the folder TBH_CustomEvents, added a new C# class called CustomEvents.cs which was placed into the App_Code folder (default). I then entered the code provided by the book. However now when I go to publish mine does not look like either the final code provided by WROX or the chapter by chapter provided by MythicalMe. So to say the least I am a bit stumped. Any help would be great. Thanks, Patrick ... |
| Registering checked checkboxes in a database |
| Hi There folks, I have probably an easy question for ya, I am trying to build a database in VB.net with some success however i'm getting really stuck on one issue. I have a list of checkboxes which will be checked whenever a brochure is sent or requested, this works fine until i try to query wither or not the checkboxes has been checked. I keep getting a data type mismatch error. In access i simply set the filter on sent brochure to yes and that gave me the results. I have been reading as much as possible on this and am getting no where i have found some articles that mention that checkboxes get stored in a 1/0 format and tried this to but no success. I need help in coding that if a checkbox is checked on the form 1st it hets stored in the table and second how to build a query to retive wither or not the sent checkbox has been checked. ... |
| Why do I get 'object could not be found' or 'inval |
| Hi I am very new to ASP and I have always encounter this problem.... Why do I get 'object could not be found' or 'invalid object name'? somebody could explain and what the solution for this.... thanks, http://www.interventiontoday.com/ |
| how to fill the combobox with data from different |
| Hi.. How can I fill the combobox with data from different column from different table..?? example: I have two table: person1 with column name1 person2 with column name2 so..combobox will consist of name1 and name2 is it possible..?? if so..how can I do this or what the codes or just a hint... many thanks for reply... http://www.interventiontoday.com/ |
| undeclare-namespaces directive |
| I'm using Saxon8B within the Oxygen XML IDE. I'm also neck deep in having to deal with <!ENTITY ...> references because my XML source came from heavily SGML'd Framemaker, and they still use <!ENTITY ...> for referencing bitmaps. So I'm using the saxon extensions for generating these items. But the problem is that I've defined the namespaces for the saxon extensions and the dtd extensions and these namespaces are showing up in my result tree. In "XSLT 2.0" on or about page 114 in Capter 3, section "Namespaces for a Literal Result Element" there is a note that one can use: quote: and then use something like: What is ".Namespace" ?! |
| Hello all, I'm studying the "Professional C# 2008", in page 55, what does ".Namespace" mean ?! is it a method or what exactly ?!, I feel that if that line was only "return this.GetType();" without ".Namespace" then it will work just fine . Any explanation for this? Regards, Employee |
| Custom Folder files not being copied |
| I have created a Deployment Project in VS 2005 and in this project I have created a Custom Folder called HGL with a default location of C:\ and Always Create set to false. When I run the install by right-clicking on the setup project, the HGL folder is created but the files are not copied into the folder. I have tested each setting without any success. Has anyone else encountered this and/or does anyone know how to get the files to copy? Thank You, John Love Maryville, TN Thanks, John ... |
| help related to a SelectedIndexChanged event |
| help related to a SelectedIndexChanged event of a dropdownlist inside a GridView control in asp.net 2.0 I am using asp.net 2.0. I have a dropdownlist control inside a gridview control. On selecting an item in the dropdownlist, I am able to display related data in other two columns of the grid in the same row. But the problem -> the moment i choose another item from the dropdownlist data just get cleared from the previous line. This is happening in every row. protected void GridView1_SelectedIndexChanged(object sender, EventArgs e) { string selectedtext = ((DropDownList) GridView1.SelectedRow.FindControl ("ddlicode")).SelectedItem.Value; GridViewRow row = GridView1.SelectedRow;   ... |
| Tags closing problem |
| i have this piece code in xsl file that i use in browser <xsl:element name="div"> <xsl:attribute name="id"><xsl:value-of select="cg_descripcion" /></xsl:attribute> <xsl:call-template name="foodcomposition"> <xsl:with-param name="comptype" select="componentgroup_id" /> <xsl:with-param name="title" select="cg_descripcion" /> <xsl:with-param name="conversion" select="$factorc" /> </xsl:call-template> </xsl:element> The output is: <div id="Proximates"></div> *** Output from template *** But I want this: <div id="Proximates"> *** Output from template *** </div> Why XSLT is closing the div tag before calling the template? Thanks ... |
| access and update the registry through asp |
| I want to access the Registy via classic asp, i want to find a key and update it ( I want to update the 'Play_Animations' key and set to yes) programmaitcally, so any one have any code/script to do this, or even an idea whats best way to do this. |
| xml declaration not displayed |
| Hi All, Iam using Message designer to create xgm map. I have written an xslt that is linked to the xgm map. In the output xml ,Iam not getting the xml declaration even though I have set the omit-xml-declaration option to 'no'. below is the stmt Iam using <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" omit-xml-declaration="no"/> Please help. Thanks Sheema |
| Name 'CAM' is not declared. |
| can you helped me in this code...i am only a beginner of asp.net but seems it always like this.i buy two books of wrox but the sample is always not compiling.. Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC30451: Name 'CAM' is not declared. Source Error: Line 92: <asp:TemplateColumn SortExpression="Author" HeaderText="Author"> Line 93: <ItemTemplate> Line 94: <asp:Label id="Label1" runat="server"> <%# CAM. ... |
| Similar Page Content - Making "Generic" Pages |
| Good morning to you all! I hope/trust all is well? [:)] OK, my next problem! [:D] We have many pages in our web application that simply is a table of links to other pages, a bulleted menu if you will. Now, is there a way to make a "one size fits all" page? Coming from Windows development, this is just screaming at me saying "Noooo dont create pages that do the same thing!" and I would simply do something like create a generic form and pass it some arguments to pull the list data.. Is sort of thing possible in ASP.NET? My current train of thought is to create the "main" page, and then pass it an ID in the QueryString. This ID can then pull the data from a datastore that makes up the actual content, however, this gives me concerns:
|
| List Box adding value inside a gridview |
| salestxtName1=txt.id; chkCounter=document.getElementById(txt.id).value; var url='frmtotalproduct.aspx?v='+ chkCounter +'&Rnd='+Math.random(); sendRequest(url,totalChanged); var drpprd = document.getElementById(txt.id); var drpprdText = drpprd.options[drpprd.selectedIndex].text; txtprdselected = drpprdText; alert(txtprdselected); var drpprdValue = drpprd.options[drpprd.selectedIndex].value; var lstprd = document.getElementById(listbox);   ... |
| Crystal Report 8.5, VB 6.0 and MS ACCESS 2003 |
| Hello sir, I am developing one application in vb 6.0 and ms access 2003. now i want to connect my appliaction and Crystal report 8.5 I connected with crystel report viewer in vb. Its working fine with out Passing SQL Query to report. Whan i am passing SQL Query to report. I am getting the "Error Detected in Database DLL" Error. My sql quey is perfect. Why this error came and what is the solution of this error. Please Help me Thanks in Advance ... |
| Problems about P2P chatroom |
| I want to use webservices to chat with someone who is online in my website. But i do not know how to do it. I need some help! Who can tell me about webservices? ..... |
| request for database design for email system |
| heloo..maybe my topic is not related to the asp language. i just need some help or guidance on how the email system like hotmail or yahoo mail database stcuture design? may someone give me some ideas on how the email /messaging table design? it involve sender, feedback, delete from both users, reply ..etc... |
| ASP.Net, Access DB, and a webform? |
| I recently purchased the book and I've read a majority of it, but I have a project that I still feel overwhelmed with and I'm hoping to get some helpful tips from the forums. I have an Inventory DB of PCs in an Access DB. I want to create a web form that allows people to add/modify PCs listed in that database. The layout of the form is: Asset Tag: [ ] Serial Num: [ ] User: [ ] When a visitor enters an Asset Tag in the first field I want the website to check the DB for an existing entry. If it exist it should then postback all the missing fields so they can be modified and submitted. If it doesn't exist the remaining fields will be left empty and a new entry will be entered into the DB upon submission of the form. So far I have created the form (does nothing, just contains the asp fields) and I have setup a co ... |
| VS .NET has detected...not running ASP.NET version |
| Hi All, We are running .NET 1.1 and 2.0 with the upgrades to 3.5. I still have applications that haven't been upgraded to 2.0. The problem I'm having is that I can't open a .NET 1.1 application either on the production server, running Server 2003 or my own box running XP SP2. I keep getting this error: "Visual Studio .NET has detected that the specified Web server is not running ASP.NET versin 1.1. You will be unable to run ASP.NET Web applications or services." I can open a .NET 2.0 project on my box. I found this article: http://support.microsoft.com/kb/817267 which says basically to set ASP.NET 1.1 to Allowed in the Web Service Extension list. I did that on the server but I don't see the extension list in the XP IIS 5.1. It didn't help. Keep getting same error. I found another article, http://support.microsoft.com/kb/555132 that suggested running "aspnet_regiis -i" to register ASP.NET mapping information. When I run that on either the server or ... |
| Same Store Proc run 100x slower in identical sql-s |
| Please let me know what type of Traces I can run to identify the underlying cause. Both setup are in Dev. Same everything but 100x slower. Each Dev sql-server has it's own separate identical virtual machine. Statistics are almost identical, rowcount, index defrag %. No contention on the server to worry about locks & latches. This is a real brain teaser for me. We're on Sql 2000 sp3a though planning to upgrade to 2005. declare @AN_CustID int, @LastName varchar(30), @FirstName varchar(30) select @AN_CustID = 2824, @LastName = 'XXXXX', @FirstName = 'XXXXX' SET NOCOUNT ON DECLARE @SdxLastName char(4) DECLARE @TheFirstName varchar(30) DECLARE @HitCountLastNameOnly int DECLARE @HitCountFirstName int DECLARE @ThresholdLastName int DECLARE @ThresholdFirstName int -- Set minimum row hit count for when to use the first name ... |
| Form Service Module Addon |
| Beginning Sharepoint 2007 Administration (p.284) says that the Office Forms Service 2007 module can be purchased separately as an add-on to MOSS 2007 Standard. Has anyone purchased this module or know where it can be purchased? Thanks! MT IT |
| Real time data from network |
| hi, I want to make Alarm monitoring system, System has database on my network pc and oracle is its database. (database`s data always change with its current alarms status) I want to show them on my client PC with vb.net form.[?] pls give me example/with coding show me how to do this nuwan |
| Loop question??? |
| Hi to all... I have this code that will combine 2 pdf to one in dest.pdf... Which works fine... dim C Set C=CreateObject("Combine.Combine") C.Convert "c:\1.pdf"+Chr(13)+"c:\2.pdf", "c:\dest.pdf", "" set C = nothing What i would like to do is with check boxes i would select the pdf i want and it will combine them... How would i do a loop in the command line that would add the file name if there are 2, 4 or 8... Or is it a loop that i need... Please help... Thanking you in advance... Rino ... |
| consuming a webservice |
| Thanks first, here is my problem. I am working on distributed system. But I can not make a web reference to the web service on my application. It gives me an error says "you are not autorized". please, give me some hint. Aklilu |