|
Bankaida wrote: have programmed two years in VB.Net and I'm thinking of moving on to C#.
IMHO there is not much difference between the two. For basic syntax and usage try Microsoft Virtual academy .[^]
I'm not sure if this is what your looking for.
There are many great articles here on Code Project. Just search for relevant articles. Also in Q&A You can ask specific questions. Some of the guru's will help. (usually)
Hope this helps.
David
|
|
|
|
|
|
You are correct sir.
David
|
|
|
|
|
|
Hello, when I started to learn C# I found that dotnetperls.com really helped to explain the basics of c#
|
|
|
|
|
Hello Everybody,
I have developed a simple asp.net web application using Oracle database hosted in Windows Server machine and accessing from client PC. I am using simple RDLC Reports, now I want to make some interactive graphical Reports like SSRS Reports , i have tried this,
but I am completely new to this SSRS technology.
So can anybody guide me how to use SSRS reporting services for my application using oracle database.
I want to access SSRS reports from that application, is it possible to make this happen using Oracle DB
Please help me out ......
Thank you..
|
|
|
|
|
Why have you posted this question in the C# forum?
Veni, vidi, abiit domum
|
|
|
|
|
private delegate void TestHandler();
private TestHandler mTestDelegate;
public fmMain()
{
InitializeComponent();
}
private void fmMain_Load(object sender, EventArgs e)
{
mTestDelegate = new TestHandler(() =>
{
Form fmTest = new Form();
fmTest.ShowDialog();
});
mTestDelegate.BeginInvoke(null, null);
}
Why can not I Wrtie "fmTest.Show()"
|
|
|
|
|
Please do not post the same thing in multiple places - it wastes time and can annoy people.
The only instant messaging I do involves my middle finger.
|
|
|
|
|
i am very sorry to do that.
|
|
|
|
|
.Show will show the form you want to display and will allow you to go back to the other window without closing it, and .ShowDialog will show the form you want to display and wont allow you to go back to the other window with out closing the new window.
|
|
|
|
|
I think you wont be able to do: fmTest.Show(); as "fmTest" is the main/only form. Can someone correct me if im wrong.
|
|
|
|
|
i want to know why I wrote "fmTest.Show()", the form("fmTest") will not be responded??
i hopt you copy my code and run it ,you will understand it
Thank you!
|
|
|
|
|
Hi All,
my program requires the user to open a specific text document with fixed values inside and clicking plot will plot the values from the text document onto the pictureBox. I need help in where if the user didn't open the text document and clicked the plot button, an error message will show from the MessageBox and requires the user to locate and open the text document. Any help will be appreciated!
Thanks
P.S I'm new so i'm not sure how to attach a picture so i used tinypic link [IMG]http://i41.tinypic.com/2elgjur.png[/IMG])
|
|
|
|
|
You will need to read the text file, get the values and store them in an array or another construct.
You can then plot a graph inside the picture box using classes from System.Drawing.Drawing2D .
As far as checking whether the file has been loaded or not goes, set a boolean when the text file is read.
If the user clicks on plot and this flag is not set, it means the file has not been loaded.
Simply show the error message.
|
|
|
|
|
Thank you all for your help!
|
|
|
|
|
As an alternative to Abhinav's suggestion. you should set the plot button's Enabled property to False in the form designer. Then, in your program, when you have successfully read and parsed the data file, set it to True . In that way, the user can only request a plot when you have some valid information.
Veni, vidi, abiit domum
|
|
|
|
|
Thanks for your help!
|
|
|
|
|
Which is Best? MVVM and MVC?
|
|
|
|
|
Both are different and cannot be compared. They have different uses.
MVVM was designed to make use of WPF and Silverlight's databinding characteristic, whereas MVC has been around as the traditional controller view separation approach.
|
|
|
|
|
As we are just starting the painful process of changing from Silverlight (MVVM) to ASP.Net (MVC) I can tell you the differences are HUGE. As Silverlight now has a limited lifespan (despite rumours) and we have to deliver via the web we have no choice but to go MVC.
The most glaring difference is that Silverlight/WPF requires 3 basic platforms to achieve great LOB apps, TSQL, C# and XAML.
ASP.net requires a whole raft of different tech, TSQL, C# of course, HTML, CSS, Javascript and a couple of JS frameworks, we are using Telerik tools that need their own Kendo framework and I can almost guarantee there are some I don't know about yet!
So unless you already have ASP.Net and javascript you have a rather nasty learning curve in multiple tech to work through. It makes the learning curve for XAML binding look trivial.
Given a choice I would go WPF and MVVM rather than ASP.Net and MVC, but they are completely different delivery platforms.
And if I could rip the head of the a***hole who canned Silverlight I would feel quite justified.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
It's worth mentioning that Microsoft has a framwork called "MVC" which is part of ASP.NET, this is unfortunate naming as, although it is an implementation of the MVC pattern, it is a specific technology so you need to state state whether you mean "ASP.NET MVC" or "the MVC pattern". There are plenty of articles about MVC and MVVM, so if you want an introduction to the basics, then googling those is easy.
Assuming the patterns: Neither is "best", both are acceptable technology choices, you need to decide which is most applicable to you. MVVM is considered by some/many as a sub-pattern of MVC, where the view model takes some/all of the lifting the controller is supposed that relates to handling to do in MVC but remains specifically a model of the view data/commands etc. At the very least MVVM should be seen as a progression from MVC. Quite often in MVVVM something is needed to replace the controller's orchestration/data accessing functions so in practice you often see controller-like classes bleeding in to MVVM. Likewise having a model of the view is handy, and unit testable so you also see the "vm" part bleeding in to "MVC" apps, or at least the ASP.NET ones I have worked on. SO has a discussion of the two patterns here[^], the first answer "Sorry to have to disagree with such a highly voted answer..." gives quite a bit of information on this topic, the discussion also contains the following quote:
Josh Smith If you put ten software architects into a room and have them discuss what the Model-View-Controller pattern is, you will end up with twelve different opinions.
When I've written WPF and silverlight apps, MVVM has fitted hand-in-glove, so if you are using these technologies you should use those, but as I say, you either end up adding data access & orchestration into the VM (breaking the Single Responsibility principle) or you start adding controller -like classes. That said, I've generally coupled WPF apps to WCF services, and I've had them present data that could use tech like automapper to convert to VMs.
|
|
|
|
|
I have a third party chat application where user will chat using this application.
We have one more application which was developed in C# and which provides details of account by providing the account number.
My requirement is need to read the contents (account no) from third party chat application and open the account details of entered account number in the Chat.
Is this feasible? How we can implement this.
Cheral
modified 27-Sep-13 8:17am.
|
|
|
|
|
Your best bet is to contact the people who wrote the Chat Application you are trying to integrate with.
There are a few things you can do yourself, such as looking for the account number being stored in some sort of file, but it is a longshot.
If you can't get the vendor to provide information and the account number is stored in memory then you've got real problems, so I'd exhaust the above first.
|
|
|
|
|
If the chat system has a log stored on the local driver (or on the server and they are willing to share it), you can read this log.
|
|
|
|