First i do not think i fully understand your scenario here besides persiting of data. What exactly is your objective .. perhaps there will be a better suggestion to your problem if this is clear. This most definately the fastest way of elivering data.. as your customers indicate zimcoder
ZimCoder
Posts
-
simple viewstate question -
Web App Installation SampleFollow this link http://www.15seconds.com/issue/030806.htm[^] zimcoder What Democracy?? Jesus Christ is King and if you do not like it... well you can go to hell!
-
Basic question about the design structureIn asp.net you can use usercontrol for your header ad for your footer. These can work as include files. I am sure thry will do what you want to accomplish. I use them to separate different parts of my webpage. I use them mostly for navigation that can br static or dynamic since controls are programmable and executed on the server zimcoder What Democracy?? Jesus Christ is King and if you do not like it... well you can go to hell!
-
need help to pass runtime values to a custom user controlHi Can you zip your code and upload it. I will run it on my machine and see where the problem is zimcoder What Democracy?? Jesus Christ is King and if you do not like it... well you can go to hell!
-
need help to pass runtime values to a custom user controltechqrys@rediffmail.com wrote: SQLQ="slect * from tbl_products where categoryid=<%=CgID%>" it would seem to me that the above query is not correct. you are not properly concatenating "slect * from tbl_products where categoryid= to the dynamic value <%=CgID%> try putting single quotes here '<%=CgID%>' Goodluck zimcoder What Democracy?? Jesus Christ is King and if you do not like it... well you can go to hell!
-
need help to pass runtime values to a custom user controlCan you post your code please ::zimcoder:: Brainbench Certified ASP.NET developer What Democracy?? Jesus Christ is King and if you do not like it... well you can go to hell!
-
WhereClause use in a Data GridThe easier way to deal with this problem would be to have a command object that will take the string and then assign this command object to be the SqlDataAdapter's select command query = "SELECT *, Q.Type AS QType, S.Type AS SType FROM A_Table A_T INNER JOIN Quality Q ON Q.Quality_ID=A_T.Quality_ID INNER JOIN Status S ON S.Status_ID=A_T.Status_ID" & WHERE Application_ID = '"&session("appID")&"'& "ORDER BY & viewstate("sortField").ToString() & " " & viewstate("sortDirection").ToString()" Dim cmd As New SqlCommand(query,conMeta) dadAppl = New SqlDataAdapter(); dadAppl.SelectCommand = cmd 'do the rest dadAppl.Fill( dsAppl,"A_Table" ) Try AppDataGrid.DataSource = dsAppl AppDataGrid.Databind() Catch exc As Exception Response.Write(exc) AppDataGrid.CurrentPageIndex = 0 End Try ShowStats zimcoder What Democracy?? Jesus Christ is King and if you do not like... well you can go to hell!
-
WhereClause use in a Data GridThe easier way to deal with this problem would be to have a command object that will take the string and then assign this command object to be the SqlDataAdapter's select command zimcoder What Democracy?? Jesus Christ is King and if you do not like... well you can go to hell!
-
Weird bugRe-assign you click events to the appropriate delegates. This seems to happen a lot with VS 2003. Open your pages in design view and double-click on the buttons and recompile .. that shoul work zimcoder What Democracy?? Jesus Christ is King and if you do not like... well you can go to hell!
-
Search a website and googleHow would i go about it if i wanted to display the results within my own page .. so i could manipulate them further. Response.Redirect will pass control to google.com zimcoder What Democracy?? Jesus Christ is King and if you do not like... well you can go to hell!
-
Problems with database connectionsYour problem has to do with authentication and permissions for access to your SQL server instance. Try the sa account without the password in you connection string by the way did you use wizards in creating your adapter or did you type in the connection string yourself?? zimcoder What Democracy?? Jesus Christ is King and if you do not like... well you can go to hell!
-
post to database and close windowYou can setup and call Javascript from the code behind and this how setup //call the method that sets up the client side javascript in you page load setupClientScript(); //Add an html attribute to the control that will trigger the javascript //add the html attribute to call the javascript funvtion this.ImageButton1.Attributes.Add("onClick","CloseWindow();"); //this is the method that sets up the Javascript and registers it private void setupClientScript() { string js = @" function CloseWindow() { window.close(); } "; //Register the script //Test if the script function CloseWindow is registered if (!IsClientScriptBlockRegistered("CloseWindow")) { RegisterClientScriptBlock( "CloseWindow", js ); } } zimcoder What Democracy?? Jesus Christ is King and if you do not like... well you can go to hell!
-
Share your storyThrown into the deepend to crete a shopping cart application for a web designing company i had just joined after doing non-web programming using c/c++ and java.. Hated VB.OLD(i.e all the versions of vb b4 .NET) still do. Used IBuySpy Store sample, 4guysfromrolla.com, devhood.com, devarticles.com, aspnetquickstarts... pizza, chicken, sleepless nights and a lousy 400mghz clone computer which executed somewhere btwn 1/2 the speed of a tortoise and twice the speed of a chameleon:laugh::laugh: zimcoder What Democracy?? Jesus Christ is King and if you do not like... well you can go to hell!
-
Granting write privileges to the aspnet user account -
Configurable signoff timeout.Set the timeout value in your web.config file Set the timeout value in the session start method like this protected void Session_Start(Object sender, EventArgs e) { Session.Timeout = ConfigurationSettings.AppSettings["Timeout"]; } Try calling the FormsAuthentication.SignOut() method again in the Session_End method zimcoder What Democracy?? Jesus Christ is King and if you do not like... well you can go to hell!
-
How can i write event handlers for a dynamic created controlYou could use delegates to handle the eveents triggered by the controls this.MyButton.Click += new System.Web.UI.ButtonClickEventHandler(this.MyButton_Click); This should be able to asssociate the click event raised on the MyButton control to the MyButton_click method zimcoder What Democracy?? Jesus Christ is King and if you do not like... well you can go to hell!
-
Learn Asp .NETThere several places to go to learn ASP.NET Here are some of them To get you started by building something useful http://www.devhood.com/tutorials/tutorial\_details.aspx?tutorial\_id=96 Some rudimentary fundamentals http://www.takempis.com/aspnet\_fundamentals.asp A free e-book http://www.learnasp.com/freebook/learn/ A directory of tutorials http://www.programmingtutorials.com Reference sites http://www.123aspx.com/directory.aspx?dir=69 http://aspnet.4guysfromrolla.com/ You should be able to learn quite a lot from these Beginning ASP.NET programming published by wrox is a good book to start with zimcoder What Democracy?? Jesus Christ is King and if you do not like... well you can go to hell!
-
Restricting text entry in a textbox to numericals onlyThanks So much Muru;)gavel S!!! zimcoder What Democracy?? Jesus Christ is King and if you do not like... well you can go to hell!
-
Restricting text entry in a textbox to numericals onlyHi I have a textbox on my webform. I want to restrict the data entered into the textbox to numericals only. When someon types into the textbox they must not be able to type any other character except numbers. Is it possible .. Please help with sample code Thanks zimcoder What Democracy?? Jesus Christ is King and if you do not like... well you can go to hell!