This list is not REALLY for tech support ask this @
http://www.windowsforms.net/Forums/default.aspx?tabIndex=1
and
http://discuss.develop.com/dotnet-winforms.html
not here.

--- In [EMAIL PROTECTED], Apurva Meher
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I have a simple windows application, with a comboBox dropdown and a
> datagrid and a button.
> 
> Depending on the name selected from the dropdown list, the button (on
> being clicked) gets data to populate the datagrid.
> 
> This error occurs when I press Ctrl-C to copy data from the grid (for a
> paste into Excel) - but only for the first 4 names in our pick list -
> and it is reproducible every time.
> 
> For instance, if I bring up data for the first name in our list and
Ctrl-C,
> then I get the error - always.
> 
> If I bring up data for the second name and Ctrl-C, I always get the
error.
> 
> If I bring up data for any name beyond the 4th bond and Ctrl-C then
I do not
> get the error.
> 
> Happens in all situations, doesn't matter if grid has 1 row or 500 rows.
> That is, if it fails, doesn't matter how many rows, and if it succeeds
> doesn't matter how many rows.
> 
> Wonder if you could provide any inputs looking at the following
> exception text?  Let me know anything that comes to your mind, could
> make my day.  If you think that its a bug from Microsoft itself, still
> please let me know.
> 
> Thanks,
> -Apurva.
> 
> ************** Exception Text **************
> System.InvalidOperationException: The 'Source' DataGridColumnStyle
cannot be
> used because it is not associated with a Property or Column in the
> DataSource.
>   at
>
System.Windows.Forms.DataGridColumnStyle.CheckValidDataSource(CurrencyManage
> r value)
>   at
>
System.Windows.Forms.DataGridColumnStyle.GetColumnValueAtRow(CurrencyManager
> source, Int32 rowNum)
>   at System.Windows.Forms.DataGrid.ProcessDialogKey(Keys keyData)
>   at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
>   at System.Windows.Forms.TextBoxBase.ProcessDialogKey(Keys keyData)
>   at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
>   at
>
System.Windows.Forms.ThreadContext.System.Windows.Forms.UnsafeNativeMethods+
> IMsoComponent.FPreTranslateMessage(MSG& msg)
> 
> ************** Loaded Assemblies **************
> mscorlib
>    Assembly Version: 1.0.5000.0
>    Win32 Version: 1.1.4322.573
>    CodeBase:
> file:///c:/winnt/microsoft.net/framework/v1.1.4322/mscorlib.dll
> ----------------------------------------
> CSTS
>    Assembly Version: 1.0.1670.23221
>    Win32 Version: 1.0.1670.23221
>    CodeBase: file:///C:/Program%20Files/CSTSNetPackage/CSTS.exe
> ----------------------------------------
> System.Windows.Forms
>    Assembly Version: 1.0.5000.0
>    Win32 Version: 1.1.4322.573
>    CodeBase:
>
file:///c:/winnt/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e
> 089/system.windows.forms.dll
> ----------------------------------------
> System
>    Assembly Version: 1.0.5000.0
>    Win32 Version: 1.1.4322.573
>    CodeBase:
>
file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
> ----------------------------------------
> System.Data
>    Assembly Version: 1.0.5000.0
>    Win32 Version: 1.1.4322.573
>    CodeBase:
>
file:///c:/winnt/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/syste
> m.data.dll
> ----------------------------------------
> System.Xml
>    Assembly Version: 1.0.5000.0
>    Win32 Version: 1.1.4322.573
>    CodeBase:
>
file:///c:/winnt/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system
> ..xml.dll
> ----------------------------------------
> CrystalDecisions.CrystalReports.Engine
>    Assembly Version: 9.1.5000.0
>    Win32 Version: 9.1.9800.0
>    CodeBase:
>
file:///c:/winnt/assembly/gac/crystaldecisions.crystalreports.engine/9.1.500
> 0.0__692fbea5521e1304/crystaldecisions.crystalreports.engine.dll
> ----------------------------------------
> CrystalDecisions.Shared
>    Assembly Version: 9.1.5000.0
>    Win32 Version: 9.1.9800.0
>    CodeBase:
>
file:///c:/winnt/assembly/gac/crystaldecisions.shared/9.1.5000.0__692fbea552
> 1e1304/crystaldecisions.shared.dll
> ----------------------------------------
> CrystalDecisions.Windows.Forms
>    Assembly Version: 9.1.5000.0
>    Win32 Version: 9.1.9800.0
>    CodeBase:
>
file:///c:/winnt/assembly/gac/crystaldecisions.windows.forms/9.1.5000.0__692
> fbea5521e1304/crystaldecisions.windows.forms.dll
> ----------------------------------------
> System.Drawing
>    Assembly Version: 1.0.5000.0
>    Win32 Version: 1.1.4322.573
>    CodeBase:
>
file:///c:/winnt/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/sy
> stem.drawing.dll
> ----------------------------------------
> DDTek.Sybase
>    Assembly Version: 2.0.11.0
>    Win32 Version: 2.0.11.0
>    CodeBase:
>
file:///c:/winnt/assembly/gac/ddtek.sybase/2.0.11.0__c84cd5c63851e072/ddtek.
> sybase.dll
> ----------------------------------------
> CrystalKeyCodeLib
>    Assembly Version: 9.1.5000.0
>    Win32 Version: 9.1.9800.0
>    CodeBase:
>
file:///c:/winnt/assembly/gac/crystalkeycodelib/9.1.5000.0__692fbea5521e1304
> /crystalkeycodelib.dll
> ----------------------------------------
> System.Web.Services
>    Assembly Version: 1.0.5000.0
>    Win32 Version: 1.1.4322.573
>    CodeBase:
>
file:///c:/winnt/assembly/gac/system.web.services/1.0.5000.0__b03f5f7f11d50a
> 3a/system.web.services.dll
> ----------------------------------------
> System.Web
>    Assembly Version: 1.0.5000.0
>    Win32 Version: 1.1.4322.573
>    CodeBase:
>
file:///c:/winnt/assembly/gac/system.web/1.0.5000.0__b03f5f7f11d50a3a/system
> ..web.dll
> ----------------------------------------
> sa5qqpkl
>    Assembly Version: 0.0.0.0
>    Win32 Version: 1.1.4322.573
>    CodeBase:
>
file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
> ----------------------------------------
> DundasWinChart
>    Assembly Version: 4.0.0.1652
>    Win32 Version: 4.0.0.1652
>    CodeBase:
file:///C:/Program%20Files/CSTSNetPackage/DundasWinChart.DLL
> ----------------------------------------
> 
> ************** JIT Debugging **************
> To enable just in time (JIT) debugging, the config file for this
> application or machine (machine.config) must have the
> jitDebugging value set in the system.windows.forms section.
> The application must also be compiled with debugging
> enabled.
> 
> For example:
> 
> <configuration>
>    <system.windows.forms jitDebugging="true" />
> </configuration>
> 
> When JIT debugging is enabled, any unhandled exception
> will be sent to the JIT debugger registered on the machine
> rather than being handled by this dialog.



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/X1EolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetMetroArea/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to