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
M

mnarayana3

@mnarayana3
About
Posts
15
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Asp.net dumps for MCAD(exam no: 70-315)
    M mnarayana3

    Can anyone provide dumps for writing the exam 70-315(MCAD). Thanks in Advance.

    ASP.NET csharp asp-net

  • what is meant by "with constructor"?
    M mnarayana3

    I know that what is a constructor. but i want to know "with constructor" which is present in only vb.net but not in c#

    Visual Basic question

  • what is meant by "with constructor"?
    M mnarayana3

    what is meant by "with constructor"?

    Visual Basic question

  • differnce between
    M mnarayana3

    differnce between these response.redirect("login.page"); server.transfer("login.page"); asap

    ASP.NET sysadmin

  • Validation to accept only numbers!!!
    M mnarayana3

    Public Class Form2 Private Sub TextBox1_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress Dim c As Integer c = Asc(e.KeyChar) If c = 8 Or c = 13 Then Exit Sub ElseIf c < 47 Or c > 57 Then e.Handled = True ErrorProvider1.SetError(TextBox1, "Invalid Number") Else e.Handled = False ErrorProvider1.SetError(TextBox1, "") End If End Sub End Class just create a user control and use it wherever u want

    ASP.NET question csharp asp-net

  • while adding row to gridview dynamically, i am getting this error.
    M mnarayana3

    i did that too but every line is executing very well. At the end of lasat curly brace its giving error. i thought there is no error in the program. but i think the error i am getting is general error due to some settings. if anyone aware of this type of error then they may solve.

    ASP.NET com data-structures debugging help

  • while adding row to gridview dynamically, i am getting this error.
    M mnarayana3

    I traced the page. Its giving error after the "Begin Pre render" event. Keyword not supported: 'unicode'. at System.Data.Common.DbConnectionOptions.ParseInternal(Hashtable parsetable, String connectionString, Boolean buildChain, Hashtable synonyms, Boolean firstKey) at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Hashtable synonyms, Boolean useOdbcRules) at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(String connectionString, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) at System.Data.SqlClient.SqlConnection.ConnectionString_Set(String value) at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) at System.Web.UI.WebControls.SqlDataSource.CreateConnection(String connectionString) at System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) at System.Web.UI.WebControls.DataBoundControl.PerformSelect() at System.Web.UI.WebControls.BaseDataBoundControl.DataBind() at System.Web.UI.WebControls.DetailsView.DataBind() at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() at System.Web.UI.WebControls.DetailsView.EnsureDataBound() at System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 0.0112214646844372 0.010079

    ASP.NET com data-structures debugging help

  • while adding row to gridview dynamically, i am getting this error.
    M mnarayana3

    thanks for your suggestion. here is the code and try to help me. using System; using System.Data; using System.Configuration; using System.Collections; 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.OleDb; using System.Data.OracleClient; public partial class Default13 : System.Web.UI.Page { private void Createrow(Table childtable,int index) { GridViewRow row = new GridViewRow(-1, -1, DataControlRowType.DataRow, DataControlRowState.Normal); row.Cells.Add(createcolumn()); childtable.Rows.AddAt(index + 2, row); } private TableCell createcolumn() { TableCell tc = new TableCell(); tc.ColumnSpan = GridView1.Columns.Count; tc.Width = Unit.Percentage(100); DataSourceControl ds = createdatasource(); tc.Controls.Add(ds); tc.Controls.Add(createdetailsview(ds)); return tc; } private DataSourceControl createdatasource() { SqlDataSource ds = new SqlDataSource(); ds.ConnectionString = ConfigurationManager.ConnectionStrings["ConnectionString2"].ConnectionString ; ds.SelectCommand = "SELECT DEPTNO, DNAME FROM DEPT1 where deptno=@deptno"; Parameter pc = new Parameter("deptno", TypeCode.String, GridView1.SelectedValue.ToString()); ds.SelectParameters.Add(pc); ds.ID = "SqlDataSource2"; return ds; } private static DetailsView createdetailsview(DataSourceControl ds) { DetailsView dv = new DetailsView(); dv.AutoGenerateRows = true; dv.DataSourceID = ds.ID; return dv; } protected void Page_Load(object sender, EventArgs e) { } protected void GridView1_PreRender(object sender, EventArgs e) { if (GridView1.SelectedRow!= null) { Table childtable = GridView1.SelectedRow.Parent as Table; if (childtable != null) Createrow(childtable, GridView1.SelectedIndex); } } protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { } }

    ASP.NET com data-structures debugging help

  • while adding row to gridview dynamically, i am getting this error.
    M mnarayana3

    Keyword not supported: 'unicode'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentException: Keyword not supported: 'unicode'. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. I downloaded the source code from the gridview girl.com site . If u are not aware of the article then i will provide the article too.

    ASP.NET com data-structures debugging help

  • Is VB.net platform independent or not?
    M mnarayana3

    can anyone explain clearly whether VB.net is platform independent or not? so many people saying their own style. still i am confused. TIA

    Visual Basic csharp question

  • Is C#.net platform independent or not?
    M mnarayana3

    can anyone explain clearly whether C#.net is platform independent or not? so many people saying their own style. still i am confused. TIA

    C# csharp question

  • error while adding connectionstring dynamically
    M mnarayana3

    here is the code in home.aspx: SqlDataSource ds = new SqlDataSource(); ds.ConnectionString = ConfigurationSettings.connectionStrings["ConnectionString2"].connectionString; ds.SelectCommand = "SELECT DEPTNO, DNAME FROM DEPT1 where deptno=@deptno"; here is the code in web.config: i alreadymentioned my error that what i am getting. try to help me asap. TIA

    ASP.NET help workspace

  • error while adding connectionstring dynamically
    M mnarayana3

    yes i did that. but still its giving error

    ASP.NET help workspace

  • error while adding connectionstring dynamically
    M mnarayana3

    the error is coming while i am using the following code. This is for add a connection string to datasource dynamically code: string cnStr; cnStr = ConfigurationSettings.ConnectionStrings["MyNWind"].ConnectionString; SqlConnection cnObj = new SqlConnection(cnStr); error: 'System.Configuration.ConfigurationSettings' does not contain a definition for 'ConnectionStrings' itsvery urgent. TIA

    ASP.NET help workspace

  • error in IIS.
    M mnarayana3

    I am new to ASP.net. after create an virtual directory, then i got the following error. "configuraing the website "http://localhost/winsec1\\... " to asp.net 2.0 failed. You may need to manually configure this site for asp.net 2.0 inorder for your site to run correctly" please help how to solve it. Thanks in advance

    ASP.NET help csharp asp-net windows-admin tutorial
  • Login

  • Don't have an account? Register

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