|
Thanks accessred.
With Regards,
Sakthi
|
|
|
|
|
accessred wrote: when it comes to windows applications,i think better option is VB.
Any specific reason for that?
Apurva Kaushal
|
|
|
|
|
see,C# is epecially designed for web projects.even though updation is on progress,VB is not proper for web deployment. more over XML compatibility is important in web applications.thus we choose C#.
"I am burning...the only thing rest in me is you..."
|
|
|
|
|
C# is the Best Language.
C# is fast and good when we go for Web Based Application.
VB is good when we go for the Windows Based Application.
Regards,
Satips.
|
|
|
|
|
Thanks Satips.
With Regards,
Sakthi
|
|
|
|
|
depends upon the project C# and VB can be used.
C# is better in web based applications(OOPS concept like java)
Vb is better in windows based applications.
you can use these two at any where in applications and both can be replaced
by each other's code.
there are some disadvantages and advantages with C# and vb.
you must know before using them
all the best.
Sathesh Pandian
|
|
|
|
|
sathesh_pandian wrote: some disadvantages and advantages with C# and vb.
Let me Know it in Detail?
With Regards,
Sakthi
|
|
|
|
|
One of the most obvious differences is that C# has XML documentation and VB
does not (I think this is going to be rectified in the next version -but
dont count on it)
Essentially it could be argued (and is true to an extent) that if you can
program in one then you can program in the other.
I used to program on and off in VB6 but went for C# because it is cleaner
and a true OO language.
If you have the time then learn C# -you will always be able to use VB for
any quirks it may have but quite honestly I doubt you will want to or need
to.
VB.net programmers will probably champion that language (quite
understandibly) but I have yet to find one good reason to learn it over
C# -except perhaps that there are slightly more jobs for VB.net than C# (Im
in INDIA) at the moment -but this is changing quickly.
Whatever you decide will not be a mistake, since learning the framework and
real OO is perhaps the biggest obstacle you face.
Regards,
Satips.
|
|
|
|
|
Thanks Satips.
But i am in USA. Herealso there are lot of Openings.
With Regards,
Sakthi
|
|
|
|
|
|
Thanks Sathesh.
With Regards,
Sakthi
|
|
|
|
|
|
Which language is better depends entirely on where, when, why and how you use them. Neither of your questions are specific enough to show any differences:
Sakthi Sat wrote: Question 1: Which language is given more preference c# or vb .net ?
That depends entirely on who you ask.
Sakthi Sat wrote: Question 2: Which is faster c# or vb .net ?
They both compile to IL code, and that code becomes identical for equivalent program code, so there is no speed difference in the compiled code. They both use the .NET framework, so there is no speed difference in library calls.
---
single minded; short sighted; long gone;
|
|
|
|
|
Thanks Guffa.
With Regards,
Sakthi
|
|
|
|
|
|
That's like asking which religion is better. The correct answer depends on who you ask. The best language is the one you are most proficient in...in my opinion.
|
|
|
|
|
Hi guys,
I've been working on a simple user control that creates a table, filled with images from piecing together bits of HTML.
Using Response.Write() to display every line, this takes about 3-4 seconds to execute. The obvious problem with this is that the table appears at the top of the page, not at the position of the user control. Using a label and buffering all the HTML to a string takes around 2-3 times as long! No extra code or anything just something along the lines of...
<br />
string buffer = "";<br />
<br />
buffer+=...;<br />
buffer+=...;<br />
<br />
Label1.Text = buffer;<br />
What is causing this massive performance hit when making such minor changes and how can I get around it? Thanks.
FinnG -
|
|
|
|
|
Constantly appending to a string is very inefficient, and may be what is slowing it down. If you still want to use that approach, you may want to look into using a System.Text.StringBuilder, which will allow you to do that, but more efficiently.
HTH
|
|
|
|
|
When I have Forms authentication for my c# web application, is it possible to run an exe by impersonating the thread with logged in windows user.
At present, when I try to run an exe from the web application, it says "Access is denied".
Is it possible to run the exe without changing the web.config to windows authentication or changing the IIS Settings.
TIA
Ananth
|
|
|
|
|
Make sure EXE is having proper rights i mean a.exe should have all rights for ASPNET account....Try this but i am not 100% sure. We did something very similar to your req in our last year project. Thanks!!
|
|
|
|
|
Hi Amit,
The problem is solved. Actually I was able to execute the code without impersonating any user. I had written my process starting code as
1 using (process = Process.Start(psi))<br />
2 {<br />
3
4 }
Application was erring out at line 1. So I thought starting the process needs some permission to the user. Then by chance, I tried commented line 1 and started the process outside without using "using". It worked.
I do not understand why it fails when the process is started in "using".
If you know why using creates problem, do reply.
Thanks for your suggestion!
Ananth
|
|
|
|
|
Hello everyone,
I have created a custom webcontrol that extends from the repeater class and that uses a custom ControlBuilder class for parsing child elements. This is done so that each column in the list can be defined seperately within the .aspx page
Example:
<WebControls:CJIINList runat="server" ID="lstAreaAssignment">
<ListColumn header="Area Designation" datafield="area" type="link" action="ViewDetails.aspx?DocID={0}" actiondata="DocID" />
<ListColumn header="Shift" datafield="shift" type="dropdown" actiondata="1,2,3" />
etc...
</WebControls:CJIINList>
I was able to get this to work, but in the Visual Studio designer, the child elements are all tagged with the following error message:
Validation (XHTML 1.0 Transitional): Element 'listcolumn' is not supported
Is there any way to fix this? Also, I would like intellisense to pop-up the list of properties / attributes available to the ListColumn class like it does for the CJIINList webcontrol.
Any ideas / suggestions would be greatly appreciated...
Thanks!
|
|
|
|
|
I have done a Tab Approach in ASP.net with the help of javascript...
I have two tabs in my process..
On load Tab one is loaded.When i goto second tab its also loading finely.But
i click the submit button in tab2 it will redirect to first tab.
I have attached the image link here..
And also i have attached the file.....
http://img155.imagevenue.com/loc912/th_45113_Tab_02_122_912lo.JPG
http://img144.imagevenue.com/loc953/th_45110_Tab_01_122_953lo.JPG
Download the Code using this Link...
http://www.kirupa.com/forum/attachment.php?attachmentid=42974&d=1182316293
Plz Anybody...
Gnanavel
|
|
|
|
|
We need to see code, not screenshots.
How does your page store what tab is selected ? From what you've said, it doesn't sound like it does. If you add an asp:Hidden field in your page, you can store state info there, and viewstate will persist it between postbacks, just read it back in your javascript
Try writing more meaningful subjects, if you could, it really helps us to help you.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
<title>Tab
function frmSubmit() {
if( (document.get_quote.query.value).replace(/^\s+/g,'').replace(/\s+$/g,'')!="" && (document.get_quote.query.value).replace('Company name / code, MF name','')!="")
document.get_quote.submit();
}
.f10 {FONT-FAMILY: arial; FONT-SIZE: 10px;}
.f11 {FONT-FAMILY: arial; FONT-SIZE: 11px;}
.f12 {FONT-FAMILY: arial; FONT-SIZE: 12px;}
.headback {background:#6592CE;
filter:progid:DXImageTransform.Microsoft.Gradient(GradientType ,StartColorStr:'#6592CE',EndColorStr:'#114EA0');color:#FFFFFF;cursor:pointer;cursor:hand;}
.headbacksel {background:#ffffff;color:#000000;border:solid 1px #b5d6ef;cursor:text;border-bottom:none;}
| |
|
<asp:button id="btn_sam" text="Submit" runat="server" onclick="btn_sam_Click">
| |
|
|
I attach the Code above please give a solution for me...
If you find any mistake in my subject please apology me...
The Problem is when i click the submit button in tab2 i will postback to tab1.
And i want to write some other submit action for the button.And i want to stay in the same...What can i do.
Give a clear solution for me....
Gnanavel
UI Desinger
P2softech
|
|
|
|