Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

sritha

@sritha
About
Posts
8
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • fields for a table in database
    S sritha

    i want to develop a fresher website. i need to post the news for students in home page itself. for that i need to create a table at the backend which is related to news. i included the fields like news id title category subcategory author....................... can you please guide me for some more fields required for news table

    ASP.NET database tutorial announcement

  • login page
    S sritha

    we completed the registration page in our project and whatever the details we have given in that registration page they are also going to update in the backend also. but whatever the username and password we have given in the registration page is not accepted by the login page.while giving the username and password it is showing the error like below object reference is not set to an instance of an object code i have written for registration page bal data = new bal(); data.FirstName = Text_FirstName.Text.Trim(); data.LastName = Text_LastName.Text.Trim(); data.Gender = Text_Gender.Text.Trim(); data.EmailId = Text_EmailId.Text.Trim(); data.UserName = Text_UserName.Text.Trim(); data.Password = Text_Password.Text.Trim(); data.ConfirmPassword = Text_ConfirmPassword.Text.Trim(); data.Country = ddlCountry.SelectedItem.ToString(); data.State = Text_state.Text.Trim(); data.City = Text_City.Text.Trim(); data.Dob = DateTime.Parse(Dob.Value); data.PhoneNumber = Text_PhoneNumber.Text.Trim(); data.MobileNumber = Text_MobileNumber.Text.Trim(); data.Currentlocation = Text_Currentlocation.Text.Trim(); data.PreferedJobLocations = Text_Location.Text.Trim(); data.JobCategory = ddljobcategory.SelectedItem.ToString(); data.KeySkills = Text_KeySkills.Text.Trim(); data.HighestQualificationheld = ddlhqh.SelectedItem.ToString(); data.SpecialisationMajor = ddlspecialisation.SelectedItem.ToString(); data.Institute = ddlinstitute.SelectedItem.ToString(); data.YearPassedOut = ddlyrpassedout.SelectedItem.ToString(); try { int res = data.insertreg(); if (res > 0) { Page.RegisterStartupScript("SS", "<script> alert('Completed Successfully');</script>"); } else { lblmessage.Text = "registration failed"; } } catch { } i have used 3 tier architecture the code in the dal layer for registration page static SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["conn"].ToString()); internal static int insertreg(bal bal) { //throw new NotImplementedException(); con.Close(); con.Open(); SqlCommand cmd = new SqlCommand("sp_reg", con); cmd.CommandType = CommandType.StoredPr

    ASP.NET sharepoint tools architecture help announcement

  • gridview
    S sritha

    i need code for displaying the data in gridview

    ASP.NET

  • validation controls in asp
    S sritha

    i have designed registration form. in that i used a calender for date of birth and date of join . just i drag and dropped the calender and textbox for date of birth.means whatever the date i have choosen in that calender it must appear over the textbox.here my constraint is doj must be greater than date of birth. for this i need validation controls and validation expressions without javascript if i used the validation controls like regular expression validator and compare validator then it is raising the validation even i gave the date of join greater than date of birth and date of join less than date of birth. help me in this regard as soon as possible please help me in this regard

    ASP.NET javascript css regex help

  • validation controls [modified]
    S sritha

    i have designed registration form. in that i used a calender for date of birth and date of join . just i drag and dropped the calender and textbox for date of birth.means whatever the date i have choosen in that calender it must appear over the textbox.here my constraint is doj must be greater than date of birth. for this i need validation controls and validation expressions without javascript if iused the code given by u then it is raising the validation even i gave the date of join greater than date of birth.help me in this regard as soon as possible please help me in this regard

    modified on Saturday, May 9, 2009 1:10 AM

    ASP.NET javascript help

  • registration form
    S sritha

    code written in register button click event protected void Button1_Click(object sender, System.EventArgs E) { //Response.Redirect("confirm.aspx"); if((txtid.Text=="") || (txtfname.Text=="") ||( txtlname.Text=="") || (txtnick.Text=="") || (txtadd.Text=="") || (txtpost.Text=="") || (txtmobile.Text=="") || (txtbdate.Text=="") || (txtemailadd.Text=="") || (txtconfirmpss.Text=="") || (txtyourans.Text=="")) Labelerror.Text =" sorry you for got to input the required fields"; else { SqlConnection conn = new SqlConnection(Application["ConnectionString"].ToString()); String insertCmd = "insert into users values (@StudentID," + "@password, @FirstName, @LastName,@secretquestion, @NickName,@Sex ,@Address, @PostalCode," + " @HomePhone,@MobilePhone,@Religion,@Birthdate,@MaritalStatus,@Title,"+ "@EmailAddress,@answer )"; // Initialize the SqlCommand with the new SQL string // and the connection information. SqlCommand myCommand = new SqlCommand(insertCmd, conn); conn.Open(); // Create new parameters for the SqlCommand object and // initialize them to the input-form field values. myCommand.Parameters.Add(new SqlParameter("@StudentID", SqlDbType.NVarChar , 10)); myCommand.Parameters["@StudentID"].Value = txtid.Text; myCommand.Parameters.Add(new SqlParameter("@password", SqlDbType.NVarChar , 15)); myCommand.Parameters["@password"].Value = txtconfirmpss.Text ; myCommand.Parameters.Add(new SqlParameter("@FirstName", SqlDbType.NVarChar , 30)); myCommand.Parameters["@FirstName"].Value = txtfname.Text; myCommand.Parameters.Add(new SqlParameter("@LastName", SqlDbType.NVarChar , 50)); myCommand.Parameters["@LastName"].Value = txtlname.Text; myCommand.Parameters.Add(new SqlParameter("@secretquestion", SqlDbType.NVarChar , 50)); myCommand.Parameters["@secretquestion"].Value = Drops.SelectedItem.Text; myCommand.Parameters.Add(new SqlParameter("@NickName", SqlDbType.NVarChar , 20)); myCommand.Parameters["@NickName"].Value = txtnick.Text; myCommand.Parameters.Add(new SqlParameter("@Sex", SqlDbType.NVarChar , 20)); myCommand.Parameters["@Sex"].Value = Dropsex.SelectedItem.Text; myCommand.Parameters.Add(new SqlParameter("@Address", SqlDbType.NVarChar , 255)); myCommand.Parameters["@Address"].Value = txtadd.Text; myCommand.Parameters.Add(new SqlPara

    ASP.NET database

  • sessions
    S sritha

    Index (zero based) must be greater than or equal to zero and less than the size of the argument list. how to solve this error in sesions

    ASP.NET css database help tutorial

  • crystal reports
    S sritha

    first i opened a form in windows application. later i added a crystal report to the application and added some information to the crystal report by using microsoft oledb provider for sqlbut it ishowing the error.the code iused there is cust c =new cust(); crystalreportviewer1,reportsource=rpt; it is showing an error like Error 1 'crdemo1.cust' does not contain a definition for 'rpt'

    C# help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups