User Profile

Collapse

Profile Sidebar

Collapse
speranza
speranza
Last Activity: Jan 5 '10, 02:48 PM
Joined: Nov 14 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sending null parameter from combox to sp via linq

    cant pass null value to sp via linq

    this is my sp code
    IF @Param1 IS NOT NULL
    BEGIN
    SET @Param1=@Param1
    END
    ELSE
    BEGIN
    SET @Param1=' IS NULL'
    END

    and this my cs code


    mmsDataContext mms = new mmsDataContext( );
    RadGrid1.DataSo urce = mms.SON(Country .SelectedItem.V alue);
    RadGrid1.DataBi nd();
    See more | Go to post

  • Procedure or function ... has too many arguments specified.

    i have multiple checkboxes on my form.i am trying to add them with stored procedure but it gives me Procedure or function konut_ekle has too many arguments specified


    Code:
    protected void Button1_Click1(object sender, EventArgs e)
        {
    
            SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["connectionString"].ConnectionString);
            SqlCommand cmd;
    ...
    See more | Go to post

  • speranza
    started a topic Gridview Datasource
    in .NET

    Gridview Datasource

    Hi,
    İ dont know how to assign sql command query value to a gridview..i am trying like this..it dosnt work can you help me?

    Code:
    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
            Dim con As New SqlConnection("Data Source=SPERANZA\SQLEXPRESS;initial catalog=master;integrated security=true")
            Dim cmd As New SqlCommand
            Dim dr As SqlDataReader
    ...
    See more | Go to post
No activity results to display
Show More
Working...