-
- How to display assign value to valuemember and display member property of Combobox through LOOP?
by anup phansa
- 6 Replies
- Last post
by ChrisAus
- Hi,
All Member
How to display assign value to valuemember and display member property of Combobox through LOOP
Sample Example---
-------------------------------------------
StartLoop
Combobox.valueMember=ds.table.row .col[ˇ°custIdˇ±]
Combobox.DisplayMember=ds.table.row .col[ˇ°CustNameˇ±]
End loop
---------------------------------
-
- Retrieve Data From DataGridViewComboBoxColumn And Display In TextBox
by lucerias
- 4 Replies
- Last post
by vkh75
- May i know how to retrieve a particular row of DataGridViewComboBoxColumn selected value and display it in textbox Thank you.
-
- How to add scroll bar to form??
by CLR_cn
- 7 Replies
- Last post
by nobugz
- I used "g.DrawImage(image)" method to display an image on the form client area, but as you know the image always bigger than the client rectangle, so I want to know how to add scroll bar to this form dynamically Thank you!!!
-
- track the currently selected row in a datagridview
by shalan99
- 2 Replies
- Last post
by shalan99
- Hi everyone, what is the (VB) code for tracking the currently selected row in a datagridview (winforms), and then after performing some function, set the selected row back to what it was before the function was executed. The reason I ask this is because, in my datagridview i select a row, perform some function based on the currently selected row, and then once that function has been executed the g
-
- DataGridView RAD with Primary and Foreign keys - synchronize programmatically
by alberto1
- 1 Replies
- Last post
by hrubesh
- I am NEW to Visual C# express ~ 15 days.
In short, I have 2 DataGridView's on a Form. One, is populated by the "Types" datatable contains a primary key (int), the other, showing the records of the "Documents" data table, a foreign key. When I click on a row in the "Types" DGV, the "Documents" DGV shows only those documents whose type is the same as in the
-
- DataGridView column order resetting
by Mark B .
- 1 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Hello,
I have a DataGridView (dgv) control that I have bound to a business object .... PortfolioItem. I have selected the columns that I want to see in the dgv control and run the app fine. Then I realized I was missing one piece of data from the PortfolioItem and so I went in and edited the columns of the dgv. After selecting the new column and moving it to where I want it in the dgv, the
-
- Main form layout and screen resolution help
by Andy_Paul
- 8 Replies
- Last post
by Andy_Paul
- I have created two versions of my apps main form for two different resolutions. Due to the number of panels and scaling
of graphics, this seemed like the best option to keep ratios correct and give the user optimum use of the screen independant of resolution.
My question is, can I include both forms(or form designs) in the same solution, and add a user option to select between the two re
-
- Filtering a DataGridView via BindingSource causes OutOfRangeException
by lidiya
- 2 Replies
- Last post
by lidiya
- I have a DataGridView with a BindingSource that is connected to a DataTable. Whenever a row in the DataGridView is selected, I display detail information in another panel. I use SelectionChanged event on the DataGridView to know when detail information should be updated. That was all fine and dandy until I added the filtering. In order to do filtering I am setting .Filter property on the BindingS
-
- Windows media player 11 in my Form
by divrapier
- 5 Replies
- Last post
by divrapier
- Hi! I use visual studio 2005 professional, and windows xp pro x64 ed. I wanted to create a form having a media player capable of playing a simple wmv file so i added a COM component to my toolbox: name: Windows media player; Path: c:\windows\syswow64\wmp.dll; Library: windows media player. Then i placed the now available AX.WMPLib.WindowsMediaPlayer component on my form. Now i wanted to compile, t
-
- DataGridViewComboBoxColumn & Items Collection for DisplayMember
by Price Brattin
- 8 Replies
- Last post
by Price Brattin
- I have a table that has an Integer column called status that I want to display in a DataGridViewComboBoxColumn which is bound to the table that contains the status column. The values for the status column in the table and the description I want to display in the grid are as follows:
0. No status assigned
1. Job still in progress
2. Awaiting
-
- Why does in one case "concurrency violation" is triggered, while it doesn't in another case?
by Coopertje02
- 5 Replies
- Last post
by Rory (Clissold Solutions)
- Dear all,
I am trying to show and alter data from an Access-database in VB 2005 Express. The following shows a sample of what this database would look like:
fltID
Veld1
Veld2
Veld3
Veld4
Veld5
Veld6
Veld7
1
LH
123
A
LH
124
D
900
2
KL
101
A
KL
102
D
1000
3
KL
210
A
KL
-
- Windows Forms Team Needs Your Feedback!
by Scott_Morrison
- 0 Replies
- Last post
by Scott_Morrison
- If you have ever come face to face with the Design-Time Error List ("One or more errors encountered while loading the designer..."), the experience has probably given you an opinion or two on how it could better help you debug your app. Now is your chance to share that opinion. Brad Abrams has posted a preview of improvements to the Design-Time Error List (a.k.a. White Screen of Darn) over on his
-
- form.hide so that 'object is not disposed' of and available for next frm.Show
by hazz
- 4 Replies
- Last post
by Ðãv? S. Â??????
- I have a module in a vb.net solution that contains
Public frmFiles As New frmFiles1()
In the Form which launches 'frmFiles' exists the following line;
frmFiles.Show( Me )
Question;
What do I have to do in the properties/code within frmFiles to not have it dispose of the form but rather just hide it
Right now when I close it I get the error on the next frm
-
- download files from server in c#
by jitendra badkas
- 2 Replies
- Last post
by Gavin Jin - MSFT
- hi all,
I can upload files using <input type=browse>,but how to download files from server in c#,
any ready code for that...
-
- Best book for User Interface Flow Modeling using .NET controls
by Rajesh Khater
- 0 Replies
- Last post
by Rajesh Khater
- Which is the best book for User Interface Flow Modeling using .NET controls I need a book that explains how to break the tasks that a program needs to accomplish into windows and controls, and how should be their flow and navigation. What are the best practices for prototyping the end-user requirements for common business scenarios Some book that explains the trends and suggestions for developin
-
- How to highlight selected row in a listview
by Doffen
- 2 Replies
- Last post
by Joao Silva 2007
- Hello,
Yes, I'm aware of the FullRowSelect property, but when the Listview is OwnerDrawn, the selected row does not get highlighted when it is clicked.
Thanks for your help!
--
Doffen
-
- How to use standard system-images in TreeView?
by Wuschba
- 4 Replies
- Last post
by Wuschba
- Hi. I have a treeview and I want to use the folder-symbol of the actual operating-system as an image for some nodes. So, in WinXP I want the XP-folder and in WinVista I want to Vista-folder. Is this possible
-
- Web Form Designer
by sohaibi
- 1 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Hi!
Well, I'm not sure whether I'm posting at the right forum. But I'm not sure, what I need is possible at all. I have developed a windows form designer which can create and edit windows forms, just like VS2005.
Now, my question is: Can I develop a web form designer that can create and edit ASP.NET Forms. Has Microsoft exposed the interfaces that can be implemented to host web forms. If yes
-
- XBAP Deployment Problem
by Will Flor
- 2 Replies
- Last post
by Steve Greatrex
- Hello, folks.
My problem today is with the deployment of an XBAP my team is currently developing. (I realize that this is a Forms forum but I thought that you guys would be the experts on ClickOnce, and that seems to be the problem here.)
I can deploy and run it from my own machine if I access it within the LocalMachine zone (i.e. from an absolute directory path starting with a lette
-
- Problem setting checkboxCell.Value = True on first row of a dataGridView
by judir
- 2 Replies
- Last post
by kindr
- We are using this code in a contextMenuStrip to set marked rows or mark all rows.
Dim dgRow As DataGridViewRow
For Each dgRow In dgv.Rows
dgRow.Cells(0).Value = True
Next
The first cell in each row is a checkboxcell.
When we first enter the grid if we invoke this code the first row is not checked until we move off the row.
also if we debug and break here the valu
-
- [MSI] - Only deploy a file if it doesn't exist!
by Solrac Otr
- 5 Replies
- Last post
by sebastien.pelle
- Hi all
I'm needing some advice with deployment projects. I've created a "Custom Folder" that is named "Config" and the Path is "C:\Config". So I add a file to this folder and when I install the package, the installation puts the file in the correct path! Fine!
But... when I change the installer's version (increasing) to install an updated assembly, the installer
-
- detect user inactivity (idle, timeout)
by sovande
- 9 Replies
- Last post
by sovande
- I know this question has been addressed recently but bear with me.
My application (vb.net 2005) consists of several forms in a hierarchy that present
info to the user. Form1 calls form2 (showdialog) which calls form3 etc...
I want the forms to timeout and return to form1 if the user walks away (ok, its a kiosk app)
Each form has its own timer(system.win.forms.timer). When t
-
- axWebBrowser in TabPages
by yakyu
- 2 Replies
- Last post
by yakyu
- Hi, I have a form in which multiple browsers are arranged in tabs. Whenever I have more than one tab, only the first axWebBrowser paints, the others goes right through to the TabPage. Thanks if you're suggesting WebBrowser, but I have to stick with axWebBrowser because I need to handle the URL when the user right clicks "Open in New Window", or links that pops up new windows.
Any
-
- Multi-Select in PropertyGrid
by Rob Bazinet
- 1 Replies
- Last post
by Muthu Krishnan. R
- Hello;
I am using a PropertyGrid and have as one of the sources of data is an enum. The grid works fine but I want to be able to allow the user to select more than one value from the dropdown created in the propertygrid.
Is this built-in functionality implemented by the propertygrid If so, how is it enabled If not, what recommendations do you have to get this to work
Thank y
-
- Timer control question
by Carp25
- 14 Replies
- Last post
by Can Bilgin
- ugh I'm such a noob, but I just can figure out what is going wrong here.
the following won't work
------------------------------------------------------------------------------------------------------------------------------------
private void timer1_Tick( object sender, EventArgs e)
{
bob.Mover(5); // makes the bounding rectangle defined in bob move down the form