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
R

rzvme

@rzvme
About
Posts
69
Topics
37
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Must declare the scalar variable error::PleaseHelp
    R rzvme

    Thank you very much. Both of you. I finaly solved the problem.

    rzvme

    Database help csharp database visual-studio security

  • Must declare the scalar variable error::PleaseHelp
    R rzvme

    Thank you. That worked. But now i get another error and i can't seem to determine the cause after i invoke adapt.Fill(ds); /*This is the code of the procedure*/ ALTER PROCEDURE dbo.uspGetBirthdayFriends @CRK INT, @BDATE SMALLDATETIME AS begin declare @ID int declare @BDATE smalldatetime select * from Friends where UserID=@ID and FBirthday =@BDATE end RETURN i get the following error "Procedure uspGetBirthdayFriends has no parameters and arguments were supplied." Thank you

    rzvme

    Database help csharp database visual-studio security

  • Must declare the scalar variable error::PleaseHelp
    R rzvme

    ALTER PROCEDURE [dbo].[uspGetBirthdayFriends] @CRK INT @BDATE SMALLDATETIME AS begin select * from Friends where UserID=@CRK and FBirthday =@BDATE RETURN end same error incorrect sintax near '@BDATE' must declare scalar variable "@crk"

    rzvme

    Database help csharp database visual-studio security

  • Must declare the scalar variable error::PleaseHelp
    R rzvme

    i thought about using stored procedures only i don't know exactly how to do this.(oracle fan) and by the way....even with the @ symbol in front of the parametername i still get the exact same error.

    rzvme

    Database help csharp database visual-studio security

  • Must declare the scalar variable error::PleaseHelp
    R rzvme

    public DataSet Get_Friends_Birthday(DateTime d) { User=0; DataSet ds = new DataSet(); SqlConnection con = new SqlConnection(@"Data Source=.\SQLEXPRESS;AttachDbFilename=" + '"' + @"C:\Users\LadyLara\Documents\Visual Studio 2008\Projects\Private Notebook WebService\Private Notebook WebService\App_Data\Private Notebook Database.mdf" + '"' + ";Integrated Security=True;User Instance=True"); string scom = "SELECT FriendID, FFirstName, FLastName, FBirthday, FE_mail1, FE_mail2, FE_mail3, FE_mail4, FPhone_Number1, FPhone_Number2, FPhone_Number3, FPhone_Number4, UserID FROM Friends WHERE (UserID = "+"@IDUS)"+" AND (FBirthday = "+"@Date)"; SqlCommand sqlcom = new SqlCommand(scom,con); sqlcom.Parameters.Add("IDUS", SqlDbType.Int).Value=User.ToString(); sqlcom.Parameters.Add("DATE", SqlDbType.SmallDateTime).Value=d.ToString(); SqlDataAdapter adapt = new SqlDataAdapter(scom, con); con.Open(); adapt.Fill(ds); return ds; } when it reaches adapt.fill(ds) i get the folowing error. "System.Data.SqlClient.SqlException: Must declare the scalar variable "@IDUS"." Please Help!

    rzvme

    Database help csharp database visual-studio security

  • drag drop operations between 2 listboxes
    R rzvme

    Please if you know how to copy items between 2 listboxes using a drag and drop operation help me out.

    rzvme

    C# help tutorial

  • getting bites from a file
    R rzvme

    how exactly do i use this??

    rzvme

    C# help question

  • getting bites from a file
    R rzvme

    i don't want bytes i want bits(0 and 1)

    rzvme

    C# help question

  • getting bites from a file
    R rzvme

    i tried with that but it retrives bytes (in ascii)

    rzvme

    C# help question

  • getting bites from a file
    R rzvme

    and how exactly do i do this

    rzvme

    C# help question

  • getting bites from a file
    R rzvme

    I need to be able to get every bit from a file (0 and 1). How do i do this. please help

    rzvme

    C# help question

  • label update/get system time
    R rzvme

    i want a label to show the current system time? is there a method/property i can use to get the system time??

    rzvme

    C# question announcement

  • printing from a control
    R rzvme

    i am trying to print from a text box. the problem is that the text from the text box is divided into few very long lines and when i print them i get maybe half a line printed. What is the code that will a start a new line if the string witdh reaches the limit of the paper?

    rzvme

    C# question help

  • exit a function
    R rzvme

    how do i exit a function. in basic there is an axit statement , but i can'd find it in c#.

    rzvme

    C# csharp question

  • copy a column from one table to another [modified]
    R rzvme

    How can i copy a column from one table to another (data and schema) at runtime in vs 2005? the data and schema are read from xml files -- modified at 8:44 Sunday 14th January, 2007

    rzvme

    Database xml question database visual-studio

  • validating question
    R rzvme

    but can i at least find out if the form is trying to get the focus so it can close, or another control is trying to get the focus?

    rzvme

    C# help database question

  • validating question
    R rzvme

    i have a disconected imviroment database application, and normaly i need some validation rules for the data-entry part. i am using the invalidate event to check if the data is in the correct format. the problem is i want to be able to close the form is the data is not in the correct format, but i am not able to because the control refuses to lose focus until the data is in the correct format. please help

    rzvme

    C# help database question

  • bloking data from network
    R rzvme

    How can i block receiving data except from one specific IP address?? thank you

    rzvme

    C# question sysadmin

  • calling a parent's form method from a child form
    R rzvme

    Harta hr = this.ParentForm; hr.OnPaint1(); this code raises the folowing error Error 1 Cannot implicitly convert type 'System.Windows.Forms.Form' to 'THE_PROJECT.Harta'. An explicit conversion exists (are you missing a cast?) C:\Documents and Settings\Razvan\My Documents\Visual Studio 2005\Projects\THE PROJECT v2\THE PROJECT v2\Elemente.cs 48 23 THE PROJECT v2 i knew it was imposible for that to work but i need to call that method from the child form. Can somebody help me?

    rzvme

    C# help csharp visual-studio question

  • drag and drop picture box [modified]
    R rzvme

    i'm tring to scroll a picture box using the drag-drop functionality, i have a small panel and a big picturebox in it and i want the panel to scroll the piscturebox when i drag and drop it (exactly like in Acrobat reader). What code am i supose to write to meve the picture box?? and another question: say i want to center the panell view on o specific point on the picturebox, how do i do that?? -- modified at 9:16 Monday 6th November, 2006

    rzvme

    C# question
  • Login

  • Don't have an account? Register

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