hi thr, i m using asp.net 1.1 yesterday my code is working properly today i faceing with err; -Could not copy temporary files to the output directory. -The file 'bin\PayrollApp.dll' cannot be copied to the run directory. The process cannot access the file because it is being used by another process. what is the problem. ----------
smitab
Posts
-
related .dll -
data gridyes i decleared it publickly.. there ia eny other problem? --------
-
data gridHi all, i m using data grid(asp.net2003 code behind lang=c#) and i m takin templet column and i want 2 edit,update, delete my records... i have written followin code conn.Open(); cmd.Connection=conn; SqlDataAdapter da = new SqlDataAdapter("select * from leave_master",conn); try { da.Fill(ds,"myTable"); } catch(Exception ex) { Response.Write(ex.Message); } finally { conn.Close(); } if (!IsPostBack) { BindGrid(); } DGLeaveMaster.DataSource =ds; DGLeaveMaster.DataBind(); } private void DGLeaveMaster_SelectedIndexChanged(object sender, System.EventArgs e) { } public void BindGrid() { DGLeaveMaster.DataSource=ds; DGLeaveMaster.DataBind(); } public void DGLeaveMaster_Cancel(Object sender, DataGridCommandEventArgs e) { DGLeaveMaster.EditItemIndex=-1; BindGrid(); } public void DGLeaveMaster_Edit(Object sender, DataGridCommandEventArgs e) { DGLeaveMaster.EditItemIndex=(int)e.Item.ItemIndex; BindGrid(); } But it cant show records! -----
-
scripting relatedhi all, i m using asp.net1.1 and code behind c#. i m using a check box(html controler)and a radio btn list(web controler). when i check d check box i want visible d radio btn list..and when i unchk d chkbox it must b invisible...is this possible? how'ld i write d script? ------ sam.
-
related #region Web Form Designer generated codehi all, following code is automatically generated by visual studio #region Web Form Designer generated code override protected void OnInit(EventArgs e) { // // CODEGEN: This call is required by the ASP.NET Web Form Designer. // InitializeComponent(); base.OnInit(e); } /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.ChkAll.CheckedChanged += new System.EventHandler(this.ChkAll_CheckedChanged); this.Load += new System.EventHandler(this.Page_Load); } #endregion but in my app this.ChkAll.CheckedChanged += new System.EventHandler(this.ChkAll_CheckedChanged); this.Load += new System.EventHandler(this.Page_Load); i m writting manually..this is not automatically generated; every time when i made changes in my page it is automatically erased why this happens?:confused: ------
-
data binding in dropdown listhi, actually i had done some correction in that code but still its not runing on dat perticular page but its runin on another page why this is happening? sam.
-
data binding in dropdown listhi all, i m usin dropdown list. i want to access DB field. i have written folling code.... private void Page_Load(object sender, System.EventArgs e) { SqlConnection conn; SqlCommand cmd; SqlDataReader dr; conn= new SqlConnection(ConfigurationSettings.AppSettings["strConn"]); cmd=new SqlCommand(); conn.Open(); cmd.CommandText="select username from user_master"; cmd.Connection=conn; dr=cmd.ExecuteReader(); while(dr.Read()) { ListSelUser.DataSource =dr; ListSelUser.DataTextField = dr.GetString(1); ListSelUser.DataValueField = dr.GetString(0); ListSelUser.DataBind(); conn.Close(); ListSelUser.Items.Insert(0, "mipl"); string itemText = ListSelUser.SelectedItem.Text; string itemValue = ListSelUser.SelectedItem.Value; } } but its showin nothing -- modified at 1:00 Friday 17th March, 2006
-
accessinq pageshould i use user control of second page? sam.
-
accessinq pagehi all, i am using asp.net1.1...and i want to access one page on another page. i am not using frames, but i am using tables and i want to show the page in one cell of the table.. how can i show? sam.
-
how to use ss-TabHi all, i want to use SS-Tab Control in ASP.netv1.1.plz tell me how to use it sam.
-
Datagridi think if i m using disconnected architech. then no need to open connection sam.
-
DatagridI had already given dat. sam.
-
DatagridHi thr, i m facein problem related 2 datagrid.. i m useing asp.net 1.0 and sqlServer. i want 2 access data in datagrid i have writtent d code as private void Page_Load(object sender, System.EventArgs e) { myconnection = new SqlConnection("server=trainee2;"+ "database=northwind;Trusted_Connection=Yes"); myCommand = new SqlDataAdapter("SELECT " + " * FROM user_master", myconnection); DataSet ds = new DataSet(); myCommand.Fill(ds); DataView source = new DataView(ds.Tables[0]); MyDataGrid.DataSource = source ; MyDataGrid.DataBind(); But i cant view the data..there is no err on page sam.
-
database connectivity 4m web.configno i had given that but it giving err: namespace configuration is not found sam. -- modified at 5:24 Monday 13th February, 2006
-
database connectivity 4m web.confighi, i m connecting database 4m web.config. my code is... the page code is.. private void Page_Load(object sender, System.EventArgs e) { string str="server" +Configuration.Appsettings["servr"]+";"; str+="Database=" +Configuration.Appsettings["databse"]+";"; } but i have err with my page .. is namespace could not found sam.