- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
So, While I was working on a project I accidentally closed down my Form1.cs[Designer] window and I haven't been able to find how to open it again. I am using Microsoft Visual C# Express Edition. I have looked around in the program and haven't been able to find a way … |
|
Hi all, I'm struggling to create a treeview. I want the nodes to be added dynamically. For example consider there are two froms Form1 and Form2. Form1 is the main , on clicking on a New node button Form2 open. In Form2 i will give the new node name and … |
|
Re:
I have looked through a few SQL hierarchy tutorials, but none of them made much sense for my application. Perhaps I am just not understanding them correctly. I'm writing a C# ASP.NET application and I would like to create a tree view hierarchy from SQL data. This is how the … |
|
Hi all, i am trying to convert a dataGridView cell to a control i used the codes [CODE] Control dat = new Control(); dat = Convert.ChangeType(dataGridView1[colIndex,rowIndex], typeof(Control)); [/CODE] I am fetching the values of colIndex and rowIndes from a index code... the problem is even though i tried many codes … |
|
Hi all, I am trying to write a code that could show multiply values in a single cell of listview with comma separator... i am using C# with windows application... I have a attachment that show what i am asking for... Thanks in advance vince |
|
hi all , i am developing a project that uses sdf database and i want to connect to it using odbc driver.. recently i found that there is no odbc driver for sdf database. I also found we can use ADODB and ADOX with oledb to connect with sdf.. but … |
|
Re:
i have a main form that has a button, when click a subform1 will open. in subform1 theres another button that will open subform2 in main form..i have this code in subform1. [CODE] { profilefrm prf = null; foreach (Form existingForm in this.MdiChildren) { prf = existingForm as profilefrm; if … |
|
i have a treeview in which i need to get the selected nodes text and its child node text(if any). I tried using AfterSelect event to get this but i only got the selected text but not the child text.. so can any one help me with this.. i am … |
|
Hi All, i am creating a Desktop application using Microsoft Visual Studio .NET 2008.. i am using .sdf file as my database... my problem is that when i am making changes to my records (add new, deleted, updated) then the changes reflects only till my application is running when i … |
|
Hello, I am searching for codes that could find the min and max(or first and last values) from a column in a datatable. I have stored the datatable with four column values i want to find the min and max values from the third column(index 2) and display it to … |
|
hi i am using this code to get the checked treeview node name.... it goes inside the loop only if the parent node is selected... I have to get the node name if any node is checked... this is the code i am using.. [CODE] public void CheckedNames(System.Windows.Forms.TreeNodeCollection theNodes) { … |
|
Hello I have some doubts in listveiw I have a listview with two columns, i want to add items to the first column which are given programmatically and the other column is from database... like [CODE] column1 column2 apple from database orange " banana " so on " [/CODE] can … |
|
Hi all .. i have given this code in my project.. it is showing Access to the path 'C:\Documents and Settings' is denied. I dont know what is wrong.. this code works if i give the path different... can any help me... Thnaks vince [CODE] private void FileView() { TreeNode … |
|
Hi i am developing a C# application which uses sdf database... the problem is in inserting data to the database.. i can retrieve data from it but can not insert value to it..... I tried many ways of inserting values to the database but not successful... can any one help … |
|
HI all i have a simple doubt... can a user control be made as dockable(freely movable) window inside a panel... I made some form as dockable inside a panel using this code [CODE] Form form = new Form(); form.TopLevel = false; form.Visible = true; panel.Controls.Add(form); [/CODE] this code makes the … |
|
Hi all the treeview i am creating here works very well but i tried so many ways to add tag to the child nodes but i could not... can any one tell me how to add tag to the nodes... that are created from the database... I could add tag … |
|
Hi all I am developing a form which has a gridview... i am try to do is.. it has three columns... the first two columns are for display purposr. The third column is a combobox column which displays different value for different rows.. it is fatched from database.. i am … |
|
Hi all I am developing a form with a toggle button in the toolstrip ... i have given the property checkonclick to true and gave this coding in the click event.... I am loading a Groups (Usercontrol) in the MainPanel1 (panel).... It works for first time but does not work … |
|
Hi all... I wanna know is it possible to place tabpages one behind the other like in the windows xp advance settings form.... if it is possible can any one tell how.... Thanks vince |
|
Hi all, I want to know some details about savefiledialog.... can a form be opened on clicking the save button in savefiledialog... If yes can some one provide the idea or code... Thanks vince |
|
Re:
I am using Visual Studio 2010 Express Edition, and I am developing a basic game application. It involves a New Game button that is clearly named "NewGame" in 'Form1.cs'. But when I use this code: [CODE]NewGame.Click += new EventHandler(newGame);[/CODE] in 'Program.cs' I get the error message "Error 1 - The … |
|
Re:
i made a form that consists of labels !! this form is like an invoice .. all labels and lists contains the items and its const and at the end the total cost .. now i have a print button, and i would like to print the contents of the … |
|
can any one please help me with this... I am trying to load a treeview and listview from sql database but did not work.... so if any one know how to do that please help me with it.... Thanks vince |
|
Re:
How to copy Checked items from first listview to another listview? i got problem with that, i made at the first listview Check boxes to every item and i want when i will click a button all the checked items will be copy (not move) to the other listView. it … |
|
Hi all.... i have found code that displays treeview and listview from database but it is done for microsoft access ... i am try this code for sql sever but end up only in exception,..... can any one modify this code to access the sql database and display the listview..... … |
|
How can one bring graphics component in C++ to work under C# |
|
Hi to all I'm developing an application using C#.net .My problem is I have two forms Form1 and Form2... I have a combo box in Form1 with values Admin , student and others....Form1 is used as login form . If login by student i want to hide certain buttons and … |
|
Hi I'm creating a application where there are different users like admin and others. I want to log in as admin and hav all the previlages to it and when login as others it should have only minimum previlage. I'm doing it C#.net. can any one give me the code … |
|
Hi i'm new to programming . I'm creating a project in C#.net using visual studio. I'm facing problem. Creating a login button and a new login ID button. the new login ID should store the details in the database and when the same is entered in the login text box, … |
|
Re:
how to establish a connection after validating all the fields in a form can any one please help me with code |