|
Statistically English, Spanish and Chinese, I think.
V.
|
|
|
|
|
Very hard to say without more info but what follows is my very vague and generalized impression of various languages (which is likely to spark some debate, i'm sure)
JAVA - Very portable, good for both apps and web, fairly easy to pick up, fairly hard to master
C# - Almost identical to java with a few gotchas thrown in and some very nice 'syntactic sugar' from which (imo) java would benefit greatly (properties, the event system, etc). Supposedly portable but, mono project aside, no-one has bothered to do the work to make it run on anything besides MS OSs. Can make use of any .Net assembly so allows close collaboration with VB coders (if you like that sorta thing ). Good for apps or, with the addition of ASP or WPF/Silverlight, web
VB - very easy to pick up. less 'rigid' in terms of code parsing allowing you to do things you probably shouldn't (has a bad reputation in some circles due to people doing things they shouldn't but, if you are strict with yourself and do things properly, its a perfectly fine language .... doesn't pay as much though ). Benefits of .Net framework same as for c#
C++ - harder to pick up than the others but gives you greater control over things like memory management. Doesn't hold your hand though and you will need to quickly figure out what you are doing or you will have memory leaks all over the place and no garbage collector to scurry around after you sweeping it all under the rug
Pedis ex oris
Quidquid latine dictum sit, altum sonatur
|
|
|
|
|
Stupid question. All of them. What could it possibly hurt??
|
|
|
|
|
Dave Kreskowiak wrote: All of them. What could it possibly hurt??
Guess that depends on how you define "all". The Tiobe report lists 50 languages. That of course isn't a complete list. There is going to be a time constraint involved in learning even 50.
|
|
|
|
|
Esperanto
Failure is not an option; it's the default selection.
|
|
|
|
|
KAFIL AHMED TAJAMUL DIVEKAR wrote: which is the best language to learn
Depends on what you mean by "best".
Learning C++ is going to teach you more about computer fundamentals.
Java has the most market share (excluding C++/C combined) but C# is up there.
Java and Objective-C are better for cells/mobiles.
Java, C# and C++ are are similar in syntax at the language level but differ significantly on libraries and that knowledge has more impact on real output. However with experience one can pick up libraries fairly quickly.
SQL and a vendor specific programmatic variation provides a foundation in databases. SQL is fundamentally different than other popular languages as such it is harder to start with a different language and learn it. However a developer who knows nothing but SQL (+ vendor variant) isn't going to do as well as one that knows at least something about another language.
|
|
|
|
|
Well, It depends. You didn't provide enough details in your question.
Anyway I prefer C#
thatrajaNobody remains a virgin, Life screws everyone
|
|
|
|
|
I am using a Telerik RadGrid Control.
I am using Entity access to backend SQL Server
I get the data from the DB Table just fine.
THe onClickedChanged event is firing.
The problem is I don't have a clue which of the 10 possible rows the checkbox event was envoked. The Chick is changing the visual presentation of the CheckBox (On/Off) but db.SaveChanges() is not writing the change back to the database.
ASP Code follows --- then C# ----
<asp:Content ID="Content1" ContentPlaceHolderID="placeholderMain" Runat="Server">
<div>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="grdDepartments">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="grdDepartments" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadGrid ID="grdDepartments" runat="server" AutoGenerateColumns="False"
CellSpacing="2" GridLines="None" Width="60px" AllowAutomaticInserts="true"
AllowAutomaticUpdates="true" OnItemUpdated="RadGrid1_ItemUpdated"
OnItemDeleted="RadGrid1_ItemDeleted" OnItemInserted="RadGrid1_ItemInserted" >
<MasterTableView DataKeyNames="DepartmentID" >
<Columns>
<telerik:GridBoundColumn DataField="DepartmentID" HeaderText="Department ID" ReadOnly="True"
UniqueName="DepartmentID" Visible="false">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Department1" HeaderText="Department" ReadOnly="True"
UniqueName="Department1">
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn HeaderText="Active" UniqueName="Active" DataField="Active"
AutoPostBackOnFilter="false">
<ItemTemplate >
<asp:CheckBox runat="server" ID="chkActive" Enabled="true" onCheckedChanged="chkActive_Click"
AutoPostBack="true" Checked='<%# DataBinder.Eval(Container.DataItem, "Active") %>' >
</asp:CheckBox >
</ItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
<EditFormSettings EditColumn-EditFormColumnIndex="2"/>
</MasterTableView>
</telerik:RadGrid>
<telerik:RadButton ID="btnSave" runat="server" Text="Save"
onclick="btnSave_Click">
</telerik:RadButton>
<telerik:RadButton ID="btnCancel" runat="server" Text="Cancel"
onclick="btnCancel_Click">
</telerik:RadButton>
</div>
</asp:Content>
------
{
public DataAccess.Dev_SiteEntities db = new DataAccess.Dev_SiteEntities();
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
var GrdDepartmentsData = (from p in db.Departments
select new { p.DepartmentID, p.Department1, p.Active });
grdDepartments.DataSource = GrdDepartmentsData;
grdDepartments.DataBind();
}
}
protected void btnSave_Click(object sender, EventArgs e)
{
bool blnStatus = false;
int intCount = 0;
int intRows = 0;
string strItem = "";
intCount = grdDepartments.Columns.Count;
strItem = grdDepartments.Items[0].KeyValues;
strItem = grdDepartments.Items[2].KeyValues;
db.SaveChanges();
}
protected void chkActive_Click(object sender, EventArgs e)
{
bool blnStatus = false;
int intCount = 0;
int intRows = 0;
string strItem = "";
blnStatus = (bool)grdDepartments.Columns[2];
strItem = grdDepartments.Items[0].KeyValues;
strItem = grdDepartments.Items[2].KeyValues;
db.SaveChanges();
}
-----
|
|
|
|
|
Please post your question on Telerik forums, there you may get the correct answer.
|
|
|
|
|
Voted +5 to "neutralize" the stupid univote.
best, Bill
"The first principle is that you must not fool yourself, and you are the easiest person to fool." Richard Feynman
|
|
|
|
|
Thank you Bill for your upvote.
|
|
|
|
|
The comment from ProEnggSoft is absolutely right: you paid big $ for Telerik's tools: they have a good reputation for support (or so I have read on CP: I personally do not use their tools).
Your question belongs on the Telerik forums.
best, Bill
"The first principle is that you must not fool yourself, and you are the easiest person to fool." Richard Feynman
|
|
|
|
|
The do indeed have EXCELLENT support....every question I've asked them in the past is responded to (in their public forum no less - no direct emailing required!) inside of half a day, and in 90% of cases, the support engineer will also attach a demo project..
Telerik Rock...wonder if they have any jobs going!?!?!
C# has already designed away most of the tedium of C++.
|
|
|
|
|
Hello, I was making many programs where I used ProgressBar in C#. But many of those progressBars was horisontal. So, I was wondering how to make it vertical and I didn't find a clear answer. If any1 knows how to do that please let me know?
|
|
|
|
|
|
|
Another technique to take the existing ProgressBar Control and make it appear vertical as shown here on MSDN: [^].
The discussion here starts a long time ago, but there's a post from 2009 indicating the technique still works.
I have not tried this myself under .NET 4.0, but may do so.
good luck, Bill
"The first principle is that you must not fool yourself, and you are the easiest person to fool." Richard Feynman
modified 20-Feb-12 2:19am.
|
|
|
|
|
I have a problem that I compile a program written in Visual Studio 2010 C # gives me an error: "You must have a license to use this ActiveX control." The reason for this is based on the use of ActiveX controls. Does anyone know how I can get rid of this error.
|
|
|
|
|
Buy it?
Which ActiveX control is giving trouble? Do you have the name of a component or a vendor?
Bastard Programmer from Hell
|
|
|
|
|
AxAVTACTIVECAMLib this is the name of the component
|
|
|
|
|
Certain ActiveX controls require that you have a license if you wish to use it for development. This happens only during design time. Compiled apps that use these controls work just fine. There's nothing much you can do about it.
|
|
|
|
|
Contact the manufacturer of the control and buy a design-time license for it, it it's even offered.
You cannot just reuse any control you want on your own apps. Some, you really have to pay for to use.
|
|
|
|
|
I suggest you buy a license and read the manual[^], like everyone does.
|
|
|
|
|
Hi every one !
I have two form : First Form for enter username and pass and Form2(Main Form). I want to save or register password and username if the user enter a valid pass . And for the next time , if the user execute this app , go to the main form directly.
(because for the first time he enter a valid pass).
thanks for any help !
|
|
|
|
|
nassimnastaran wrote: thanks for any help !
Help with what exactly?
Bastard Programmer from Hell
|
|
|
|