No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Sr. Developer
37 Posted Topics
Hi, Can anybody explain me how to create a sealed class on c++. thanks in advance, kedar | |
Re: [QUOTE=plazmo]would Debug.Assert() do what you are trying to do>?[/QUOTE] Hi, You can add the conditional compilers in the property pages of the solution also. Thanks, Kedar ![]() | |
Re: [QUOTE=mcupryk]I need to remove the prefix(domain name) if exist in front of a username from a session variable. paramsql.Value = Session("ssNtUser") say the domain is za username is macupryk I would like to remove the za\ so in the session variable I have macupryk only but the domain name can … | |
Re: Hi, Google defines the PageRank as below [QUOTE] PageRank extends this idea by not counting links from all pages equally, and by normalizing by the number of links on a page. PageRank is defined as follows:[indent][i]We assume page A has pages T1...Tn which point to it (i.e., are citations). The … | |
Re: Hi, In ASP.Net perspective 3 tier architecture is to seperate the business logic from the presentation logic. 3 tier architecture consists of [QUOTE] 1.Presentation Tier 2.Business Logic Tier 3.Data Access Tier [/QUOTE] Basically, ASP.Net itself is designed in 3 tier architecture called Modal-View-Controller also known as MVC architecture. In ASP.Net … | |
Re: Hi, I would suggest you to use "MaskedEdit" control from ajax toolkit. here is the link. [URL]http://ajax.asp.net/ajaxtoolkit/MaskedEdit/MaskedEdit.aspx[/URL] | |
Re: I dont know how you are adding the dynamic controls at the runtime. But while you are create the new Checkbox Object to add to the form, append the same object to a static collection object like Hash Table. protected static Hashtable mRoleCheckBoxList=new Hashtable(); mRoleCheckBoxList.Add(RoleName, NewCheckBox); Here mRoleCheckBoxList is a … | |
Re: [QUOTE=_priya_]Hello Friend, I didn't get any private messages from you in DaniWeb.[/QUOTE] Hi Priya, Im kedar. You are doing good job. Here I have a question for you. Could you please let me know the technologies you are used for your portal site "ITPortal.org". I assume it should be plumtree. | |
Re: Hi Neeraja, U need to retain the old value before updating the string 's'. Use the follwoing code. [code]if(Session["mykey"] != null) s = Session["mykey"] as string; s = s + "First Name :\n"; // The value of s is always the last value and is not appending. s = s … | |
Re: give same machine key in web.config file on both servers. | |
Re: Hi Irfan, Could you please be more specific. You mentioned you have a problem to call web method. What is it? | |
Re: Can you post the code. I suspect the problem might be in creating the event handlers... | |
Re: If your application is written in ASP.Net 2.0 , you can create a master page that will be the template for all pages inside the web site. Or if it is asp.net 1.1, you can create a base class using the PageTemplate design pattern and all other pages will extend … | |
Re: Hi Aravind, There are lot of ways to attain interacation between the Layers and it totally depends on ur application architecture. The simplest way is to return the String error messages. you can use out parameters. You can write ur own class that extends "EventArgs" and pass it as a … | |
Hi, Can anybody let me know how to stop the postback event on button click in firefox. Thanks in advance. | |
Re: [QUOTE=sandy2005]Hi I have found the following code for Redirecting the user to loginpage on Session timeout : /////////// Protected WithEvents body As System.Web.UI.HtmlControls.HtmlGenericControl Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load body.Attributes.Add("onLoad", "window.setTimeout(""window.location.href='login.aspx'""," & (Session.Timeout * 60 * 1000) + 5000 & ");") Response.Write("Wait for session … | |
Re: [QUOTE=DMR]Nope; there's only [i]one [/i]Bay Area- the San Francisco Bay Area. :mrgreen: Hey servertweak, I'm in Fairfax (Marin county); where are you?[/QUOTE] Hi Guys, Im from mountian view | |
Re: Hi, exactly i didnt get what ur trying to do. Where ur not getting the security tab. If it is in the ASP.Net add-in to the IIS manager, then we don't have security tab there. it will show you the Authorization and Authentication tabs. Regards, Kedar | |
Re: [QUOTE=Pscsc]Hello Im new to c# , I found delegates very difficult to understood can any one recommend a good sites , examples , books or any thing that can make it simple to me ,, thank you[/QUOTE] Hi, Delegates are the objects that stores reference to methods. This is similar … | |
Re: Hi Deepa, What do you mean by local remote system? | |
Re: [QUOTE=kintug]I have made a "Web setup" type project to deploy a ASP.net C# application. I cannot find the option to specify the physical path for the virtual directory where the application will be deplyed. By default it installs in "\\Inetpub\wwwroot". Please let me know if somebody has a solution to … | |
Re: [QUOTE=cumadhu]Hi All, I am working on a web site project.<BR> And it has the following set up:<BR> web site name: [B]madhu[/B] and <BR> Local path: [B]C:\madhu\Folder1[/B](uses [B]web.config[/B] file which is in [B]Folder1[/B] only).<BR> But i have one file in [B]C:\madhu\FolderXYZ\FileABC.doc[/B].<BR> If i try to access the FileABC.doc(Try to open the … | |
Re: [QUOTE=campkev]the only way I can think of would be to create your own class.[/QUOTE] Hi, Is there any perticular reason to use the Array. In Array datastructure the objects are indexed based on the integer value. If you want to store the Key-Value pairs,you can use the following objects provided … | |
Re: [QUOTE=cscgal]Hi TC ... welcome to DaniWeb! :)[/QUOTE] Hi Daan, You are the cutiest girl i ever seen | |
Re: [QUOTE=Bomba]Is this impossible or did I not make the question plain enough? I have 2nd graders looking at me.[/QUOTE] Hi, Anyways, its not possible to have two onload() methods in a single page.But u can solve this problem by using Timer. Hi Tigreer, I thought the same. Thanks, Kedar | |
Re: [QUOTE=Acidburn]How to show a txt box? Basically I'm a newbie at this, done c++ console writing for a year now and moved on to win32. I've made a new project in .Net 2003... got it to load and have a close button using the following code: [code] private: System::Void button1_Click(System::Object … | |
hi all, I found this dite yesterday from Google. i really impressed very much. It's providing lot of features when compare to other forums. I regularly visit MS.Net forums and I feel this is much better than that. a little bit about me.. I'm a Sr.Developer working on .Net technologies … | |
Re: Hi Ravi, This solution looks very strange to me. If you requirement is just to increment the U_Id value on insert of new record, u can do that in the database level rather than using c# code. How can you insert the alphanumeric value in to the U_id (numeric) field … | |
Re: [QUOTE=aarya]i used to save my asp file as localhost/myweb/a.asp it is working.i ahve downloaded the .netframework 1.1 to suport aspx extension and stored in wwroot/myweb directory. the storing the file is same as asp right? is it different. if it is the same then my a.asp is working why not … | |
Re: Hi, try this. if(drv("mn_checked") != null && drv("mn_checked").ToString <> "") e.Item.Cells(2).Visible = true; else e.Item.Cells(2).Visible = false; thanks, Kedar | |
Re: Hi, can u try this. [QUOTE] [b]int myCounter = 0;[/b] foreach (DataGridItem spriden_ID in dgEmployees.Items) { CheckBox cbSpriden = (CheckBox) spriden_ID.cells[i][index];[/i] if (cbSpriden.Checked) { //Stuff to add to db here [b]myCounter++;[/b] } else { lblStatus.Text ="Scheduling failed: " + addCourses.ErrorMessage; } } [/QUOTE] Thanks, Kedar | |
Re: [QUOTE=topaz]Hi I was planning to create an online dating system for my final year project, i jus need ideas on how i could go ahead with implementing the project. Thank you[/QUOTE] Hi Topaz, When we are going to design any project we need to mind the following things. [list] [*]Authentication … | |
Re: [QUOTE=campkev]can you post the exact error you are getting[/QUOTE] Hi, I dont think the problem is with the capitalization and you are using the correct format. Here you code is a little bit confusing. I can't understand why you are extending the TcpClient class and adding socket object to it. … | |
Re: [QUOTE=red1980][B]Here you are: ASP.Net Web Page Processing [/B] That's actually not the life cycle, that's the asp .net pipeline.[/QUOTE] Hi Red, You are right. It is HTTP request processing pipeline explains how the request is manipulated by different objects. But Page Event Life Cycle contains all the events and methods … | |
Re: [QUOTE=campkev]Hard to say without seeing code. Do you use the same name for the session variable for both? Maybe change the name of the auditor session variable, eg: Session["username"] and Session["Auditor_username"][/QUOTE] Hi, I don't think it's problem with Session variables. Anyway IIS will create two seperate sessions for each user … | |
Re: Hi, We need to change the IIS Authentication mode in order to Debug the application. 1. Go to Administative Tools, Open IIS. 2. Go to properties of the virtual directory of your application. 3. Choose the Directory Security Tab under properties, Click on the edit button. 4. Check the "Integrated … | |
Re: Hi ;) , you are giving the session timeout in your code, that might the problem. Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs) [I]Session.Timeout = 100[/I] Session("Loggedin") = "No" End Sub Please remove the session timeout and try it. thanks, Kedar |
The End.