-
- Databinding to textboxes on form using SQLExpress
by Coboler
- 3 Replies
- Last post
by Coboler
- I am having trouble getting table data from my SQLExpress connected databases to bind to the textboxes in my form.
I can perform a grid view of the tables data just fine. Any suggestionson what am I missing in the form design
-
- datagridviewcomboboxcell selectedindexchanged problem
by Jocker23
- 3 Replies
- Last post
by Jocker23
- i have a datacomboboxcolumn in a datagridview which looks something like this:
---------------------------------------------------------------------------------------------- ELEM VALOR UNIDAD -----------------------------------------------------------------------------------------------
Cu 5.6 "GR" / MT / OZ
Cu
-
- Datagrid question
by Deme25
- 1 Replies
- Last post
by Cael Z
- Hi
how can i get the value that i just wrote in a cell of my datagrid.
I fill the cells of the datagrid and i press a save button to save the data. When i press the button i want to know the values that i just entered so that i can insert them in a different table (secondary table).
Thanks
-
- Motherboard resource accessing
by Robert_unicorn
- 4 Replies
- Last post
by Gavin Jin - MSFT
- Dear Sir, Lady, Does there have any way to accessing the M/B resource (4E, 4F, 2E, 2F, these ports is always occupy by super I/O chip) by Windows Form AP I had tried to build a device driver to accessing the I/O port, but system will prompt the H/W conflict message to me due to the I/O port was been occupied by M/B resource. Should I call a specially "function" or "system service&q
-
- Problem to create exe in c#
by domain_azad
- 2 Replies
- Last post
by Gavin Jin - MSFT
- Dear all, I build one project in c# and create setup file using visual studio publisher and it's intall successfully and work by this when i login as a admin but when i login as normal user i can't find out it's anything.Plz help me ASAP. Best Regards Azad
-
- StatusStrip docking problem
by bookysmell2004
- 2 Replies
- Last post
by bookysmell2004
- Hi, My main form consists of 2 controls: a tab control and a status strip. Problem: The Staus Strip is docked on the bottom. Next step is to dock the tab control so that it fills the rest form space, right Well, that's impossible as if i dock the tab control to "fill" the form it will simply dock itself to the bottom of the form, not at the border of the status strip... (it will override
-
- App hangs when run- works fine in debugger
by LuckyDog
- 2 Replies
- Last post
by Martin Xie - MSFT
- I just wrote a little WinForm application. When I step through it in the debugger it works fine. When I start without debugging it hangs up ( 100% CPU ).
How can I find out exactly where it's getting caught up
Thanks
-ed
-
- Error when adding a ToolStripMenuItem
by Lucy_H
- 2 Replies
- Last post
by Lucy_H
- I am having trouble adding a ToolStripMenuItem but I do not know why. I have so far added many ToolStripMenuItems as follows:
File
New
Save
Save As
Print
Close
Format
Font
Colour
Help
Contents
Index
Search
About
I want to added 3 more items under the Format menu, these being: Bold, Italic, Underlined.
Each time I click on the drop dow
-
- Memoryleak in Windows Forms 2.0 Binding when Databinding is used over more then one PropertyHierarchy
by Martin Mitterer
- 11 Replies
- Last post
by franking
- The Problem: Standard WinForms application with a complex Databound object (Account/Customer/Address). We use the following Binding definitions: Binding1 this.textBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSource, "Customer.Address.City", true)); Binding2 this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bin
-
- Strange combobox data integrity error on form closing??
by Karl K
- 2 Replies
- Last post
by hrubesh
- Howdy, I have a simple parent-child form with two grids that works just fine. It was built using the IDE by dragging the DataTable objects into grid objects. One grid has a DataGridViewCombobox control bound to a short "lookup table". However, when I close the form, even if I close it immediately after opening it, the Components.Dispose() method raises successive errors for each row sayi
-
- why am i getting this error on SelectedIndexChanged?
by Jassim Rahma
- 5 Replies
- Last post
by Rong-Chun Zhang - MSFT
- I am getting this error on the form load:
Failed to convert parameter value from a DataRowView to a string
and here is the code:
private void cboDoctors_SelectedIndexChanged(object sender, EventArgs e) { if (cboDoctors.SelectedItem == null) { return; }
try { // sql_connection = new SqlConnection("Data Source=.\\SQLE
-
- Make form fit screen
by kjak
- 3 Replies
- Last post
by JRQ
- Hello,
How can I design my forms to automatically fit the screen properly When someone maximizes the window, I don't want all the controls to remain in the upper-left corner of the screen. I would like the controls to move to the center and in some cases expand/shrink to fit.
Thanks
-
- Uncheck Date and Time Picker VB.Net 2005
by Scaven
- 3 Replies
- Last post
by Scaven
- Unchecking the Date and Time Picker with data binding does not set the SQL smalldatetime field to null like in VB 6. I have to manually check if the control is unchecked and if date-file is not null and set it to null. Is it a regression bug in .Net or I missed something in the setup. Checking with date value sets the field alright.
-
- Uninstall doesn't uninstall everything
by thomas_woelfer
- 2 Replies
- Last post
by thomas_woelfer
- hi.
i have an ordinary setup project that is build with vs 2005 and installs a windows.forms client application. the setup project does contain one custom action. this custom action copies one single file from the distribution medium to the target hard drive (incase that file exists.).
after setup is complete, a file with the name 'NameOfcustomActionHere.InstallState' is located at t
-
- C#: Windows Form Application (DLL)
by Mathew1972
- 3 Replies
- Last post
by Brendan Grant
- Hello,
Does anybody know why C# removes physical .EXE file from the DEBUG folder after you change the setting to create a .DLL from your application. How is it's mechanism
Is there any setting to set to keep the .EXE file as well.
Thanks,
Mathew
-
- Creating your own 'dotnetchk.exe' for BootStrapper (exe to set exitCode with no console window)
by rhett135
- 2 Replies
- Last post
by rhett135
- I've set up a custom bootstrapper package for a 3rd party application that my app interfaces. For this to work, I needed a little exe like dotnetchk.exe, that would test the current installed version of the 3rd party product and set an exitcode or errorlevel. This was simple enough as a C# console app.
The problem I have is that it flashes the console window during the setup, and I'd like
-
- deploy add-in outlook 2002
by JuLeHoToCo
- 2 Replies
- Last post
by JuLeHoToCo
- Hi, I'm new to c# and msdn. I've writtin a code for outlook 2002 wich is working fine on the machine i've develop it. I have a problem deploying it to users in my organisation. i'm using visual studio 2005 and used the wizard for shared add-in. Is there a guide or how to for deploying shared add-in Thanks in advance, Brian
-
- Unable to show animated image on windows form
by Pravin581424
- 5 Replies
- Last post
by Pravin
- Hi,
I have one class say "Command.cs" which is derived from one base class say "BaseClass.cs". Command.cs does some long running execution. Base class have one custom progress form which have one animated image. when new instance of Command.cs get created, base progress window get displayed. while execution of long running process, some text get updated on progress windo
-
- Given a Form (or System.ComponentModel.Container), how do I find the name of the components on the form?
by KevinHall
- 4 Replies
- Last post
by KevinHall
- While looping over Form.components.Components, Site.Name returns a null reference.
My goal: I'm trying to compile a list of names of all the Timers on a form.
Thanks a bunch!
- Kevin Hall
-
- .NET application deployment preparation
by Raju 5725
- 1 Replies
- Last post
by ahmedilyas
- Hi All,
I need a help from the forum,
We developed an application using .NET 2.0 [visual studio 2005]along with crystal reports backend as SQL Server 2000. The application developement has been completed.
Now, we need to prepare setup for the application in such way...just by a click user should able to install all the required components like...dotnetfx2.0.exe,windows inst
-
- DataGridView - Replace column with my DateTimePickerColumn
by PublicError
- 6 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Hi
I have a database with one table containing: - id (int) - name (string) - date (DateTime)
Now I fill a DataSet with the data in the database using OleDbDataAdapter . Then I connect the DataTable (inside the DataSet) to my DataGridView: - datagrid.DataSource = dataset.Tables[0];
I then created a DateTimePickerColumn (inherits from DataGridViewColumn ). (The control works fine)
-
- Deleting DataSet records from underlying SQL Server using DataGridViewCheckBoxColumn in VS 2005
by OkiMike
- 10 Replies
- Last post
by OkiMike
- Hello,
I am using VS 2005 in which I created a Windows Form on which lies a DataGridView. This DGV is populated by a SQL Data Source which has one table (one SELECT statement) as its underlying source. It looks like:
SELECT
Id_Column,
Name_Column,
FileName_Column,
Description_Column
FROM
OldReportsTable
After creating a DataSet and TableAdapter using th
-
- Custom dialogs in Setup Project
by Oleg Ignatov
- 5 Replies
- Last post
by Carl Woodhouse
- Hello, All. Setup project gives the set of forms which will be appeared during installation. But if I need in other form (with one combobox, two radiobutton and two textboxes). There is no appropriate form in the Project Setup. I did not find how can I add my own dialog into the project. So please advice me how can I resolve this problem Thanks.
-
- Take Screenshot from ActiveX
by TheNetStriker
- 5 Replies
- Last post
by nobugz
- Is it possible to take a screenshot of an ActiveX control in a windows form I want to take a screenshot from the AxMSTSC remotedesktop ActiveX control. I allready tried it with control.ToBitmap and the CreateGraphics method of the ActiveX component, but this jus returned an empty bitmap.
-
- calculate listview.items
by Andr&#
- 14 Replies
- Last post
by André Dani
- how do i calculate subitems[4] * subitems[5] + all item in listview
tryade:
Int value = 0;
foreach ( ListViewItem lvi in listView3.Items)
{
int .Parse(lvi.subtitems[4].ToString())* int .Parse(lvi.subtitems[5].ToString())
}
label10.Text = value.ToString() ;
and i¡¯m so wrong..!