|
Just a plain user defined object, with properties like 'Id', 'Name', 'Text', etc.
|
|
|
|
|
Hello,
I've serious problems with dataview/databindings.
Assume the following:
I've got 2 dialogs.
- The first one has a datagrid and five textboxes attached to a dataview.
- The second one is created by the first with a DataRowView-Object, and has five textboxes and
a scrollbar attached to this row.
i)
updating a textbox in my first dialog shows changes only if i activate the datagrid, and vice versa.
ii)
updating a textbox in the second dialog shows changes in first dialog only if i activate the controls, too.
iii)
if i use my scrollbars in the second dialog to change the bound values, i immediately see changes in my first dialog, but nothing happens in the second one.
iv)
if i change the textboxes in my second dialog, and then use the scrollbars, i see no changes after all...
could someone please check out the project, and write one/two sentences to my points? i'm getting mad on this.
thanks
michael
testproject
|
|
|
|
|
Can any one help to me in using RandomNumberGenerator class member functions. Early response is appreciated.
|
|
|
|
|
The class RandomNumberGenerator is an abstract class - that means that you cannot create instances of this class. You can only create instances of class which extends the RandomNumberGenerator class.
Then it should be no problem to use the member functions.
(if you meant something different please tell and give some more info)
|
|
|
|
|
Use System.Random instead.
|
|
|
|
|
Hello C# Developers..
Is it possible to enable a specific row in a DataGrid?I mean your grid enable property is set to false but you want to update a specific row....
If yes ,how can I do this?
Please Help...........
|
|
|
|
|
Is there a way to avoid the flickering when resizing the WebBrowser control in .NET 2.0?
|
|
|
|
|
|
I can wait for it but will they fix it?
|
|
|
|
|
Get out your crystal ball and ask it...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi,
I have a 12 column datagrid populated by an Oracle 8.1.7 table.
The 'grid is clickable so that more data can be viewed according to which ever row is clicked.
On any given row, if columns 0 through 9 are clicked, there is no problem. The same is true if column 11 on a row is clicked. The problem arises only if column 10 is clicked. The error message "Column does not belong to Table" is displayed.
All column names (Header Texts) are handled in a stored procedure, the custom datagrid style only handles column widths, anyone have any idea why column 10 would behave in such a way?
I need that column in the table as it stores image paths. If it is moved to a different position ie swap columns 5 and 10 around then the application crashes if "what was column 5, now column 10" is clicked. The same happens if I set the column width to 0. The column that occupies the same screen space causes a crash yet all other columns behave as expected.
Any ideas on why this is happening or possible solutions would be greatly appreciated.
I will post code samples if necessary
Thanks lots in advance
Scotty
|
|
|
|
|
Hi everybody, i need to create registries kays and read data from registries also,in C++ i used CRegKey class is here smth similar to that . Or could anybody show an example , about how to read all data for example from :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Regards
m0n0
|
|
|
|
|
|
|
I've got a property grid i'm using to explore object Properties, which works fine.
However, I have a bug when an enumeration option is available and there is no default value, as the moment I click on the drop down box to select the new value, it throws an "Invalid Value of 0" error.
The enumeration in question has no Zero member, so I need a way to get around this if at all possible. Maybe by catching the error I would be able to select the item, but I don't know what where to place the exception handler.
Any thoughts?
Cheers
Cata
|
|
|
|
|
|
Here is the error message:
An unhandled exception of type 'System.ArgumentException' occurred in system.dll
Additional information: The value '0' is not a valid value for the enum 'SwapEffect'.
|
|
|
|
|
hi
i need some help to find the library QuartzTypeLib.dll. and from where can i get this library.plz reply me soon.
best regards.
shumyla
|
|
|
|
|
ok this is my issue
i wanna know how to resize the heigth of a simple label that has its dock value equal to top when i reduce the width my main form
note havien more than one label
if some one know how to do this plz reply this message thanks
regards Alexcuban
|
|
|
|
|
<br />
int current = this.Height;<br />
int differnce = 0;<br />
this.resized+=new EventHandler(form_resized);<br />
private void form_resized(object sender,EventArgs e)<br />
{<br />
differnce = this.Height;<br />
ResizeLbl();<br />
}<br />
private void ResizeLbl()<br />
{<br />
this.Label1.Height += deffernce<br />
}<br />
May that help ?
|
|
|
|
|
Hi, I'm trying to send exception notification via log4net's SmtpAppender. But I'm having trouble deciphering the following error message:
System.Web.HttpException ... Cannot access "CDO.Message object" ...
Here's what my appender looks like, I think it's okay, but... just in case:
<appender name="SmtpAppender" type="log4net.Appender.SmtpAppender">
<to value=ccc@ccc.com" />
<from value="ccc@ccc.com" />
<subject value="ccc
<bufferSize value="512" />
<lossy value="true" />
<evaluator type="log4net.Core.LevelEvaluator">
<threshold value="WARN"/>
</evaluator>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%newline%date [%thread] %-5level %logger [%ndc] - %message%newline%newline%newline" />
</layout>
</appender>
I suspected that it's security problem with my virtual STMP server (IIS on XP Professional), so, first thing I did was to check:
> MMC console
> IIS
> Default Virtual SMTP Server (Right click and bring up "properties")
> "Access" tab
a. Authentication: Anonymous access permitted.
b. For "Connection" and "Relay", configure an empty list with "All except the list below"
But, this apparently didn't solve the problem. Any suggestion? Thanks in advance.
btw, I'm searching log4net mailing list archive: http://marc.theaimsgroup.com/?l=log4net-user&w=2&r=1&s=log4net+smtpappender+access+cdo.message&q=b
Norman Fung
|
|
|
|
|
exists any problem using static methods in enterprice service, or using classes with static methods in a component in enterprice service
jimarmol
|
|
|
|
|
hello guys im wondering if i am able to block access to certain (or all) dialup connections from being run by users.. its like a kind of a parental control and i managed to disconnect a connection only once its state changes to: online .. and because there are only 2 states (online and offline), i was wondering if there's a way to block the connection dialog from appearing at all or disconnecting it before it gets connected.. i appreciate any help.. thank you in advance.
regards,
taher.
|
|
|
|
|
will anybody please help meeeeee!
|
|
|
|
|
Hi all,
I am communicating with a serial port using overlapped I/O and I have a very strange problem.When I run my application,it's killed by the system in a random way when i communicate with the serial port.I can't find exact position that it's killed.It seem that the I/O is associated with the system. Anyone have same experience?I appreciate any reply.
|
|
|
|