Thursday, 21 November 2019

Maximum report processing jobs limit

Maximum report processing jobs limit


Use Below method this will help you

ReportDocument crystalReport = new ReportDocument();
 
protected void Page_Unload(object sender, EventArgs e)
    {
        crystalReport.Close();
        crystalReport.Dispose();
    }

On each load you have to dispose your crystal session

Wednesday, 13 November 2019

Need sample Birthday Calendar.(ASP.NET using C#)

Need sample Birthday Calendar.(ASP.NET using C#)


      We below given link it may help you

      http://www.beansoftware.com/ASP.NET-Tutorials/Calendar-Web-Application.aspx

Tuesday, 12 November 2019

Call JavaScript function (in aspx) on aspx.cs using a button

Call JavaScript function (in aspx) on aspx.cs using a button


I have you this but this is not working 
protected void button_Click(object sender , EventArgs e)
{
        string jsMethodName= = "NewPage()";
        ScriptManager.RegisterClientScriptBlock(this, typeof(string), "uniqueKey", jsMethodName, true);

      //or
      //ScriptManager.RegisterStartupScript(this, GetType(), "NewPage()", false); 
}
Actually I want to open popup modal


Kindly Help 
Thanks In Advance

modify the data type of the column from INT to VARCHAR:

 Modify the data type of the column from INT to VARCHAR:



You have to use alter command see below:

ALTER TABLE Mytablename ALTER COLUMN tablecolumn VARCHAR (2);

Friday, 8 November 2019

The IListSource does not contain any data sources.

The IListSource does not contain any data sources.


If you are getting error on this that mean you don't have written this statement see below

sda.Fill(ds);

use this

  SqlCommand cmd = new SqlCommand("Select * from Student_Master", con);
            SqlDataAdapter sda = new SqlDataAdapter(cmd);
            DataSet ds = new DataSet();
            sda.Fill(ds);
            Repeater1.DataSource = ds;
            Repeater1.DataBind();

The IListSource does not contain any data sources.

The IListSource does not contain any data sources.


why I am getting error when bind repeater control of asp

need a help
thanks in advance

Dynamically Bind Repeater Control In ASP.NET From


Dynamically Bind Repeater Control In ASP.NET 

See below

 <asp:Repeater ID="Repeater1" runat="server">
                <ItemTemplate>
                    <table class="table table-bordered">
                        <tr>
                            <td style="width: 20%;">
                                <img alt="" width="150" class="img-thumbnail" src='<%#Eval("Profile_Picture")%>' />
                            </td>
                       
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:Repeater>

 private void BindRepeator()
    {
        con.Open();
        try
        {

            SqlCommand cmd = new SqlCommand("Select * from Student_Master", con);
            SqlDataAdapter sda = new SqlDataAdapter(cmd);
            DataSet ds = new DataSet();
            sda.Fill(ds);
            Repeater1.DataSource = ds;
            Repeater1.DataBind();
        }
        catch (SqlException)
        {

        }
        finally
        {
            con.Close();
        }
     
    }
This will help you