Tuesday, July 14, 2009

What is the difference between C#, asp.net, and vb.net?

I know they are a part of microsofts .NEt platform, but are C# and vb.net scripting languages for asp.net? What language is used to create .aspx?

What is the difference between C#, asp.net, and vb.net?
Each language is used for different functionality and different purposes. While the same task can be accomplished on all 3, it can be easiest done with one or the other, depending on what you need done, and the environment you are working in.





.aspx is created in ASP.
Reply:they are basically all progamming languages, the difference is the way they are writen, i mean different protocols
Reply:All of these are previous languages, protocols, etc that MS took and made their own and putting it all together as the .NET platform.





C# is MS's way of doing C/C++, and J# is their way of doing Java.





Since this is the way of one company and VERY proprietary, it is not a good idea to use the .NET framework.


How to install c c++ java oracle &.net?

how to install c++ java .net oracle

How to install c c++ java oracle %26amp;.net?
The simplest way to do development is to install linux on your computer. It is an operating system built by programmers for themselves so development tools are very available. In Windows developing is a hassle.

hollyhock

To teack c sharp.net at home in 2 or theree hour?

hi i want' to make project on c sharp.net and i learn it can you give me link,e-book ya book name which i refer from initially plz. help me

To teack c sharp.net at home in 2 or theree hour?
Download the program from microsoft site at


http://msdn.microsoft.com/vstudio/expres...


it is free


Run your Express Edition and click Help -%26gt; Register Product.(totally free)


And you can download the download the documentation


Microsoft Visual C# 2005 Express Edition: Build a Program Now!


by Patrice Pelland


It is basic


so that if you if you prefer


go to http://www.c-sharpcorner.com/


or another web site with C# tutorials


yes the microsoft say Now but iam affraid that will be necesary spend more than 2 or 3 hours


Learning C# & ASP.NET or Linux??

In term of learning curve what field should I start learning??


Programming ASP.NET with C#?? Or Learning Linux administration? What matters for me is the time frame to learn these technologies??

Learning C# %26amp; ASP.NET or Linux??
I myself develop web applications using ASP.NET %26amp; C#.





You're talking about two distinct job positions here not only different technologies.





Before deciding on what technology you want to learn, you should know what job you would find yourself more comfortable doing.





Going for C# %26amp; ASP.NET means you will have to work as web developer.





Linux administration on the other hand is totally something else (which I am not very familiar with).





As for the time frame, this is dependent on how much you want to grasp out of the two technologies.





Hope this helps.
Reply:Linux.





Then you don't have to waste your time on Microsoft technology that always changes and has 14,000 more viruses to work around.


Linking MS Access and C++ using .NET?

i want to learn how to link MS Access with C++. I have heard of something call .NET.





can you please explain what it is? And how can i use it to link access and c++?





also is C# a kind of .NET software?


And is .NET also called Visual studio.





basically tell me of one easy method to link Access with programming code.

Linking MS Access and C++ using .NET?
http://quickstarts.asp.net/QuickStartv20...


C# and .net framework?

What are their differences?


Are they dependent on each other?


Is it possible to use c# without invoking any .net components (use native API only)?

C# and .net framework?
C# is a programming language; .NET is called a "framework". Basically, .NET is just a component of the Windows OS that supposedly makes it easier to write programs in a language (such as C#) that resides on top of it. It provides things such as class libraries, common runtime language, easy database connectivity, etc.





I played around with C# when it was still in Beta. In theory, C# and .NET are supposed to be independent. In fact at first it was reported that C# would be a platform independent ANSI standard, like it predecessor C. Whether that ever came about or not, I don't know. However, I do know that C# certainly didn't "take off" like Micro$oft anticipated..





Last question? I don't know for sure, as I don't deal with either of the two anymore. But I do know that I have never seen nor heard of C# anywhere else but in the .NET environment. My guess would be that Microsoft kept their greedy little hooks in it somehow (similiar to what they did with IE, which was without question in my mind, in strict violation of anti-trust laws) and made the former somehow dependent on the latter. JMHO!
Reply:C# is a programming language. .NET is a set of libraries that can be used by various computer languages, 1 of which is C#.





Yes, you can program entirely in C# and not use any libraries or functions from .NET.
Reply:C# really does depend upon using the .NET framework (AKA common runtime language or CLR). I suppose you could somehow avoid using all of the class libraries etc., but then why bother with C#; just use C++. The point of C# is to write what is called Managed Code (meaning it takes advantage of the CLR) so that you know it will function and perform consistently.

cabbage

C, C++ and .Net?

As we have Multiplication and division in .Net why we dont have in


C and C++.

C, C++ and .Net?
I'm really not sure what you mean by this. But have a look at:








http://en.wikipedia.org/wiki/Operators_i...
Reply:Jesus-*******-christ, you're a moron.
Reply:multiply and divide in C/C++


float a,b,c;





a = 10;


b = 5;


c = a*b;


c = a/b;


C#/ASP.net - how to open a new browswer window/dialog?

I have an ASP page (C# as programming language) A.aspx which has 2 components - Button X and Text Field Y. Whenever a user click button X, it should open up a new dialog B.aspx (say, another IE explorer without the bars/icons) which shows the text in field Y.





I read it on the net...





one solution is to add a script in A.aspx in the onClick property of button X. The problem is I dunno who to propagate the info of field Y to B.aspx. Besides, that wont allow me (or least I dunno) to perform any actions in C# code upon the click of X (since the onClick now runs the script instead of the listerner code in C#)





Another option is invoke B.aspx from the buttonAction_Click code of Button X. However, I have no idea how to do it...and I also have no idea how to retrieve the info from A.aspx when I am in B.aspx

C#/ASP.net - how to open a new browswer window/dialog?
Okay you're asking two questions here:





First you want to open a new pop up window. To do this you use Javascript code, namely the window.open() method.





Then you want to pass a value from one browser to another. To do this you can use Query Strings.





Sample code:





%26lt;script type="text/javascript" language="javascript"%26gt;


function OpenNewWindow( valueOfY ) {





window.open('B.aspx?Y = '+valueOfY' , 'toolbar=no, scrollbars=no, resizeable=yes, width=550, height=600, left=10, top=50' );





}


%26lt;/script%26gt;





%26lt;asp:Button ID="btnX" runat="server" Text="Open New Window" OnClientClick = "OpenNewWindow( '%26lt;%= txtY.Text %%26gt;' ); " /%26gt;





Hope this helps.
Reply:plz email me so that I send you the complete code!!





You have to enabled emailing so that I people can communicate with you.





Regards, Report It

Reply:Firstly you have do distinguish between server side code and client side code, knowing that you can only open up a new browser window on the client side, even if it is a pop up window or dialog/model window.





Okay now to open up a dialog window you need to add client side script into you page. The script would be something like this;





%26lt;script language=javascript%26gt;


function Dialog()


{


var sPage;


var sProperties;


sProperties = 'scroll:no';


sProperties = sProperties + ';resizeable:no';


sProperties = sProperties + ';status:no';


sProperties = sProperties + ';dialogWidth:800px';


sProperties = sProperties + ';dialogHeight:750px';


sProperties = sProperties + ';Help:no';





sPage = "B.aspx";





showModalDialog(sPage , window, sProperties);


}


%26lt;/script%26gt;





Now on your onclick event (client side event!) you have to call this function.





eg.





%26lt;input id=X type=button


onclick="javascript:Dialog();"%26gt;





To pass the value of say your textbox Y, you can do this.








%26lt;script language=javascript%26gt;


function Dialog()


{


var sPage;


var sProperties;


sProperties = 'scroll:no';


sProperties = sProperties + ';resizeable:no';


sProperties = sProperties + ';status:no';


sProperties = sProperties + ';dialogWidth:800px';


sProperties = sProperties + ';dialogHeight:750px';


sProperties = sProperties + ';Help:no';





sPage = "B.aspx?Value=" + Y.value;





showModalDialog(sPage , window, sProperties);


}


%26lt;/script%26gt;





and change this ...





%26lt;input id=Y type=text%26gt;


%26lt;input id=X type=button


onclick="javascript:Dialog();"%26gt;


Which programming to choose c# or vb.net?

I am a below average vb.net programmer ,now iam planning to take it as a profession ,so which one to choose c# or vb.net.Some of my friends are saying that there is a chance that ms may drop vb.net lan in future, is it true?


%26gt; is c# %26amp; vb.net both equally powerful(not say they r equal)


%26gt; which one is more productive(easy to build),if so how much difference


%26gt; is c# tough to master than vb.net


Most of them r saying that lan does't matter in .net platform,but i really need a comparison


If possible reccomend a good beginner book

Which programming to choose c# or vb.net?
In terms of performance, all .NET languages compile to almost the same Intermediate Language (IL) hence perform almost the same.





There is a myth that C# code is faster which is not totally true, but there is a grain of truth in that since VB.NET allows you to take actions that might make your code of a lesser performance. Such actions might not be possible in C#.





I advice you to study C#. C# coders tend to understand VB.NET code (if they had to read it) more than VB.NET coders understand C#. In addition, learning C# will make it easier for you to understand a Java snippet if you had to read it for some reason.





The syntax of C# is a BIT tougher than VB.NET, but once you get used to it, it will be very easy for you.





To start learning C# i advise you to read the following two books in the order specified:


1) Microsoft C# 2005 Step by Step (Microsoft Press) [This book is excellent for starters)


2) Programming Microsoft C# 2005: The Language by Donis Marshall - Microsoft Press





Hope the above helped.
Reply:It's not entirely true that the language in .NET doesn't matter. I myself prefer C#, it's a bit more powerful than vb.net, and also less verbose. It was designed specifically for .net, so even though I had done plenty of vbscript in ASP, I chose C# for .NET.


If you've done any C, or C++, Java, or Javascript, the syntax will not be unfamiliar either.





Best book to start : C# Primer Plus, deals almost entirely with just the core language.
Reply:Actually you need to first describe you programming requirements.


Overall if you are going to programme on windows you should use VB for best compatibility and less hesitations.


And if u use linux then no metter the gcc and g++ are the most advanced and best options.


but like wise for gui in linux i would like to prefer python.


How to get values to the textbox coninuously from the button cobntrol using .net In javascript using C# lang?

Actually there are nearly 30 butttons when i click the button the corresponding value on it should be displayed in the text box using javascript in asp.net c#....That is the buttons should nearly act like a keyboard and the text box should act like a monitor to display the values....

How to get values to the textbox coninuously from the button cobntrol using .net In javascript using C# lang?
I think the problem is the control name is changed when on client side. You can never refer it by its name when we designed in C#. The solution for it is use document.getElementById(%26lt;%=txtLon.Client... to do the things. So javascript should refer to the control with its ClientId. Like





document.getElementById('%26lt;%=MytxtBox.C... = document.getElementById('%26lt;%=myBotton.Cli...





txtBox.ClientID


btnButton.ClientID

phlox

Can anyone suggest an open source Message Board written in ASP.NET C#?

Can anyone suggest an open source Message Board written in ASP.NET C# and had the ability to send out a daily digest to users?

Can anyone suggest an open source Message Board written in ASP.NET C#?
Computer Tutorials, Interview Question And Answer


http://freshbloger.com/
Reply:How about this one for clubs.





http://www.asp.net/downloads/starter-kit...


Is it possible To adobe indesign cs3 convert into xml in asp.net c#?

I m trying to convert the adobe cs3 file into xml in asp.net c#,can u send me the right way to do if it's possible ,


if it's not possible then why or

Is it possible To adobe indesign cs3 convert into xml in asp.net c#?
I don't believe so. Not with the results that I would expect anyway.





"you’re exporting only the text data and any graphics that have been tagged as XML elements. No layout information is included when you export XML."


-http://avondale.typepad.com/indesignupda...











1. Do you know how to run DoScript from c#?


c# requires a third argument (object WithArguments) that won't accept anything I throw at it @#(*%@








2. Have you found ANY substantial InDesign c# documentation?





I am trying to automate the assembly of a .indd





I'm tired of seeing all the level 1 examples out there.


ie. Here's how to make a textframe (Goofy laugh)





c# barely translates from js





I can't even begin to critize Adobe because I don't have enough time or message space here to fully portray my misery of using your products and services.


Superb job on the documentation! - yeeaahhhh


Price of creating a database application in ASP.NET and C#?

What is the price of creating a database application using ASP.NET, C# and AJAX?

Price of creating a database application in ASP.NET and C#?
That really depends on the complexity of the application. I.E. the amount of data stored and retrieved the amount of tables and the amounts of forms and reports to interact with the data. I usually charge a minimum of 35 dollar an hour for a minimum of 50 hours. You do the math. If you want you can email me a more detailed description of your project and I can estimate the hours it "should' take to complete.
Reply:It depends on how many days it takes to code it, may be you can post your project at websites like http://oktutorial.com/


and let freelance programmers bid for your project.


Is it possible to use a DLL in an ASP.NET (C#) application?

I am fairly new to ASP.NET, and would like to write a web-based application in C#. I was wondering if it were possible import a dll I made that generates Sudoku puzzles. It is located on my server and I want to use it in my application.


Thank you.

Is it possible to use a DLL in an ASP.NET (C#) application?
it depends on what the DLL.
Reply:it depends on what the DLL.





You can reference .NET assembles (they are a kind of DLL's) from any .NET application (including ASP.NET applications).





You can also reference COM components.





From visual studio, Right click your project, and choose Add Reference. Browse for your DLL and add it. You should now be able to access classes/methods in the DLL.





Hope this helps.
Reply:No problem, just right click on the project in the project explorer and choose Add Reference and choose the DLL you created.
Reply:yes, if the dll is an assembly container...





When deploy your application, load the dll in the assembly global cache (normally c:\windows\assembly directory)

verbena

Maintaining state of checkbox's in gridview using ASP.net, C#?

I have a gridview in which I have a field with checkbox and when we select checkbox with id 1,3,6 then this values store in database in format 1-3-6.


But I want to retrive this vakue if user again entered this checkboxes with id 1-3-6 should already checked.


Thks looking for reply.


ASP.net, C#

Maintaining state of checkbox's in gridview using ASP.net, C#?
Don't store the row index of checkbox in gridview. You have to bind the Datakey of GridView as a unique of the values retrived from the database. Then save that unique value for checkboxes instead of 1,3,6.





When you bind the GridView at page load run a for loop for each row of GridView and change the checkbox state by matching the datakey of each row.





For more information on GridView Controls with different ItemTemplate controls like LinkButton/ checkboxes you can learn from:


How can I change the statusbar using ASP.Net C# ?

I want to change the text in the status bar using the ASP.Net C# code? how can I do that?

How can I change the statusbar using ASP.Net C# ?
Changing the status bar can only be done from Javascript, so it can be changed any time the page refreshes or if you're using AJAX it could be changed without refreshing the whole page.





In Javascript you would use:





window.status = 'Message';





You could write a Javascript function that, when the page loads, it displays the contents of a hidden field that could be set from the server (C#) side.


How to delete data in gridview in asp.net (c#)?

I have a gridview and also a delete button outside the gridview. It is because i want to have a function that delete the data of the checked checkbox inside the gridview by pressing the delete button.





So how i gonna delete the data by pressing the delete button? Please show me the coding, i using ms visual studio 2005, asp.net 2.0 (c#).





Thank you...

How to delete data in gridview in asp.net (c#)?
Is this a windows app or web app? Are you hooking into a database? If so I suggest deleting the item from the database and rebinding the data to the grid.


How long before I get a job as ASP.NET/C# Developer?

I am starting to study C# then will study asp.net. I want to be ready in 8 months to apply for an asp.net developer position. I am a newbee. How many hours do you guys think I should study to be ready in 8 months from now??





Thanks

How long before I get a job as ASP.NET/C# Developer?
Why dont you go onto www.rentacoder.com and bid on small projects. That way you can learn as you go and get paid for it!

snapdragon2

How to get a richtextbox in asp.net c#?

there is no richtextbox control in the toolbox in asp.net c#........

How to get a richtextbox in asp.net c#?
hii.. You can use java scripts.


You can download free code along with tutorial here..





http://www.codeproject.com/KB/scripting/...





hope u enjoy..
Reply:The one that I'm using is FreeTextBox. It is THE BEST!!!! and Free!!!





More information here: http://www.freetextbox.com/


Quesion about setting parameters in a ASP.NET C# page?

I want to be able to customize a page according to the id inputted in the URL http://CommonWA/AnnoucementDetail.aspx?I... like if I am on one page and I type 3 into a forum box labeled "id" or something and it goes to another page I want to make it so that the page is customized according to the id supplied. but I don't know how to make it so that it sets the value for the parameter in the URL, where would I go about coding this in the ASP.NET C# page? All I know is that it has something to do with the GET and the pageLoad method... I think





any help would be greatly appreciated, thanx in advanced :-)

Quesion about setting parameters in a ASP.NET C# page?
in the codebehind of the AnnoucementDetail.aspx, you would put something like this to get the parameter value:





private int id; //declare a var


Page_Load(...){


if (!Page.IsPostBack){


id = int.Parse(Request.QueryString("ID"));


//now the id var will contains whatever number you pass to it





//then just do some conditional checking on the id here to do whatever customization needed.


}


}











hope this helps.


Finger print reader attendance system asp.net , C# developement?

I am trying to develop a web application which requires to store finger prints of certain people.


I want to know how to do that in ASP.Net and using C# as codebehind.


I am new in this field, hence confused on how to go about this.


Please help me out...

Finger print reader attendance system asp.net , C# developement?
so each computer will access this webpage... and each client has a finger print scanner?


i would go for a standalone application rather than a web app.


its more easier to deploy and you will find lots of examples on the net. www. google.com if you havent heard of it.
Reply:I know that a stand alone application will serve the best for me.


But the requirement is a web application.


It will be an intranet application so hacking and such issues are ruled out.


Say its an application for SS card, we store name, address etc.


It is needed to store fingerprints also Report It

Reply:ASP.NET applications are for developing web applications. Web applications are accessed through a browser.





The nature of your application isn't a typical ASP.NET application.





Hope this helps.
Reply:yeah its better to do the standalone rather than using a website, an online application program could be easily hack compare to a standalone. You should have first the biometrics technology and of course a knowledge in assembly language!


What does @ mean in this asp.net/c# statement lblResult.Text = @"
Product " + txtProductName.Text ;

C#, ASP.NET 3.5

What does @ mean in this asp.net/c# statement lblResult.Text = @"
Product " + txtProductName.Text ;
It means interpret the following string as literal. Meaning, the / in the string will actually be a "/" in the output, rather than having to put "//" to mean the literal character.

avender

How to use a web service in ASP.NET C# to check user details?

I've create a website in visual studio's 2005 in ASP.NET C#, one part of my website requires to check the user details for example personal details and bank details.


The web service must contain the following





-If the details entered by the user don’t match the original


Entered previously by the user and is stored with their profile. Then a message appears asking the user to adjust their details.





-If the details are correct then I want a message stating that the transaction was successful





- Check the type of card that they are using





- if there’s not enough funds in the correct return a message stating that there’s not enough funds in the account.





It’s basically the same process as when you’re using Amazon to purchase goods. For example checks the details that you already have stored in your profile (personal details %26amp; bank) if they match it checks that the funds are available in your account. Can someone write the code in C# ASP.NET using Visual Studios to using the web service to accomplish this(has to be in the web service)





Thanks

How to use a web service in ASP.NET C# to check user details?
You can use the security features in ASP.NET to create user accounts:





http://quickstarts.asp.net/QuickStartv20...





From that, you can associate user accounts you store in a SQL database with the user, and give the logged-in user a way to update those details.





You'll need a payment gateway of some sort to check account balances. In other words, you need a merchant account to check credit balances.





It actually sounds like you should start with the storefront starter kit that ASP.NET provides, and customize that to fit your needs:





http://www.asp.net/downloads/starterkits...


Hit counter in ASP .NET (C#) ?

Hi everybody...! I want a hit counter by C# in asp .net, What's the code for this aim?!

Hit counter in ASP .NET (C#) ?
goto





http://www.devnewz.com/2004/0127.html








hope this helps


Cheers:)
Reply:I have been using a third party service for the hit counter.


Check http://gostats.com , they have a free offer as well as professional offer.


It is as simple as copy and paste of code.


I want to learn .NET & C#?

HI i have no0 programming experience , wana learn C# and .NET??? please suggest me some links of E books and prerequiste softwares to be learnt, and softwares needed..


plz help me

I want to learn .NET %26amp; C#?
jUST GET ANY BOOK ON C++ OR BASIC AND JUST GET THE BASIC CONSEPT LIKE WHAT ARE LOOPS , PROCEDURES, METHODS DLL AND ALL THAT THEN U NEED TO INSTALL MS.NET ON UR PC AND DONT 4GET TO INSTALL THE MSDN ITS THE BEST HELP U CAN GET ALSO SOME SITES BELOW WILL HELP
Reply:Advcie: start with a simple language first. Start with HTML or even python.





learning how programming works will make .NET and C# a lot more fun and easier to learn.





http://www.w3schools.com/html/default.as...


http://www.python.org/
Reply:Start with the following book it's excellent:


Microsoft Visual C# 2005 step by step.





You can also read:


Programming Microsoft Visual C# 2005: The Language


by Donis Marshall





Both are Microsoft Press.





To apply what you're learning, you can download Visual studio 2005 Express edition for free from Microsoft:


http://msdn.microsoft.com/vstudio/expres...





Hope this helps
Reply:You'll need Microsoft Visual Studio. There is a free version called Visual Studio Express:


http://msdn.microsoft.com/vstudio/expres...





Here are some tutorials:





http://msdn2.microsoft.com/EN-US/library...





http://www.codeproject.com/csharp/





When starting any new programming language, it's always a good idea to find a "hello world" tutorial. That will get you familiar with how to create and run a project.


Good luck.
Reply:These sites offer free and paid for "How To" videos and sample code.





http://msdn.microsoft.com/vstudio/expres...


http://www.learnvisualstudio.net/...


http://www.asp.net/


http://www.asp.net/downloads/starter-kit...


http://quickstarts.asp.net/quickstartv20...


How to upload file in ASP.Net C# without using the FileUpload web control?

I'm trying to upload files using ASP.Net (C# based) but using only programming. I mean i don't want to use the FileUpload web control, i know it much easier but I want to know how to make the browse dialog, and when selecting a file i put it in a textbox, then i know the rest where you read the file as a stream and then save it locally on your computer or in the server, I know that in windows application just use the OpenFileDialog and that's it, but in ASP.Net it's different, and when I've added the System.Windows.Forms reference, it didn't work correctly.


Please I need your help

How to upload file in ASP.Net C# without using the FileUpload web control?
The only possible way to do something like this would be to upt the file upload control on the page, but hide it with CSS and then use javascript to recreate everything.





The reason you can't use System.Windows.Forms reference is because it expects the presentation layer to be on the same box as the rest of the code. In ASP.NET, you are using HTML for your presentation layer, which will be on another computer and may not even be Windows.

violet

Best ASP.NET (C#) web hosting?

Hi!


I got a contract, and I would need to find a ASP.NET 2.0 (C#) web hosting.


This is for a small website, I do not need a database (well for now).


Any suggestions?


I found GoDaddy, which is not expensive, (I probably buy the domain name here) but I would like some recommandation or comments.





Thank you very much!

Best ASP.NET (C#) web hosting?
I have a few dozen websites with GoDaddy. The hosting is fine. You should be aware that they are rather restrictive with MS SQL Server connections, and you'll have to carefully read their literature if you ever want to use SQL Server. Otherwise, I love it!





P.S. I might point out that they also support MySQL and Access without the MS SQL issues.
Reply:If you like to create websites (usually you will end up more than 1 website, I got more than 100 websites in about 6 months' time), go for multiple web hosting services where you could host all your websites in one account.





I would like to suggest following webhosting which I use, they are excellent.





Hostmonster http://www.hostmonster.com/track/ryukend...





They offer hosting of "unlimited domains" and you will get massive webspace of 300000 MB (300 GB ). They only charge $5.95/month and they offer "a free Domain Name" and installing service called "Fantastico". By using Fantastico, you could create own forum, photo gallery, shopping cart (e-commerce),your own auction site and your own blogs within few seconds. They also offer "Free Website Builder" as well.


Visit the site to check details.





Hostmonster http://www.hostmonster.com/track/ryukend...








More the list of BEST WEB HOSTING sites visit





http://nicewebhosts.com





FREE AD-FREE HOSTING.





If you would like free ad-free hosting, try





http://www.webzonetalk.com/hosting.html
Reply:Just try visiting http://www.xekom.com and then go for the link saying ASP hosting. They have a list of best ASP hosting companies there, may be u can find one that is best for u.
Reply:I am using http://aplis.net/ web hosting.


PayPal API in .NET? C#? Help!?

I need a way to post back to my website after a PayPal transaction to update a database. If PayPal has an API, I need one for ASP.NET, preferrable C#? Thanks!!

PayPal API in .NET? C#? Help!?
https://developer.paypal.com/ - PayPal has complete documentation on their API. I read through it quickly and it should not be difficult for anyone even moderately competent in c# and .NET to develop a simple interface for it. Just read the documentation and do it yourself.


Question about asp.net c#... Please Help...?

I'm using asp.net c# to write a code...





Then it have error:





Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control.





Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.





Exception Details: System.InvalidOperationException: Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control.





Source Error:





Line 72: %26lt;asp:Literal runat="server" ID="litLastUpdate" Text='%26lt;%# Eval("UpdatedDate") %%26gt;'%26gt;%26lt;/asp:Literal%26gt;

Question about asp.net c#... Please Help...?
I am a begginer for ASP.net, if you want experts to answer your question, go to http://www.asp.net a forum that helps everyone in building asp/asp.net technologies.


Which one is better: PHP or ASP.NET with (C# or VB)?

I already know Java, JavaScript, HTML, and CSS. I know that PHP used by small companies, and most of big corporations use ASP.NET. I also know that more jobs available for ASP.NET.


If any of you like ASP.NET, which language is better and easier to learn with ASP.NET: C# or VB?


I really want to know between PHP and ASP.NET, which one is better in long term. Which one is worth my time for learning it?

Which one is better: PHP or ASP.NET with (C# or VB)?
Learn them all !





In the 20+ years I have been programming I have used as many as 15 different languages. I expect to continue to learn new languages and environments.





Why this many? Technology changes and the flavor of today will not be the one tomorrow. Once you understand basic language structure it becomes very easy to pick up another.





Two courses which helped me greatest in my career were Data Structures and Programming Language structures. Programming Language structures introduced me to a variaty of languages and continues to be of the most use to me.
Reply:I personally feel that VB is easier to start learning than C#. But, since you already know Java, you could start with either successfully. C# is intended to appeal to the Java and C++ community.





Often times the .NET examples are only published in C#, so even VB programmers must be capable of reading C#. Quite often as I am reading sample code I forget which I am looking at because I have been doing this so long. My focus tends to be on classes being used as well as the control structures.





The larger challenge will be learning the ins and outs of the .NET Framework. Personally, I feel learning the .NET Framework is easier than learning the class structures of Java. Java has gone class and interface crazy. .NET is not that extreme, though programmers coming from VB6 will disagree.

peony

VWD/ASP.NET/C# Help please- willing to mention you/your site on homepage?

Hi,





I need some help to finish the development of my asp.net/c# website - I'm nearly there I just have got stuck on a couple of bits...





I'm willing to mention you and your website on the homepage if you can help!





Thanks,


Jon

VWD/ASP.NET/C# Help please- willing to mention you/your site on homepage?
You don't mention what the issues are that you are stuck with. Please elaborate and I/anyone may be able to help.


ASP.Net C#, Datagrid question?

In C#(asp.net) , i have a web form tat has purchase details like PO no, PO date(single-text boxes) and itemdetails like (multiple-Datagrid) , on click of save which is at end of web form, shud save all details into database. before tat all details shud save temporaily(without using database) .


Pls get me as many as code samples which use datagrid in asp.net

ASP.Net C#, Datagrid question?
I presume you're using a DataSet, which is disconnected, so you update the dataset on Save and that will be disconnected. For updating the underlying DB you use a DataAdapter, and run it's Update method. Plenty of examples on http://msdn.microsoft.com





Though I myself update differently with my own component.
Reply:You know we have two kinds of database connection.


Connected and Disconnected.





Connected : This kind of connection connects to db everytime to save,delete or update a record or field.So the speed and performance slows down using this connection type.


Objects needed: SqlConnection,SqlCommand,DataSet,DataGri...





Disconnected:This kind of connection doesn't connect to db for each tiny record,feild changes.


it saves the data when it connects to db into DataAdapter object.When changes occures to data it temporaily saves the changes just to it's data(DataAdapter ,not to db).


You just need to upload it's data to database when needed.


objects needed: SqlConnection,SqlCommand,SqlDataAdapter,...





Also you can search for it at msdn.


If you couldn't find enough resource just email me to send the complete example source to you.


Visual .NEt C++ 2002 and Visual Studio 2005 Compatibility?

I currently own Microsoft Visual .Net C++ Standard 2002 and was wondering if I can use it to edit programs developed with Visual Studio 2005. I'd hate to upgrade my software for nothing.

Visual .NEt C++ 2002 and Visual Studio 2005 Compatibility?
As previously noted, Visual Studio .NET 2002 probably will not read SLN files created in Visual Studio 2005.





More to the problem, Visual Studio .NET 2002 can only support the ASP.NET 1 framework, while 2005 works in ASP.NET 2.





Therefore, the 2002 IDE won't be able to compile your ASP.NET 2 code, because many of the namespaces, objects and controls are different between the two.
Reply:if you mean open .sln files created w/2005 then no. 2005 is much better than 2002, which was a POS. Its worth the money it is far better.


Dot Net, C++ installation.?

I have windows XP Home edition at home. I want to install dot net and C++ on my PC. Will this XP Home version enough to install these programmes ? Or do I require XP Professional for that ? Also are Java programmes downloadable from internet ? My PC has 80GB Hard disk, 512MB RAM and P4 processor. Is this sufficient to install and run these programmes ?

Dot Net, C++ installation.?
yes this configuration is sufficient. you can install .net and c++ on it.

long stem roses

Change from .NET(VB) to .NET(C#)?

i have basic knowledge of C++ and C#, now i am working on ASP.NET using VB.


now if i want to change from ASP.NET using VB to ASP.NET using C#, will it be difficult or it will add to my exp and it's easy to do this switch

Change from .NET(VB) to .NET(C#)?
serach on google for converter tools available on Internet
Reply:My experience with converting from Visual Basic to C# was simply spending 5 or 6 days combing through C# books. If you go this route, I suggest you get Wrox and Microsoft Press books, because a lot of them give examples in VB and C#.
Reply:You have knowledge of C++ and C# then why are you think, it will be difficult, you can easily switch.


--------------------------------------...


http://www.paradoxdatabaserecovery.com


How do i use a xsd document to extract data from a MSSQL server db and create a XML file of that using C#.net?

Hi,


I have created a XSD file now I want to use it in MS VS .net 2003/ 2005 to extract data from multiple tables like customes and their orders and the bills for those orders and create an XML file based on the structures setup in XSD . Would like to c a working example on the net if possible could someone pls guide me . I require to create an executable so any one can use it I have another utility wherein they can modify the xsd as per the requirements .


Many thanks


Meherdad

How do i use a xsd document to extract data from a MSSQL server db and create a XML file of that using C#.net?
try running this sample query against your db and check out the output. It will output the data in XML format. This will hopefully give you a start. Unfortunatly I don't have any C# code for you.





select *


from orders


for xml auto, elements





here is a good tutorial on the basics of getting data from SQL server in XML format and using XML schemas





http://sqljunkies.com/Article/53969753-E...


How do I connect, read from, and write to a sql server 2000 data base via C#.NET 2005?

I can write applications in C#.NET 2005, and can make databases in MS SQL Sever 2000. Now I want to access this database using my application. How would I go about doing that?

How do I connect, read from, and write to a sql server 2000 data base via C#.NET 2005?
To Connect use: System.Data.SQLClient.SQLConnection





Connection String: Provider=sqloledb;Data Source=myServerAddress;Initial Catalog=myDataBase;User Id=myUsername;Password=myPassword;





To Access use: System.Data.DataTable


System.Data.DataSet





Hope this helps,





Cheers


If I want to become a successful programmer, what else should I study besides Visual Basic and Visual C.net?

I am good at Visual Basic 2005 and Visual C.net, but I found that these two cannot make one a professional programmer. So, what else should I study? I am confused.... What is best rewarding and most needed today? ... Java, or Oracle, or SQL, or what exactly??





Well, I know these are totally different topics and each one of them is needed somewhere or another. But what I would like you my fellow friends to help me with is: If I am already good at Visual Basic and Visual C, what else do I need to study to be able t make a good career in the programming world, besides my current being a translator?





Thanks in advance for your answers.

If I want to become a successful programmer, what else should I study besides Visual Basic and Visual C.net?
You must study Algorithms. How to solve complex problems. Just pick up any book related to Algorithm analysis and Datastructures. Because, Visual Basic, Visual C, Java are only languages. And one can learn the syntax very easily. The main thing in programming is Algorithms. When you are able to design a good algorithm, you can right code in any language.
Reply:Visual basic is an interface program, and very good for gamnes or small applications.


Visual c is very good for controlling hardware and mechanical instruments.


But when u talk about becoming a programmer, then usualy the clients wants u to make them database programs, for that u must leran SQL, any SQL will do oracle (PL-sql), ms sql, etc


u can use database program the sql with visual basic or visual c to become a good programmer.


remember avery organization has it own prference about programers, some will use oracle, other ms-sql and some might prefer unix or lunix. so just stick to one
Reply:Cold Fusion
Reply:TOTALLY depends on what sort of programmer you want to become. For web dev you're probably better off translating your VB scripting to ASP, and your Visual C.net to C#.





SQL is worth knowing regardles of which application programming language you're using. Be it Access, SQL Server, mySQL etc, a strong understanding of formulating SQL statements is an essential skill.





So decide on what technologies / platforms you want to develop for first, and then look at the actual languages that you should learn.





But learn SQL regardless!
Reply:You can start studing MsSql or mysql databases and visualbasic.net to be an Web devoloper


You can find tutorials at http://www.w3schools.com
Reply:Java, definitely. It's pretty platform independent, which is a good thing.





Oracle %26amp; SQL aren't really programming languages, just ways to make those already built programs do something (I think).
Reply:I guess you can easily study .Net counter part of Visual Studio, as you already used with Microsoft development tools, so its easy to learn.


Java is robust and really stable and portable so you can see that


there will be lot of openings in Java also.





Inspite of all these things, your expertise in a particular language matters most. Be an expert in .Net, I am sure that you will have a good programmer future.

gifts

How can i detect if there are IDN characters for a given URI/URL using C# or .NET apis?

I can do this in C++ using the Windows/IE provided apis by using the GetHostType property and using URL_HOST_TYPE enum etc.





BUT Iam not able to find a solution of how to do this using C# / .NET apis. Can you please provide some sample code?





Do i need to create my own "UriParser" class that derives from GenericUriParser and play with it?

How can i detect if there are IDN characters for a given URI/URL using C# or .NET apis?
use a PiH or ST7 software


I want to Input into textbox from other opened form. How Can I do that into C#.Net 2005 winform?

Hello All you great Pro


I was developing applications in VB6 and Converting myself into C#.Net. But I got trouble in one thing





I have a form for select certain field in C#.Net. When I pressed on that field to enter select option such as ... I want to search on PinCode in a text box. When I press enter in that TextBox it will open a new form with list of PinCode from Database. When I select the PinCode from the List and Click on the Ok But of other form the PinCode will palce in TextBox of Searching Form(Mean Cross Form Value Exchange/One Form to another form data exchange).





I was doing it in VB6 very easily.





Please help me How can I do that





thanks in Advance

I want to Input into textbox from other opened form. How Can I do that into C#.Net 2005 winform?
Create a public property on Form1 that wraps the textbox you are using (replace textBox1 with the name of your textbox):





public string PinCode


{


get { return textBox1.Text; }


set { textBox1.Text = value; }


}





Then, open Form2 using ShowDialog:





Form2 pinForm = new Form2();


pinForm.ShowDialog(this);





I assume that Form2 has a listbox and a button. I recommend making this a fixed dialog. You'll need to wire the button click, listbox double-click, and Form Load events, cut and paste will probably not work. Here is Form2 Code:





using System;


using System.Collections.Generic;


using System.ComponentModel;


using System.Data;


using System.Drawing;


using System.Text;


using System.Windows.Forms;





namespace CrossForm


{


public partial class Form2 : Form


{


private Form1 CallingForm = null;





public Form2()


{


InitializeComponent();


}





private void button1_Click(object sender, EventArgs e)


{


ItemSelected();


}





private void Form2_Load(object sender, EventArgs e)


{


// Check the owner of the form


if (this.Owner is Form1)


{


CallingForm = (Form1)this.Owner;





// Do database stuff here and bind the results to listBox1


listBox1.SelectedIndex = listBox1.FindStringExact ( CallingForm.PinCode );


}


}





private void listBox1_DoubleClick(object sender, EventArgs e)


{


ItemSelected();


}





private void ItemSelected()


{


// Only do this if Form1 owns the form and there is an item selected


if (CallingForm != null %26amp;%26amp; listBox1.SelectedItem != null)


{


CallingForm.PinCode = listBox1.SelectedItem. ToString();


}


this.Close();


}





}


}
Reply:I'm not sure I understand the question: I'm going to take a stab at it, If I'm incorrect or you need more help, then feel free to email me at irishtek@yahoo.com





I undersand: you have a form option the user can select from that should open another form with a list of information. The user can select from this information and based upon the selection will populate some other field in the first form?





I'd recomned using panels. form1 on panel1 form2 on panel2


when option is selected in form1 the code behind can make form1 invisible and form2 visible





Then once the selection is made on form2 the form1 can be made visible and populated with the selection from form2, then form2 can be made invisible.

innia

How do I open a PDF file in Adobe Acrobat Reader in C#.net?

How do I open or view a PDF file in Adobe Acrobat Reader in C#.net Windows application?

How do I open a PDF file in Adobe Acrobat Reader in C#.net?
One option is to use to process.start method to open Adobe and pass the PDF file name in as an arugment. Here is the MSDN link for this:





http://msdn2.microsoft.com/en-us/library...


How can i change the position of an item in the list box in c#.net with asp.net2.0?

iam preparing a listbox it contains some items , and it has two buttons ( up button and down button), when i pressed down button item was changing its position from up to down , but when iam pressing the up button it is not moving ????..this is my prob what to do pls make me clear.......... iam doing it in c#.net with asp.net2.0

How can i change the position of an item in the list box in c#.net with asp.net2.0?
delete and start from the beginning


Have do I save data in an Access database using Visual Studio 2005 Express, C# .NET?

I hope you are a C# .NET professional, because this is a nasty problem ;-)





I'd like to design an application that connects to an Access database.





Using Visual Studio 2005 Express Edition, I added the Access database to the Data Connections window (and the .mdb file is also shown in the solution explorer).





Next to that, I added a new DataSet related to the .mdf file.





Using this handy drag and drop technique I quickly added a DataGridView to my Designer surface.





If I run the program in Debug mode, add new records and hit the Save button, it seems to save the dataset back into the database (this idea is confirmed by the fact that the tableAdapter.Update() method returns a non-zero value).





However, if I rerun the program or look into my database using Access, nothing has changed.





Does anyone know what's going on?





Notice that I don't have this problem if I use an SQL database

Have do I save data in an Access database using Visual Studio 2005 Express, C# .NET?
Hi,





You might want to check that the Intenet Guest Account (IUSR_YOURCOMPNAME) has write access to the directory where your Access database is located. This account is used when connecting anonymously to IIS through a browser. :)
Reply:If I am not wrong, Access file is MDB, not MDF.





MDF is SQL Database file.





So I think you have the data update done into the SQL database rather than Access. (And you thinking is done on Access)


How to devlop sending text message from mobile to pc in C#.net SMS to pc and viceversa?

hi i want how to devlop "sending sms from mobile to pc, after that message recives pc its automatically search database and give the replay" this is my doubt im doing this in C#.net

How to devlop sending text message from mobile to pc in C#.net SMS to pc and viceversa?
Many sites provide mobile gateway access.


http://www.sms.ac is one such site. You can find a lot by googling. Buy there service.





Once u buy it u just have to consume there web service and use according to the documentation they provide u.

gerbera

What API must be use for IEEE 802.11g connections in C#.NET application?

I want design an application in C#.NET that will manage wireless signals from wireless devices based on IEEE 802.11a/b/g standards, and from where I download or attain required API.

What API must be use for IEEE 802.11g connections in C#.NET application?
sorry . I'm not sure


I have create a base class which will use in every class in C#.Net and ASP.Net but there is some error?

C#.Net 2


======


I have created a base class called clsCommon which will be use in every classes. I have inharited as follows.





public class otherClass:clsCommon


{





}





But here i am facing one problem that instead of inheritance of clsCommon its public function is not showing in other classes.





HOW CAN I DIRECTLY ACCESS clsCommon CLASS FUNCTION IN OTHER CLASSES WITHOUT AFFECTING PROCESS OF clsCommon CLASS FUNCTION








Thanks in advance

I have create a base class which will use in every class in C#.Net and ASP.Net but there is some error?
You need to create some type of function first like


public class otherClass:clsCommon


{


public void myFunction (int someInt)


{


this.aclsCommonFunction(); // should access the parent class function


} // end of function


}// end of class





and in the function definition you can also override the parent class' function.





RJ


Using "Macromedia SWF or FLA" files on Visual C#.NET...?

I'm using Visual C#.NET for programming and want to use


Macromedia file formats(SWF or FLA) on a "Windows Application"


project.


please help me to find out how can i do it.


thnaks a lot

Using "Macromedia SWF or FLA" files on Visual C#.NET...?
u can use flash by doing this.





tools-%26gt;Choose Toolbox items-%26gt;COM-%26gt;Shockwave Flash Object





and click ok then





the shockwave is added to your toolbox.Than drag it to your form.





Ä°f u get an error.Try this:





go to your project folder and delete the shockwave file that .net created dynamically and then return back to your project and drag it again.This will work.





U get an error because .NET cannot create the object.U have to delete the previous file so that u can try again.





when u add the shockwave file in the code view try something like that:





axshockwaveflashplayer.movie="moviepat...





axshockwaveflashplayer is the name of your flash object.movie is the property that you will work flash animation or alike in shockwave flash object.








Ä°f u get an error please write note


Sunday, July 12, 2009

How to select query according to User Input for a WebPage in C#.Net with SQL Server 2000?

I am trying to build a web page in C#.NET with SQL Server 2000 using Visual Web Developer 2005. I want to select and execute the query according to user input.





I have a form which has 2 textboxes which gets start date and end date from the user. Based on start/end date my 1st query runs. Now if user does not enter any start/end date I want to run another query which takes default dates as current date as end date and current date - 30 days as starting dates.





How to select query ?





I will be greatful if one can reply.

How to select query according to User Input for a WebPage in C#.Net with SQL Server 2000?
How do you need the results to display?


How to calculate one text box to another text tab index in c#.net?

i am developing one software project based on c#.net in my web server that project i have been faced in one problem that problem is text box has been not calculated in one text box to another text in tab index. please give me answer to my questions????????????????????????

How to calculate one text box to another text tab index in c#.net?
If you mean, how can you display a value in another text box based on entry in a different text box, you can use the .Text property of the target text box and the .TextChanged property on the source text box:





Sub TBSource_textChanged(Object Sender, EventArgs E)


String strOutput;


strOutput = tbSource.Text.Len();


TBDest.Text = strOutput;


End Sub





If you mean, you want a different text box to take focus on a given text box's text being changed, you again use .Textchanged event from the source and the Focus event on the destination (Focus is new in .NET):





Sub TBSource_textChanged(Object Sender, EventArgs E)


TBDest.Focus();


End Sub
Reply:Please explain this line


text box has been not calculated in one text box to another text

rosemary

I have an oracle 9i database which front-end is c#.net. It was working fine until I created another database.?

Running the c#.NET gives error: Ora-01017: invalid username/password;logon denied. The program was working well before I created a second database.

I have an oracle 9i database which front-end is c#.net. It was working fine until I created another database.?
Try to connect to both databases with sqlplus or some other utility to check if everything is OK with the listener discovering both of your database.


If everything is OK than maybe your program is trying to connect the wrong database.


You don't say if your second database is also oracle9i if this is not true than you must check documentation for compatibility problems.
Reply:might be of database corruption


How to give titles and labels in Group name fields in C#.net Crystal Report?

I've created new crystal report in c#.net. After i create, i've designed that report. I've also created Group name field. But I dont know how to give titles and lables to the group name fields. Anybody Knows pl help....

How to give titles and labels in Group name fields in C#.net Crystal Report?
The link below walks the user through the entire process of creating a blank report, connecting via data adapters and retrieving specific columns from tables to create your report.





I believe you can right click on any area on your report and it will give you an option of inserting a new text box. You will need to place that above your @parameter that provides the data.


How Can I Calculate The Program Elapsed Time In Details Using C# .NET?

I need to calculate elapsed time in details (System CPU Time %26amp; User CPU Time %26amp; I/O Time) Using C# .NET 2003 with Framework Ver 1.1. Best Thanks for interesting

How Can I Calculate The Program Elapsed Time In Details Using C# .NET?
System.DateTime tm = System.DateTime.Now;


System.Threading.Thread.Sleep(1000);


System.DateTime tma = System.DateTime.Now;


System.IO.StreamWriter sw = System.IO.File.AppendText("C:\\TimeTest....


sw.WriteLine((((((tma.Hour * (24 * 60 * 1000)) + (tma.Minute * (60 * 1000))) + (tma.Second * 1000)) + tma.Millisecond) - ((((tm.Hour * (24 * 60 * 1000)) + (tm.Minute * (60 * 1000))) + (tm.Second * 1000)) + tm.Millisecond)));


sw.Flush();
Reply:check http://www.pscode.com/ for examples. I don't program in .NET, but I do use that site all the time
Reply:I'm not exactly sure what you mean, but try something like this:





DateTime dtStart = DateTime.Now;





//Do operations here





int iElapsed_Time = DateTime.Now.Millisecond - dtStart.Millisecond;





For each of the measurements you need to take, just set the time before you start it and then when you are done compare to now.


Good luck!


How do I use a third party DLL in my Visual c# .NET project?

I am new to Visual C# .NET. I bought a DLL to use in my program. How do I add it to the project and make sure it gets distributed with the final release?

How do I use a third party DLL in my Visual c# .NET project?
Put the DLL somewhere where you know it's path. Open the C# project/solution in visual studio. Go to Project pulldown menu. Choose Add Reference. At the reference dialog, click on the COM tab. Click Browse and find your DLL.

wallflower

What are the places that we can use USING keyword in C#.net?

In C#.net code what are the places that we can use USING keyword.


ex: Top of the code we use (using systems.IO) like that.

What are the places that we can use USING keyword in C#.net?
it's all about scope.. so pretty much anywhere..





here MS helps explain it sufficiently





http://msdn2.microsoft.com/en-us/library...


What are the chances of a software engineer(MCSE,c#,.net)with less than a year experience to get a jobin India

My husband has 6 mths experience in .NET and C# and he is an mcse.What r the chances of him getting a job in bangalore in the IT sector.Any help? We r fr the U.S

What are the chances of a software engineer(MCSE,c#,.net)with less than a year experience to get a jobin India
I'm from the US, too. And working with Outsourced Centers here in Bangalore and Gurgaon.





Well, I can tell you this, ma'am; there's a lot of need for good hands here.





Especially those who can speak American!





You don't really need anybody's help; just a bit of patience.





Trust me, there's a dearth of good people here.





When he's working, he can do online courses which; for that matter, so can you and qualify himself better.





If you haven't already tried this, I'd suggest you try http://www.w3schools.com





It's a great site with free online tutorials that teach you from html to AS and .net for free! And you can do an online exam and Certification, from USA, for as little as 59$[USD].!





check it out.





ALL THE BEST.
Reply:well try some good jobsites like naukri.com,monster.com,dice.com and post your resume....you sure will get response...


hope that helps


lax
Reply:As long as you realize that you will not be paid what you would in the USA. There is a reason so much IT work is going offshore -- money. One manager said "why should I pay one US engineer $50,000 when I can get ten Indian ones for the same price?"





If your husband knows his stuff, there are several companies in Bangalore that do offshore work and would probably be happy to have him. One of the problems with the surge in outsourcing is that the demand is outstripping the supply of qualitfied people. The other is the language issue. Someone who speaks English fluently and has the technical skills would be highly employable.


I get this while trying to build solution"could not be instantiate the resource processor" in C#.Net project

I'm using VS.NET 2003 Professional





Earlier i tried to use .Net Framework 2.0 against VS.Net 2003.At this time i reinstalled .Net Framework 1.1 %26amp; then i reverted back to my old framework 1.1 and uninstalled 2.0 Framework.





I got another error " Could not start C#.Net Compiler.So i used .Net installation CD to repair my current VS.Net IDE.








After that it started throwing the above said error on building the project.

I get this while trying to build solution"could not be instantiate the resource processor" in C#.Net project
Be sure to unistall the framework and vs completly. Otherwise you gotta format because you got the registry messed up.
Reply:DNT KNW
Reply:Answer is short and came from MSDN:





Reinstall Visual Studio





:(


How can I create a multiplayer game using XNA and C#.Net?

I would like to enhance my XNA game so that people can download the game and play against other players in realtime over the internet? Could you please point me to some sites that explain how to do this with C#.Net?











Thanks in advance.

How can I create a multiplayer game using XNA and C#.Net?
I know a great site that helps you with that, maybe you've heard of it. It's called Google, and it's awesome. It has this box thing where you can type what you're looking for, then you click a button and all of a sudden there is a bunch of info about what you're looking for. Give it a go.
Reply:http://forums.xna.com/





Probably a ton of like-mind peeps there....

hollyhock

How to write a database table in a class of C#.net with out using any connection to databases?

iam doing a application in c#.net.i have to create a table of employee in a class.cs with out using any database connections i.e access or oracle or sql.i have to design a form which consist employee details.when i enter the id in to the text box.i have to get the details from the class.cs which consist of employee table and its records.

How to write a database table in a class of C#.net with out using any connection to databases?
check http://www.pscode.com
Reply:Use xml Recordsets


To convert oracle blob format data to .wav format using c#.net.?

Can anyone say how to convert oracle blob format data to .wav format using c#.net.


I have to play that one using java script. Is it possible to play that blob file directly from java script?





Give me an idea.

To convert oracle blob format data to .wav format using c#.net.?
Oracletutorials.info is your gateway to the best


sites on the Internet for Oracle tutorials!


Looking for Oracle tutorials, Oracle, or


Computers?Browse our recommended resources or


just try the Oracletutorials.info search.


http://oracletutorials.info/


Sorry if i ask this Question again!!! (Microsoft Visual Studio.net C++!!!?)?

How hard is it to learn programming using it?? I've already got a book with 1200 pages describing it. I've also got the softwares needed.





I'm thinking 1 year?? or more??





I usually learn fast when it comes to computers. I'm thinking about practicing like 4-5 hours every day.


the book title is Visual C++.net : the complete reference

Sorry if i ask this Question again!!! (Microsoft Visual Studio.net C++!!!?)?
C++ is a complex language. Aside from knowing the syntax of the language, writing good programs means understanding of the computer hardware. You'll be writing lower level programs than, say C# or Java. Consequently, you'll need to make good design choices.





If you have never programmed before, you have an additional challenge. Aside from learning C++, you need to learn computer science concepts. Sorting algorithms, linked lists, search algorithms, and so on. And you'll have to start learning about various protocols and details to write serious programs. This will take a few years to get to an intermediate level, if you are completely fresh.





A piece of advice when it comes to C++. You need to understand that C++ is a standard language. Whether you program on Linux or Windows or Macs, with Visual C++ or gcc, the language stays the same. Consequently, it is important you learn standard C++ first, rather than how Visual C++ does a few things like making GUIs or the like. If you seriously want to learn C++, I recommend either C++ Primer by Lippman or Accelerated C++ by Koenig, as both are by actual C++ gurus. Google the books on Amazon and order one of them.





You can look up book reviews on ACCU (google it!).
Reply:learning programming depend on how u comprehend interlectually. To some its long and to some its very slow ,at the end they all achieve their aim.
Reply:Learning C++ isn't too difficult. However, one book can't explain everything and some books aren't written well. Look around book shops for other books on C++ programming. Also, examining source code will help too. Look around the Internet. There's plenty of places where you can get source code and information on programming in C++. There are also web sites with forums where you can get help.
Reply:What's the reason behind you wanting to learn c/c++ ? PRogramming today is all about learning the RIGHT LANGUAGE for the type of programming you want to do.





C/C++ is best suited for systems programming, hardware programmiing, games, graphics and animation etc. To really use the language effectively, you first need to learn the core language very well, then learn an API that goes with what ever type of progam you want to create. If your going to work in graphics you want to learn a C/C++ Graphics toolkit.





All professsional programs are built on Toolkits and libraries





So it comes back to what kind of software do you want to make let that dictate the language to learn.





Good luck.
Reply:Programming is very complicated and the books dont seem to break things down so good luck with that.
Reply:Programming is a lifelong learning experience. You'll never know everything and things are always changing. But, I would assume that if you actually stuck to it and studied, you could become fairly proficient with Visual C++ in a year or two. My university program I just graduated from typically requires the freshman and sophomores to work primarily in C++ for almost their entire first two years to make sure that they are capable of knowing all of the basics of it in a single language before branching out into others.





I would say, however, that if you are a relative novice to computer programming...Visual Basic.NET would be your best route. You already have Visual Studio, I would definitely suggest going towards VB.NET before attempting to tackle more complex languages like C++.


How can i make database report in windows application using C#.NET?

i am making a windows desktop application using for the database MYSQL and the language C#.NET my question is how to make a report in my application

How can i make database report in windows application using C#.NET?
In your windows project open the ToolBox. In the Windows Foms tab you'll see someting called a Crystal Report. Drag it into a new form. That is the basic control you need.





Here are some tutorials on CR developement...





http://aspalliance.com/265


http://msdn2.microsoft.com/en-US/library...





good luck

cabbage

What is the best programming language to learn in today's job market. C++, Java, C#, .Net?

I've self studied C++ and have an aptitude for it but have been told by career counselors that C# , Java and .Net are the best way to go since, C++ is mostly outsourced overseas. I don't have an educational background in Computer Science or a technical field. I have a BA in sociology. Any suggestions?

What is the best programming language to learn in today's job market. C++, Java, C#, .Net?
Java.


It's platform independent and many of the criticisms against the language are becoming N/A. There is a real-time version which will continue to become more popular. The processing and memory resources make the JVM overhead negligible.
Reply:Well Java and C# are quite similar... and .Net uses C# so you can't really go wrong with either one or both.


How can i connect a gridview component in c#.net to a sql server database table?

programming with c#.net and sql server

How can i connect a gridview component in c#.net to a sql server database table?
http://msdn2.microsoft.com/en-us/library...


Can you give me the solution (Print in c#.Net)?

See, I have written code to print a document in server system. But my requirement is i have do same process in all client system. For that i need ur help.





Example:





A - Server (P printer)


A1 - Client1 (P1 printer)


A2 - Client2 (P2 printer)


A3 - Client3 (P3 printer)





As usual, Application will be deploy in server and all 3 client system will use the Application thru server,





Here, If print process is starting by client A1, it has to print the document in P1 printer, as well as If print started by A2 then it has to print in P2.





Can u give a solution that how to do it? I am working with C#.Net...

Can you give me the solution (Print in c#.Net)?
start from here:http://rds.yahoo.com/_ylt=A0geu4.dBvhG0l...


I am BRAND NEW to programming and have to learn Visual C++ .net FAST. Any suggestions?

I have been asked to develop a .net application in C++ .NET application. I have installed a trial copy of MS Visual Studio 2005 and would like to know if anyone knows of a book or resource that can get me up to speed quickly. I work hard and am a fast learner.

I am BRAND NEW to programming and have to learn Visual C++ .net FAST. Any suggestions?
Wow. C++ is the hardest of all the .NET languages, because it can do more. I'd talk whoever this is into letting you do it in C#, which you can learn more quickly.





Part of the problem is that C++ is also built for unmanaged code, has more ability to work with it than other .NET languages - and is primarily used for unmanaged code. Most Windows C++ tutorials will teach you how to do classic C++ with ATL or MFC... and then you'd have to learn to use the Framework, which is totally different.





Sybex's Visual C++.NET book is pretty good... but you'd be expected to have a grounding in C++ already:





http://www.amazon.com/exec/obidos/tg/det...





I suppose you could quickly up yourself on C++ For Dummies.... and then move up to Sybex's Visual C++.NET
Reply::D... learn BASIC, it's easy. Then, using your knowledge of that, it should be a little easier to learn visual c++... it worked for me at least. If you don't have time to do that, get a dummies book :D

phlox

How can i start a process("cmd.exe") using c#.NET?

Command prompt must be invisible ( run in background ) %26amp; I want to run a command in it Invicibley ("copy c:\text.txt a:\ ").





I use ' System.diognatics.process.start("cmd.exe... ' It execute the process but i cannot make it invisible.





Also i need to change the path on the command prompt with coding.


can i use a batch file also to this?





please help me with c#.net code.

How can i start a process("cmd.exe") using c#.NET?
Use this Code;








public static int executeCommand(string cmd, int millsecTimeOut)


{


System.Diagnostics.ProcessStartInfo processStartInfo =


new System.Diagnostics.ProcessStartInfo("CMD... "/C "+cmd);


processStartInfo.CreateNoWindow = true;


processStartInfo.UseShellExecute = false;


System.Diagnostics.Process process =


System.Diagnostics.Process.Start(proce...


process.WaitForExit(millsecTimeOut); //wait for 20 sec


int exitCode = process.ExitCode;


process.Close();


return exitCode;


}
Reply:You can't.





Use the File.Copy() method instead.


How to send a query from a C#/VB.net application to a report made using SQL reporting services?

Suppose my query is "SELECT * from Finance". How to pass this query from my VB/C#.net application to a report "FinanceDetails.rdl" report? Please help.

How to send a query from a C#/VB.net application to a report made using SQL reporting services?
I would create a SQL view with the data that you need, something called 'myView'. This can pull in data from different tables if needed. Then, within your report you should be able to select this the same way you would a table so you wouldn't need to pass anything to the report from your .NET app. If you wanted to you could pass a param to the report if you were selecting certain data or wanted to pass a 'SORT BY' criteria.
Reply:You can used the stored procedure
Reply:wow...i ddon't even know what your talking about..........sorry


How to find system's default printer name using c#.Net 2.0 code?

Can anyone tell me how to find system's default printer name using c#.Net 2.0 code?

How to find system's default printer name using c#.Net 2.0 code?
Try this code................











public static string DefaultPrinterName()


{


string functionReturnValue = null;


System.Drawing.Printing.PrinterSettings oPS = new System.Drawing.Printing.PrinterSettings(...





try {


functionReturnValue = oPS.PrinterName;


}


catch (System.Exception ex) {


functionReturnValue = "";


}


finally {


oPS = null;


}


return functionReturnValue;


}


Which project is the best one to do in c#.net?

i need to do my projct in c#.net can any one suggest me the best one?????????

Which project is the best one to do in c#.net?
flickr has .net api opened you can play with it and may be come up with new kind of mash-up.





you can use the directx api which are exposed to .net and create a truely artistic graphic models





write a logistical tool / expert system that would suggest scheduling of trains.





you can do many projects using C#, the more specific your question is the more reasonable and useful answer you would get

verbena

How to fired click event for dynamically genereted button C#.NET?

computer programming


C#.NET

How to fired click event for dynamically genereted button C#.NET?
tell me: you want to do it in web forms or windows forms? matters!
Reply:register at Microsoft after downloading visual studio express and you can learn anything you like. Is free..


How to develop telecom billing software using C#.net?

I have to develop a billing software for a telecom company. The technology Iam would like to choose is C#.net. Can anyone tell me more about this. I mean what protocols must I get connected for automatic call billing, call termination. Please give me guidance or refer me any tutorials on this subject. Thank you in advance

How to develop telecom billing software using C#.net?
A monumental task!


Hope yur not the sole programmer.


I recommend staying with standard C or Cobol


A comprehensive telecom billing system will atke you years to write.


Corresponding event of button is fired on double clock in asp.net with C#.net ,Plz. help?

ASP.Net with C#.net

Corresponding event of button is fired on double clock in asp.net with C#.net ,Plz. help?
Sometimes the event gets fired twice when the method is being called in the page load and regularly called by clicking. Basically a refresh happens causing the page to load and also the event is triggered. You can shortcut it by in the pageload putting a


if (!postback) around your code.


How can I get Client Information in ASP.Net and C#? Such as IP address,Borswer Name, etc?

Hello All,


I am new bee of C#.Net . I want to know the coding process to get information about the client information. For example, If you are running my Web it will save your information in the data base, such as IP Address, Broswer Name, etc.......





I want to develop a web system which will allow access to a particular IP address. All IP adderess can not access this website.... Becuase It is very secured page...Only Some Poeple from their office will access this site....





Thanks in advance

How can I get Client Information in ASP.Net and C#? Such as IP address,Borswer Name, etc?
Use HttpRequest object.





for example:


Request.UserAgent for getting browser name of the client


Request.HostAddress for the IP address





There are much more properties of this class, you can check them in MSDN

snapdragon2

How do you create an XPCOM object in C#? (Need to create a Firefox plugin in .NET)?

I understand that XPCOM is similar to COM and can be implemented in a variety of languages, but I can't find any resources describing how this can be done from C# (or any other .NET language).





The goal is to create a simple Firefox plugin that hosts one or modules created in C#.NET.

How do you create an XPCOM object in C#? (Need to create a Firefox plugin in .NET)?
XPCOM doesn't support this out of the box:





http://developer.mozilla.org/en/docs/XPC...





Take a look at this guy's blog though, he seems to be making some progress and might be a starting point for you:





http://zbowling.com/index.php?s=xpcom





Good luck.


How to format(bold/italic/colors..etc... text in textarea using c#.net(asp.net)?

how to format(bold/italic/colors..etc) text in textarea using c#.net(asp.net) without using third party component

How to format(bold/italic/colors..etc... text in textarea using c#.net(asp.net)?
Typically you can resort to StyleSheet.





In your StyleSheet you might right something like:


input.text { font-size:11px; font-weight:bold; }





If you're using ASP.NET 2.0, you can resort to skins.





A skin is a definition of styles applied to the server controls in your ASP.NET page. Skins can work in conjunction with CSS files or images. To create a theme to use in your ASP.NET applications, you use just a single skin file in the theme folder. The skin file can have any name, but it must have a .skin file


extension.
Reply:by giving like the following code,


%26lt;asp:Text


id="txt";


Font-bold=true;


Font-italic=true;


Forecolor="red";


runat="server";


/%26gt;





the text can be formatted in asp.net
Reply:you building a web site or doing games? web site use HTML or XHTML