Advatages Of .net Compare Than Other Technologies?
Feb 25, 2010Advatages of .net compare than other technologies
View 5 RepliesAdvatages of .net compare than other technologies
View 5 RepliesWhen attempting to place controls in different content areas using Masterpages and trying to use a compare validator, I get the error: Unable to find control id 'txtStartDate' referenced by the 'ControlToCompare' property of 'cvlDate'. I have also attempted to set it within the c# code behind in page load: cvlDate.ControlToCompare = txtStartDate.ID and by using findControl there must be an easy way to achieve this?
<asp:Content ID="Content4" ContentPlaceHolderID="leftForm" Runat="Server">
<asp:Label ID="lblStartTimeEnter" runat="server" Text="Start Time:" Width="100px"/>
<asp:TextBox ID="txtStartTime"runat="server" MaxLength="50" Width="250"/>
</asp:content>
<asp:Content ID="Content4" ContentPlaceHolderID="rightForm" Runat="Server">
<asp:label ID="lblEndDateEnter" CssClass="formMargin labelInput" runat="server" Text="End Date:" Width="100px"/>
<asp:TextBox ID="txtEndDate" CssClass="formMargin" runat="server" MaxLength="20" Width="250" ClientIDMode="Static"/>
<asp:CompareValidator ID="cvlDate" runat="server" ControlToValidate="txtEndDate" ControlToCompare="txtStartDate" Operator="GreaterThan" Type="Date" ErrorMessage="Start Date must be before End Date" > *</asp:CompareValidator>
</asp:content>
Is it possible for us to integrate the junit test cases for an application for which we are developing using the ASP.Net Platform?Since I am from Java j2ee Tech background, have a very less knowledge on .Net Technology
View 1 RepliesI am using compare validator to compare date... But Its not working ...I have used calendar extender...with date format as "dd/MM/yyyy"...
View 3 RepliesI often come across some nice web sites and I want to know what technologies (PHP, JSP, ASP.NET, etc) are used to build those web sites.The web address of some web sites end with ".aspx", ".php", ".jsp", etc. But some web address do not contains any indicators.Is there any systematic way we can use to know the technologies used by a web site?
View 4 RepliesMy background is asp.net development and I took part in several projects where developer team was free to choose server-side programming technology (PHP, ASP.NET[Web Forms/MVC], JSP) & free to buy any CMS. Looking backward I realize technology & approach we chose often wasn't the best one. I'll enumerate some projects: One web portal (ASP.NET Web Forms) - Originally It was .Net Nuke every developer knew nothing about & was snobbish enough to learn. Previous team modified Nuke engine the way it couldn't be upgraded (they added rows and relations to standard tables). So we rewrote it from the scratch. Big mistake. We spent a year to achieve previous functionality. Business felt trapped - they could not fire us and could not stand us. Another web portal (ASP.NET Web Forms) - Portal was very specific (trading) so we start developing from the scratch. Everything was fine half a year but as project grew business wanted to see more and more basic functionality (forums, blogs). May be we should wrote lots of modules for standard cms instead of developing from scratch. One specific 5-paged site with massive reporting - ASP.NET MVC and it was ok. Several small specific questionnaires - ASP.NET MVC and it was ok also. There were projects where I had to support legacy web systems and there was no choice. I feel (and it's very subjective) that server-side technologies niches are the following (when you have a choice what to choose):
Standard company sites & blogs/forums/communities (the most part of all web development) - is PHP CMS area (Wordpress, Joomla, Drupal e.t.c.). If team has asp.net background they should choose asp.net CMS (Nuke, Sharepoint) Small / Specific sites - PHP/ASP.NET niche (but if it can grow choose CMS from the very beginning) Intranet company ecosystems - ASP.NET mostly (CMS or not) I know every task can be accomplished with technologies you are most familiar with, but what do you think of nowadays niches? Shall developers use CMS for every site larger than 3 pages as every site functionality tends to grow and there are lots of modules written for us? Even if site looks too specific it's better to write modules for well-known CMS than to write sites from scratch. What is JSP niche?
I want to know if there are other web development technologies which have something like ViewState of ASP.NET
View 1 RepliesI worked on NHibernate around 4 years ago, now in one of the project I want to implement it again. Can someone share their experiance about latest tools available to speedup the development of NHibernate.I have used a tool to generate ORM Mapping (I think its name was Puzzle.Net)
View 4 RepliesWe're planning to build a web application that needs to be highly secure because a lot of money and reputation is at risk. Therefore I'm looking for tools and technologies that in that endeavor. The tools and technologies should prevent things like SQL injection, cross-site scripting vulnerabilities, remote code execution etc.
Our team has a solid knowledge about such vulnerabilities. But every developer makes mistakes, and a simple mistake shouldn't lead to a security vulnerability. They should be prevented or detected by web application framework, application server, programming language, security library, code analyzer etc.
A simple example: If you insert data into HTML, it needs to be escaped so it's properly displayed and not misused for injecting scripts. Some web application frameworks put this burden on the developers. If they forget the escaping in one place, they've got a security problem. A good tool wouldn't just do the escaping automatically, it would even prevent the developers from doing it forcefully.
I'm not looking for recommendations regarding the firewall (we have a good one), hardening the operating system (that's part of the plan), use of encrypted communication (it will be the only option) and secure authentication (a hardware token will be used). Rather, the recommendations should center around the application server and the web application software to be built.
We also fully understand that writing secure software is more than just technology: It involves knowledgable people, management attention, time and money and software quality processes. So far, this is not the problem and not the focus of this question.
I should mention that we have a certain bias towards Java and .NET.
So what tools and technologies or combinations thereof can you recommend us?
I am having a scenario, where i need to decode ASP.NET FormsAuthentication Cookie in other language to accomplish Single Sign-On.
I am having a ASP.NET website, that also has WCF Authentication service. But I have just come know that even Java and PHP Application are also going to use my Authentication Gateway to authenticate user and so enable Single Sing-On.
I am done with the same in .NET application but to perform same in non-.NET techs, I need to decode FormsAuthentication Cookie of browser. FormsAuthentication Cookie are Encrypted so there must exist a algorithm that can decode it or a kind of dll that I can load in Java and read it.
Does anyone know how to convert backend data to a json response using .NET technologies? It'd be nice to have this and use jquery to call some information on the backend.
View 1 RepliesI am trying to check for a condition such that a date in an input control (textbox) is not greater from a date 1 years from current date(exactly) and also it should not be less than a date 1 year back from current date. for eg. if today's date is "21/dec/1990" then usen cannot enter a date in textbox which is less than 21/dec/89 and it should not be greater than 21/dec/1991. for this i first tried to confirm the greater than condition, i wrote the following code:
<asp:TextBox
ID="TxtSessionFrom"
runat="server"></asp:TextBox>
<asp:CompareValidator
ID="CompareValidator1"
runat="server"
ControlToValidate="TxtSessionFrom"
ErrorMessage="CompareValidator"
Operator="GreaterThanEqual"
Type="Date"></asp:CompareValidator>
CompareValidator1.ValueToCompare=(DateTime.Now.AddYears(1).ToString());
but this gave an error: The value '' of the ValueToCompare property of 'CompareValidator1' cannot be converted to type 'Date'.
This is a question for who works with both PHP and ASP.NET/C#/VB.I plan on learning both languages over time, but I am curious in the order you learned both technologies? And Why?Maybe you just chose by time/ease to become good in the language or you just prefer one language over the other.I want to learn both technologies so, if for some reason my projects don't workout, I have a backup plan as a web developer for clients. I would really like to service both sides of the isle, Windows and LAMP
View 10 Replieshave a look at this panel:how can i get the word "Technologies" written on the top left corner of the panel control with the panel having a red border?please somebody show me the .aspx of doing the same.
View 1 Repliesi want to develop an asp.net mobile web application whith Ajax features. i dont khnow whether these technologies are supported in mobile developpement?
what stups should i follow to make such project ( IDE + SDK....) . finally what are free windows mobile emulator ( except Microsoft ones)?
I want to compare the strings. Its about Disambiguate Doctors profile... If there are four or five members having same name i have to check whether they are same person or not ... If i have smith for five times in my table then i have to check all the five persons like,by having their lastname as comman. check attached form.
Attached Files String Compare1.zip (2.4 KB, 4 views) ThatThatGuy EB Join Date: Jul 2009 Location: INDIA (MUMBAI)
Posts: 424
#2:
May 11 '10
re: How to Compare Strings
String.Equals() will check for same string
I want to compare two asp.net sources and find different could you introduce me a software inside or outside of visual studio ?
View 3 RepliesI have two datasets, each of containing single column. I want to compare each row of first dataset with each row of second dataset and check if any match in the data.How can i implement such a login in VB.NET with minimum iterations.
View 2 RepliesI have 2 image columns in SQL server table.How can I compare the image columns to see if they are equal? I am using VB in asp.net or I could do it in SQL too.
If imagefield1 = imagefield2 then
'Code here
end if
I have two textboxs consists of date.
Textbox1 = 11/09/2010
Textbox2 = 12/11/2010
I would like to compare those 2 dates actually months. If months are different i would like to do something else.
How do you compare the security of websites built in ASP.NET with other websites bulit in other technologies such as Ruby on Rails, PHP..?
View 3 Replies I have 2 datsets named ds and ds1 and merged that datasets into a single table named dt. Now, i want to compare the first dataset row value with second dataset column values For Ex: 1 dataset row contains the value as "SriDevi" means, i want to compare and find how many times the value "SriDevi" appears in second dataset columns and count the appearance. And give the answer as the "count".
[code]....
How to do in LINQ? And below is correct or not if put string.format in LINQ?
[code]....
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
string[] Cardio = (string[])objDocter.getDocter_acc_prof();
if (e.Row.RowType == DataControlRowType.DataRow)
{
if (e.Row.Cells[2].Text == "Heart problem")
{
[code]...
i want to compare two template column in grid view,but it is not working
Im using this script to flag if a record has been altered in two indentical tables :
[Code]....
Is there a simple way to check which fields have altered and update these fields (ie - add a *c* in at the start of each field)??