|
|
Morning all,
I was wondering if somebody could answer a simple question.
Using VS2005 I have a C# form connected to a Typed DataSet.
On this form I have a number of Textboxes that are DataBound to a Binding source, this is all fine, but I want to allow the user to edit the text without direct updates to the datasource. To implement this, I call suspendbinding on the binding source, but this clears the text boxes. Is there any way to prevent the text boxes clearing when suspend is called??
Thanks
Paul
|
|
|
|
|
Hey, I need to do a program, that when I tell it to, it will restart the program and update from the click-once auto-update.
How is it possible from inner-C# programming?
PLEASEEEE!!!! IT IS REALY IMPORTENT!!!
Thanks alot!!
|
|
|
|
|
I want an example code for creating a login page... By giving username and password and to fetch the username and password from a database..
|
|
|
|
|
You try to write it yourself and then if you encounter some problem ask here.
Best Regards,
Apurva Kaushal
|
|
|
|
|
hello
does anyone know how to do a linear fitting in C#?
thank you
|
|
|
|
|
What does that mean ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
hi i immediately need a project based on inventory control... If any one having post it to my email id chweet_arun@yahoo.com.sg....
I need Inventory control project with full coding and modules that must be executable
arun
-- modified at 2:09 Tuesday 3rd October, 2006
|
|
|
|
|
Sounds great. I need a program that displays medical images across 5 monitors, with a variety of client tools such as zoom and so on, and which downloads those images via a webservice. How about if I do your work, you can do mine ?
In other words, this site isn't here to do your job for you, or your homework, whatever it is you're trying to get away with not doing. Read your spec/homework, ( if it's work, then you'd do better to return it and explain why you are not competent to do it ), and assuming it's homework, talk to your lecturer, read your resource materials. If, after doing all that and trying to do your homework, you're stuck, by all means ask questions here.
If you need an inventory control program for your business, I'm way too busy, but I'm sure there's plenty of people here who could offer you their contract rates.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Hi
I have one column which contains numeric data. If data is 0 I would like to display ''.
How can I do that? Set any format?
thanks for help
Ela
|
|
|
|
|
maybe you can use a filter;
xDataSet.xtable.DefaultView.RowFilter =" xcolumn LIKE '% 0 %' ";
dataGridView1.DataSource = DataSet.xtable.DefaultView ;
with this only the cells with a 0 are displayed
|
|
|
|
|
I do not want to filter these records but show them and to not show 0 but ' ' (blank space)
|
|
|
|
|
hi all,
I need monitor the MS SQL Server (both 2000 and 2005) database changes.
like Sql Profiler.
how to do it?
Thanks in advance.
|
|
|
|
|
I don't believe there's any way to get notifications of tables changing.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Thanks for your reply.(f)
If there was the way to monitor the text file.
I have an idea that,
1, create trigger with the table
2, write the operations to a text files.
3, monitor text files changes to get the special table changes.
Any assistance would be really appreciated.
|
|
|
|
|
Yeah, that would work
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Thanks for your reply.
(f)
|
|
|
|
|
It's a bit grim, but if you're on Sql Server 2005, you can write managed stored procedures in C#, so you could use some mechanism like Remoting to send an update from your managed proc to the listening process. You'd then need to link your managed proc into the trigger.
As far as monitoring file changes, the following code snippet may give you some pointers:
using System.IO;
_watcher = new FileSystemWatcher();
_watcher.Path = folder;
_watcher.IncludeSubdirectories = true;
_watcher.NotifyFilter = NotifyFilters.LastWrite | NotifyFilters.DirectoryName | NotifyFilters.FileName;
_watcher.Changed += new FileSystemEventHandler(OnChanged);
_watcher.Created += new FileSystemEventHandler(OnChanged);
_watcher.Deleted += new FileSystemEventHandler(OnChanged);
_watcher.Renamed += new RenamedEventHandler(OnRenamed);
Regards,
Rob Philpott.
|
|
|
|
|
Thanks for your reply.
Rob Philpott wrote: Sql Server 2005
we use MS Sql Server both 2000 and 2005
Rob Philpott wrote: managed stored procedures in C#, so you could use some mechanism like Remoting to send an update from your managed proc to the listening process. You'd then need to link your managed proc into the trigger.
I didn't know about 'Managed stored procedures', can you give me more information about this?
|
|
|
|
|
Hi,
I worked out a decimal value and return the value like this:
return objWine.CurrencySymbol + (decUnitPrice * intQty);
But the it will display something like:
$100.0000
How do I format this number to display $100.00, and will this function round the decimal numbers?
I hope someone can help.
Regards
ma se
|
|
|
|
|
|
|
try
<br />
decimal d = 100.0000m;<br />
string s = string.Format("{0:000.00}", d);<br />
Console.WriteLine(s);<br />
the result :
<br />
100.00<br />
|
|
|
|
|
This doesn't display right:
String strUnitPrice = String.Format("{0:#,##0.00}", "100.3456");
I want it to round it off to 100.35 (rounded), but it just displays 100.3456.
What am I doing wrong??
|
|
|
|
|
It should be:
<br />
String strUnitPrice = String.Format("{0:#,##0.00}", 100.3456);<br />
no quote, it must be a number.
And I would suggest you read the reply above mine.
There are more information about String.Format.
or search in on MSDN.
hoping this help.
|
|
|
|