User Profile

Collapse

Profile Sidebar

Collapse
BlackEye
BlackEye
Last Activity: Jul 29 '08, 05:09 AM
Joined: Jul 23 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • BlackEye
    replied to fonts enlarge on postback
    in .NET
    if you are talking about the source code of the page, here it is:

    Code:
    <%@ Page Language="C#" AutoEventWireup="true"  CodeFile="LoginScreen.aspx.cs" Inherits="_Default" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml"
    ...
    See more | Go to post
    Last edited by Curtis Rutland; Jul 27 '08, 10:46 PM. Reason: the code tag in frinny's quote was messing up the formatting.

    Leave a comment:


  • BlackEye
    replied to fonts enlarge on postback
    in .NET
    The text size increases with the first postback. Then it remains large even after subsequent postbacks. The size does not increase further....
    See more | Go to post

    Leave a comment:


  • BlackEye
    replied to validate entries using an sql table
    in .NET
    it worked! It worked!! IT WORKED!!! Thank You!!!!...
    See more | Go to post

    Leave a comment:


  • BlackEye
    replied to validate entries using an sql table
    in .NET
    i tried it.
    but the only values it is now validating are the column names. if i enter any other values, even those which are present in my table, the debbuging stops and it gives me the following error:
    [Invalid column name 'master'.
    Invalid column name 'master'.]

    both username=master and password=master should be valid entries according to my table....
    See more | Go to post

    Leave a comment:


  • BlackEye
    replied to validate entries using an sql table
    in .NET
    1.) this code is supposed to fetch data from the table and fill the data set with this data using a data adapter (at least that is what i aimed to do, let me know if i am wrong)

    2.) the user enters username and password into textboxes whose ID's are UserName and Password respectively...
    See more | Go to post

    Leave a comment:


  • BlackEye
    replied to validate entries using an sql table
    in .NET
    this is my complete code:

    Code:
    using System;
    using System.Data;
    using System.Configuration;
    using System.Web;
    using System.Web.Security;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using System.Web.UI.HtmlControls;
    using System.Data.SqlClient;
    
    public partial class _Default : System.Web.UI.Page 
    {
    ...
    See more | Go to post

    Leave a comment:


  • BlackEye
    replied to validate entries using an sql table
    in .NET
    the user and password values are entered by the user who wants to log in.
    these values are to be validated from existing values in a table with feilds LoginID and Password...
    See more | Go to post

    Leave a comment:


  • BlackEye
    replied to validate entries using an sql table
    in .NET
    i have iserted the spaces u suggested. the error hsa now changed to:
    [The multi-part identifier "System.Web.UI. WebControls.Tex tBox" could not be bound.]
    the error is still on the same line....
    See more | Go to post

    Leave a comment:


  • BlackEye
    replied to validate entries using an sql table
    in .NET
    i have now tried the following code:


    Code:
            SqlConnection myConnection = new SqlConnection("data source=myPC;database=myDB;uid=abc;password=abc123");
    
            myConnection.Open();
    
            Response.Write(ConnectionState.Open);
            
            DataSet dsFillData = new DataSet();
    
            SqlCommand cmdobj = new SqlCommand("Select * from tbl_LoginIDsets",
    ...
    See more | Go to post

    Leave a comment:


  • BlackEye
    replied to fonts enlarge on postback
    in .NET
    thanx for the suggestion...bu t i dont want to use style sheets right now and keep my application as simple as possible. i dont think such a problem should surface when style sheets are not in use. am i doing something wrong or is it possible that something could be wrong with my software?...
    See more | Go to post

    Leave a comment:


  • BlackEye
    replied to fonts enlarge on postback
    in .NET
    thanx for replying

    no i'm not using any style sheets. i dont need them yet.

    its just a simple screen with labels, textboxes and a button.

    the problem remains...
    See more | Go to post

    Leave a comment:


  • BlackEye
    started a topic validate entries using an sql table
    in .NET

    validate entries using an sql table

    Hi all!

    i want to validate the user name and password using an sql table i created.
    i have tried the following code:

    Code:
    SqlConnection myConnection = new SqlConnection("data source=myPC;database=myDB;uid=abc;password=abc123");
    
            DataSet dsFillData = new DataSet();
    
            SqlCommand cmdobj = new SqlCommand("Select * from tbl_LoginIDsets", myConnection);
    ...
    See more | Go to post

  • BlackEye
    started a topic fonts enlarge on postback
    in .NET

    fonts enlarge on postback

    hi

    everytime my .net page reloads after pressing a submit button, the fonts get enlarged. i dunno why this happens and how to check this

    can anyone pls help me on this...
    See more | Go to post
No activity results to display
Show More
Working...