[Message Deleted]
haneef1
Posts
-
Gridview with template controls -
i want code for crating dynamic check boxes in panel. and i need to store the id's of checked when i click submit button.i want code for crating dynamic check boxes in panel. and i need to store the id's of checked when i click submit button. please any one can send me code or any URL please
this is haneef
-
I will created dynamic check boxes in panel but it losing the checked values when i reloadsI will created dynamic check boxes in panel but it losing the checked values when i reloads Example : no problem with bind data but when i click submit i need to reload the binddata() definitely other wise panel doesn't show any items. if i reload then checked values are losing when i calling the submit button. sub binddata() dim ds as dataset // here i will take data source from which from database. Try ds=obj.GetSource() For index = 0 To ds.Tables(0).Rows.Count - 1 chklist = New CheckBox chklist.Text = ds.Tables(0).Rows(index).Item(0).ToString chklist.ID = ds.Tables(0).Rows(index).Item(0).ToString chklist.EnableViewState = True Panel1.Controls.Add(chklist) Panel1.Controls.Add(New LiteralControl(" ")) Next end sub problem below when i reloads the databind(). but i need to be definitely reloads the databind other wist panel doen't show any thing Private Sub submit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles submit.Click While index < ds.Tables(0).Rows.Count DisplayPanel = CType(FindControl("panel1"), Panel) chklist1 = CType(DisplayPanel.FindControl(ds.Tables(0).Rows(index).Item(0).ToString), CheckBox) If Not chklist1 Is Nothing Then chklist1.Text = ds.Tables(0).Rows(index).Item(0).ToString If chklist1.Checked = True Then //here showing that not checking even thought i will check check boxes objWeb.Addid(drlist.SelectedItem.Value, chklist1.ID) End If End If index = index + 1 End While end sub this is haneef
this is haneef
-
I will created dynamic check boxes in panel but it losing the checked values when i reloadsI will created dynamic check boxes in panel but it losing the checked values when i reloads Example : no problem with bind data but when i click submit i need to reload the binddata() definitely other wise panel doesn't show any items. if i reload then checked values are losing when i calling the submit button. sub binddata() dim ds as dataset // here i will take data source from which from database. Try ds=obj.GetSource() For index = 0 To ds.Tables(0).Rows.Count - 1 chklist = New CheckBox chklist.Text = ds.Tables(0).Rows(index).Item(0).ToString chklist.ID = ds.Tables(0).Rows(index).Item(0).ToString chklist.EnableViewState = True Panel1.Controls.Add(chklist) Panel1.Controls.Add(New LiteralControl(" ")) Next end sub problem below when i reloads the databind(). but i need to be definitely reloads the databind other wist panel doen't show any thing Private Sub submit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles submit.Click While index < ds.Tables(0).Rows.Count DisplayPanel = CType(FindControl("panel1"), Panel) chklist1 = CType(DisplayPanel.FindControl(ds.Tables(0).Rows(index).Item(0).ToString), CheckBox) If Not chklist1 Is Nothing Then chklist1.Text = ds.Tables(0).Rows(index).Item(0).ToString If chklist1.Checked = True Then //here showing that not checking even thought i will check check boxes objWeb.Addid(drlist.SelectedItem.Value, chklist1.ID) End If End If index = index + 1 End While end sub this is haneef
this is haneef
-
I will created dynamic check boxes in panel but it losing the checked values when i reloadsI will created dynamic check boxes in panel but it losing the checked values when i reloads Example : no problem with bind data but when i click submit i need to reload the binddata() definitely other wise panel doesn't show any items. if i reload then checked values are losing when i calling the submit button. sub binddata() dim ds as dataset // here i will take data source from which from database. Try ds=obj.GetSource() For index = 0 To ds.Tables(0).Rows.Count - 1 chklist = New CheckBox chklist.Text = ds.Tables(0).Rows(index).Item(0).ToString chklist.ID = ds.Tables(0).Rows(index).Item(0).ToString chklist.EnableViewState = True Panel1.Controls.Add(chklist) Panel1.Controls.Add(New LiteralControl("
")) Next end sub problem below when i reloads the databind(). but i need to be definitely reloads the databind other wist panel doen't show any thing Private Sub submit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles submit.Click While index < ds.Tables(0).Rows.Count DisplayPanel = CType(FindControl("panel1"), Panel) chklist1 = CType(DisplayPanel.FindControl(ds.Tables(0).Rows(index).Item(0).ToString), CheckBox) If Not chklist1 Is Nothing Then chklist1.Text = ds.Tables(0).Rows(index).Item(0).ToString If chklist1.Checked = True Then //here showing that not checking even thought i will check check boxes objWeb.Addid(drlist.SelectedItem.Value, chklist1.ID) End If End If index = index + 1 End While end subthis is haneef
-
how to create dll for individual pages in asp.netHI, I want to create a DLL for individual aspx pages,i did n't want to build entire project. this is haneef
-
i want to create my own button in vb.netdim mybutton as new Button mybotton.Text="button" sk.haneef@gmail.com
this is haneef
-
i want code for authentication's to connect remote computeri want code for authentication's to connect remote computer and accessing the files in remote computer. Code in C# with windows app if possible
this is haneef
-
How to Connect remoter computer i am getting exception error for remote as well as local computerthe following code for backup a database stadard form of zip file. it is working properly for c# with windows app but not C# with asp. why i don't know. in c# with windows also one problem it is not connecting to remote server database. using System.Data.SqlClient; using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using SQLDMO; using System.IO; using System.Diagnostics; using Shell32; using System.Xml; using System.Security.Permissions; using System.Configuration; namespace backup1 { /// /// Summary description for WebForm1. /// public class WebForm1 : System.Web.UI.Page { protected System.Web.UI.WebControls.TextBox TextBox1; protected System.Web.UI.WebControls.TextBox TextBox2; protected System.Web.UI.WebControls.Label Label1; protected System.Web.UI.WebControls.Label Label2; protected System.Web.UI.WebControls.Label Label3; protected System.Web.UI.WebControls.Label Label4; protected System.Web.UI.WebControls.Button Button2; protected System.Web.UI.WebControls.TextBox t1; protected System.Web.UI.WebControls.TextBox t2; protected System.Web.UI.WebControls.ListBox ListBox1; protected System.Web.UI.WebControls.ListBox lb; protected System.Web.UI.WebControls.Button Button1; private void Page_Load(object sender, System.EventArgs e) { /*SQLDMO.Application oSQLServerDMOApp = new SQLDMO.Application(); SQLDMO.NameList oNameList; oNameList = oSQLServerDMOApp.ListAvailableSQLServers(); for (int intIndex = 0; intIndex <= oNameList.Count - 1; intIndex++) { if (oNameList.Item(intIndex as object) != null) { lb.Items.Add(oNameList.Item(intIndex).ToString()); } } if (lb.Items.Count > 0) lb.SelectedIndex = 0; else lb.Items.Add("(local)");*/ } #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() { thi
-
[Message Deleted][Message Deleted]
-
When I press F5 I am getting Error In C# with ASP.NET web application as follows belowError while trying to running project: Unable to start debugging on the web server. you don not have permissions to debug the server. verify that you are the member of the 'Debugger User' Groups on the webserver.
this is haneef
-
How I can create New Folder using c#.net 1.1How I can create New Folder using c#.net 1.1 in (c:\ or d:\ )
this is haneef
-
how can i connect Remote sql server i written code like this followingpublic void Backup() { SQLServer2Class server = new SQLServer2Class(); Databases databases; Database2 database; Backup2Class backup = new Backup2Class(); server.LoginSecure = true; server.Connect("192.168.1.145" , "ad" , "ad123"); //the above ip address is my remote computer ip address and ad is username, ad123 is password of remotecomputer. //i gave userid and password then also it is not working showing exception access is denied databases = server.Databases; string database1="pubs"; database = (Database2) databases.Item(database1, null); backup.PercentCompleteNotification = 1; backup.Database = database.Name; SaveFileDialog saveFileDialog1=new SaveFileDialog(); saveFileDialog1.ShowDialog();
this is haneef
-
I want to backup SQL SERVER 2000 database and zip it using .NET 1.1 . The application must be connect remote system by using windows authentication is there any website to produce the code in .NET 1.1 in any language(c#.net or vb.net)I want to backup SQL SERVER 2000 database and zip it using .NET 1.1 . The application must be connect remote system by using windows authentication is there any website to produce the code in .NET 1.1 in any language(c#.net or vb.net)
this is haneef
-
I want to backup SQL SERVER 2000 database and zip it using .NET 1.1 . The application must be connect remote system by using windows authentification is there any website to produce the code in .NET 1.1 in any language(c#.net or vb.net)I want to backup SQL SERVER 2000 database and zip it using .NET 1.1 . The application must be connect remote system by using windows authentification is there any website to produce the code in .NET 1.1 in any language(c#.net or vb.net)
this is haneef
-
I have problem vith vs2003 editor when press F5 for output c# with asp web application it returns dialog box like Error while trying to run a project: Unable to start debugging on webserver.you do not have permissions to debug the server. verify youI have problem vith vs2003 editor when press F5 for output c# with asp webapplication it returns dialog box like Error while trying to run a project: Unable to start debugging on webserver.you do not have permissions to debug the server. verify you are a member of 'dbugger users' groups on the server haneef.skk@gmail.com
-
how can i convert VS2005 projects to VS2003how can i convert VS2005 projects to VS2003, somebody send url: http://www.codeproject.com/macro/vsconvert.asp it contain one zip file it converts vs2005 projects to vs2003. but the tools also they develop in VS2005 but i want that type of tool in VS2003.
this is haneef
-
can tell me how i write code for windows authentification in c#.net to connect the remote computer and getting the database back up from sql server 2000.hi, can tell me how can i write code for windows authentification in c#.net 1.1 to connect the remote computer and getting the database back up from sql server 2000.
this is haneef
-
how to change the vs 2005 projects into to vs 2003 in c# .net 1.1how to change the vs 2005 projects into to vs 2003 in c# .net 1.1 The VS 2003 editor does n't allowing VS 2005 projects how can i open and use it shaik haneef