Search

You searched for the word(s): userid:857198

Matching Posts

  • Check Constraint. SQL Server

    Hi All, Can anyone tell me what's wrong wid this SQL Statement?? ALTER TABLE EMT_REMINDER ADD CONSTRAINT CHK_REPEAT CHECK (REPEAT IN ("'M","Y","W","D")); what I want is to make sure that REPEAT should have any of these values... M,Y,W,D Thanks, CJ
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by SejayPasswd1 on 10/2/2009
    Filed under: sql serVER 2008 constraints
  • Re: RE: Access Keys

    Wonder why Accesskey is not working for me while using Firefox?? But it works on Alt + Key on IE.
    Posted to Getting Started (Forum) by SejayPasswd1 on 4/7/2009
  • Re: Simple File Upload - files not saved

    hi.. This suggestion should solve your problem. And make sure 'Img' folder exists. Also, the uploaded file is not more than 4 mb unless you haven't made the necessary changes in webconfig file.
    Posted to Getting Started (Forum) by SejayPasswd1 on 4/2/2009
  • Re: using OpenFileDialog for a web application

    You can do this with the help of FileUpload control. <asp:FileUpload runat="server" ID="FupWorksheet"/> for more details try this link: http://www.dotnet-webhosting.com/aspnet-2-0-tutorials/asp-net-2-0-fileupload.aspx
    Posted to Getting Started (Forum) by SejayPasswd1 on 4/1/2009
  • Re: How to display Date.

    Hi, Here I am gonna use a bool variable bool IsUserExists which I haven't used for any processing. if you wish you can use this as a flag variable for any further processing. if (reader.Read()) T his checking makes sure that the date is displayed only when a user exists. Otherwise a USER NOT FOUND message will be displayed. bool IsUserExists; string Userdate; SqlDataReader reader; SqlConnection connectionSql = new SqlConnection(@"Your connection string"); SqlCommand commandSql = new
    Posted to Web Forms (Forum) by SejayPasswd1 on 4/1/2009
  • Re: How to display Date.

    [quote user="Munna1980"] Hi Thank you very much for your response when i tried the query it throwing error in the below. "An error occurred during the compilation of the requested file, or one of its dependencies. The name 'Date' does not exist in the current context " Date needs to be declared? this is my code.. string UserName = web.CurrentUser.ToString(); int userExists; string sConnection = "Connection String here..."; SqlConnection connectionSql = new SqlConnection
    Posted to Web Forms (Forum) by SejayPasswd1 on 3/26/2009
  • Re: Sql server injection

    [quote user="Naom"] Using parameters doesn't completely free you from the SQL injection attacks. The user can still type some script in the textboxes and it could be inserted into your database. [/quote] You are right Naom. Parameters may not stop Scripting. But can we consider this Scripting as SQL injection?? Well I don't think so. It should be treated as as entirely different method and parameters will solve any issue of SQL Injection.Isn't it so?? Thanq
  • Re: Sql server injection

    Hi, It’s always important that you make sure your application is safe against SQL Injection especially when using VS 2003. Later versions prevent this implicitly. Like any other security measures, how much you care about the potential threats depends upon the type of application you develop, I mean how secure u need the application to be. And when it comes to SQL injection, you can take at least 2 steps to prevent it. 1) Client side validations 2) Usage of Parameters Client side validation might
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by SejayPasswd1 on 2/26/2009
    Filed under: sql injection
  • What happend to ASP.net 3.0??

    What happend to ASP.net 3.0?? Why did MS released ASP.net 3.5 after ASP.net 2.0?
    Posted to Free For All (Forum) by SejayPasswd1 on 2/26/2009
    Filed under: .Net, .net 3.5
Page 1 of 2 (11 items) 1 2 Next >