C# - Basic Measures Upon Building A Good Form?
Mar 8, 2011
Basic measures when building forms that interact with the sql database. What are the security measures (check insert strings, sql injection etc), and Do people use special controllers in order to format their data? I am using GridView and realizing its tables, which I dont like. If so are there any suggestions for data formatting controllers?
View 3 Replies
Similar Messages:
Oct 30, 2010
I need a login form (user/pass) using LINQ.
I need a sample code for this. Its urgent ...suggest how can i do it ASAP . any open project from where i can take the login part ?
any code you dont mind sharing ?
View 2 Replies
Jun 30, 2010
I have an idea of how to do what I have in mind, but I would prefer to ask for some advice just in case anyone can think of a better way.The idea is a simple application where administrators can upload any kind of file. Once the file is uploaded, they give out a username and password to a client, and the client will then access a private area where they will be able to view specific files available for them. ALL THIS IS DONE. My question is... because the browsers can process certain type of files (for instance a JPG or a PDF), they won't automatically prompt the client to save it on their computer, and they will open int he browser. I have solved this issue before by adding a few lines of code to the Response and modifying the content type, something like: Response.Clear(); Response.AddHeader("content-disposition", "attachment;filename=logo_large.gif"); Response.ContentType = "image/GIF"; Response.WriteFile(Server.MapPath(@"~/logo_large.gif")); Response.End();However, that would mean I'd need to change the content type for each file (JPG... GIF... PDF ... WORD FILE). So I'd need to find out the content type for each one, and dinamically change it. This way it would force the download for all files. Now... is there an easier way? Remember that I need to have many different type of files, if it was only JPGs for instance, it would be easy.
View 2 Replies
Jul 20, 2010
I am working on building a custom form builder module for our customers ... and wondering if you know any good .NET code base references for this module.
Requirements:
Customer should be able to add a form field(radio button, text box, dropdown menu) and customize the values real time.
View 1 Replies
Jan 5, 2010
I'm trying to build a login form to authenticate google account using asp.net, I have read and found something but It's not clear.
View 3 Replies
Sep 8, 2010
I am trying to figure out what are the basic assemblies required to run a basic ASP.NET 4.0 website. Say.. a website with just a label in it. I looked online and didn't find a list there. I know installing the framework 4.0 will give me all the dlls but I just need the basic ones that will make a basic site work on ASP.NET 4.0.
View 1 Replies
Feb 10, 2011
I am developing a website in asp.net and i want to know that what all security measures are we suppose to take when it comes to develop a website
View 3 Replies
Jan 25, 2011
I allow user to select metric or standard scale (KM/Miles) when setting up a profile. They can lookat a list of all users entries, which should be displayed as Std or Metric based on their selection.
View 4 Replies
May 20, 2010
I am currently working on an ASP.NET 3.5 and C# web application which deals with users private information like SSN numbers. What are some of the security measures which I need to take from an application development stand point to feel safe?
View 4 Replies
Mar 19, 2011
I just want to have good idea about Versioning problem! and how .net recovered from that? Can i have some depth info in the same!?
View 1 Replies
Oct 29, 2010
Which detect location most accurate.
View 4 Replies
May 29, 2010
instead of using gridview to insert student marks (I have hundreds of students) thought I used the Excel:
1) allow managers of each module after authentication to download the excel file (containing the students enrolled in the given module), the excel file ted is generated by the following code: Id_student ____ maks of subject1 -------- ----maks of subject2
[Code]....
But in this code I do not know how to:
* Add the following condition: the student'marks is between 0 and 20.
* Calculate the average of this module : sum (coeff * mark) / sum (coeff)
2) Allowing responsable module send me the file containing the data (but then I do not know how)
3) Using data, by sending them to the database to calculate averages.
View 3 Replies
Dec 10, 2010
Is there any good CMS for ASP.NET like drupal, joomla ?
View 2 Replies
Mar 9, 2011
I looked at Google's, but my boss shot it down because it involves adding a script to every page you want to track. I keep searching the web, but the stuff I am finding seems to be crap or not work all together. This is mainly for internal sites, not external. Seems liek a lot of the stuff I am finding want to give me remote statistics to a publically available site.
View 3 Replies
May 24, 2010
I work for a small E-Commerce shop and we are looking for a process that will handle resizing our product images dynamically. Currently our designers take high resolution photos, either provided by the manufactures or created in house, and alter them to fit various pages on our site. The designers are constantly resizing, cropping, altering compression levels, etc., of each product photo to fit the needs of the business. Being that our product line is updated frequently, this becomes a monotonous task.
Abobe Scene7 does exactly what we are looking to do and the images are served up from a CDN. Unfortunately we found it to be too expensive.
I'm curious to learn how others handle this process at their organizations. Does anyone know of any good 3rd party tools or other SAAS providers that can handle performing some basic image manipulation and serving them on the fly?
View 2 Replies
Jan 15, 2011
I've followed the standard example of in
http://www.asp.net/ajax/ajaxcontroltoolkit/samples/autocomplete/autocomplete.aspx which demonstrates using AutoCompleteExtender. Everything works fine but the auto-complete appears with about 20 pixel distance below the bottom of its target control. I mean they are not glued to each other as they should be. I've not changed anything and also I've not applied any special styling using CSS or anything else. why this ugly distance is formed while the control is rendered.
View 1 Replies
Jan 19, 2011
I'm currently using the fantastic DorkNozzle 'framework' for building a very basic blog in .NET.My first "self-taught" script is as follows, and is for solely retrieving SQL results.
PHP Code:
<%@ Page Language="C#" MasterPageFile="~/Dorknozzle.master" AutoEventWireup="true" Title="Blog" %>
<%@ Import Namespace = "System.Data.SqlClient" %>
<script runat="server">[code]....
I should change to perhaps improve my coding style, without going down the MVC line just yet?
View 17 Replies
Jan 13, 2011
My boss has it in his head that we need to be monitoring our websites more to see what king of traffic we are getting for but internal and external sites.
View 2 Replies
Oct 6, 2010
I want to learn ASP.NET 4 and C# from scratch to intermediate at least. I want to follow videos. Do you know any good website even if it is paid, I have found this[URL] but I am not sure about it,
View 4 Replies
Sep 15, 2010
i know MVC is the future but for some of us still stuck in the good old webform land, i'm trying to learn how to do TDD and introduce better testing for our current application...
basically the asp.net 2.0 c# web app is quite complicated with some logic in sproc, some in the javascript via json data processing, some in user controls and some in the code behind. not to mention some libraries here and there to make it merrier. i have literally no idea how to even begin to break things down to smaller chunks to do any testing.
View 5 Replies
Jul 15, 2010
Our company now has over 40 tutorial videos and I'm looking for a video gallery app.
Something that would be similar to:[URL]
or
[URL]
Does anyone know of any PHP or asp.net solutions? I'd rather not re-invent the wheel. As there are a ton of hidden functions like sorting, most popular, tagging, comments, etc.
View 1 Replies
Jan 10, 2011
I have a String that contains the following: ?workarea=London+&+Home+Counties+Ltd&sub=fs&&&FASh*5which resembles a URI query string. What is the best way to parse the elements of this string (workarea and sub) without messing about with string manipulation?If I use HttpUtility.ParseQueryString is gets stuck as both elements include &. However if I encode the whole thing first I lose the seperations of the elements. Ideally the output would be:workarea = London & Home Counties Ltdsub = fs&&&FASh*5
View 4 Replies
Feb 17, 2010
I am recently a layed off windows developer. It appears the only jobs available now are for web developers. I'm trying to learn this on my own but I think prospective employers might be more apt to hire a newbie if they have some accredited training.
Can anyone recommend some good online schools that have good asp.net training? I don't necessarily want another degree, just the training.
View 2 Replies
Feb 14, 2011
I am having a lot of trouble with WCF web service over SSL / HTTPS, so I was wondering if (as a quick fix) I could serialize the object, convert that to a byte array, encrypt the array, pass the encrypted array.
On the other side receive the encrypted array, decrypt the array, convert from the array and then deserialize the object.
View 1 Replies
Feb 28, 2010
I'm completely new in web service. I want to study about it and the use it in my web site?
View 4 Replies