WCF / ASMX :: Convert From C# Coding To VB Coding?
Apr 27, 2010 I manage to change part of it and the rest i not quite sure how to do it. Below is the code written in C#, it is a svc file.
[code]....
I manage to change part of it and the rest i not quite sure how to do it. Below is the code written in C#, it is a svc file.
[code]....
how can i do perfect coding using all oops concepts?
View 6 RepliesI Developing a erp project in that there are more than 100 screens i should provide a one button or any other option if users click that button it show all screens so far you have used for eg:alt+tab event if we press it comes so far used same functionality should be overcome in my project how to achieve this.
View 1 RepliesI really do not have time to learn new language, in my case asp.net, but would like to start developing website in asp.net. I do not want to use asp:SqlDataSource control. is it ok if i write in codebehind aspx: all database connections and other CRUD operations in ado.net and c#. I already know xhtml, javascript - jquery, css, xml, json, some knowledge in sever-side coding (before php). want to start coding, instead of learning messy asp.net controls.I have to sit and learn all bloody ways of using those asp.net controls?
View 2 Repliesasp.net 4.0I'm trying to utilize a webservice but is not 100% sure how to do the coding. I've added reference to the web service in the project.The webservice have this class:sendCompletedEventArgs(object[], System.Exception, bool, object) And this delegate:sendCompletedEventHandler(object, sendCompletedEventArgs, System.AsyncCallback, object)This delegate have BeginInvoke(object, sendCompletedEventArgs, System.AsyncCallback, object) and EndInvoke()any suggestions how to utilize this webservice is most welcome?
View 1 Repliesam displaying various countries names in my dropdownlist and i want to display the data using gridview like whenever i change the country in my ddl it should display the relevant data according to the country?? i have done by using binding data with the datasource without any code but now i want to write the code
View 4 RepliesI want To send Mail On button click But getting Error Failure sending mail.(smtpException was Catched) public string SendEmail(string strTo_Email_Id, string subject, string strMail_Message)
{
try
{
[code]...
i would like to run a command prompt to run the project and set its startup project
View 2 RepliesWhy is knowing the Asp.net lifecyle important to coding in Asp.net?
View 10 RepliesBelow is the source code that tries to highlight rows in certain colors depending on value of the certificate. The code runs, but the colors are not showing up.
If e.Row.RowType = DataControlRowType.DataRow Then
If CType(sender, GridView).DataKeys(e.Row.RowIndex).Values("Certificate") <100000 Then
e.Row.BackColor = System.Drawing.Color.lightblue
elseIf CType(sender, GridView).DataKeys(e.Row.RowIndex).Values("Certificate") < 1000000 And ("Certificate") > 100000 Then
[code]....
Is using an include file bad coding practice in asp.net? I am aware of master pages, etc. but it seems like in this case an old fashioned include file works best.I have a home page and I have an "all other" page. The all other page is my master page. I place the header include on the master page and at the top of the home page.
<!--#include file="inc/inc_header.aspx"-->
give me a feedback on the below coding. I like to know whether i had improved in writing the .net coding.
[code]....
I typically don't play with betas, so I am just now getting used to vs 2010 pro. I grabbed it from DreamSpark yesterday, and so far I like all the changes.
I was wondering though, with some of the changes to ado.net EF, is there now a way to set a coding namespace for both the context as well as the entities, instead of just setting the custom tool namespace (this wraps both context and entities)? Typically, I like having my classes grouped into namespaces by type, and since a context isn't an entity, it shouldn't go in the entities namespace. note: I am talking about actual coding namespaces, not the conceptual namepsaces used internally by EF.
I was also wondering if having this (the x86 vs 2010 ide) beside my old one (x64 vs 20080 ide) would pose any problems? It seems to be working ok, I just wanted to make sure I hadn't missed announcements saying I had to de-install one before installing the other.
How to integrate PHP into ASP.net easily. I want to know is there a simple coding process to do this.
View 3 RepliesI am converting a VB function into c#. I have this in VB: Dim Ret(2)
Whats the best alternative to convert this in c#?
There are three developers who create a web application with ASP.NET using different coding standarts.First developer: Uses class libraries and Web forms without using ASP.NET Web Components or Codebehind pages. (Just like ASP with HTML components, single .asp file etc.)Second developer : Uses ASP.NET Web Components and codebehind pages (all advantages of ASP.NET)Thirth developer: Uses HTML components and just codebehind files with old ASP methods(Request, Respond etc.)Which method of these developers use is more advantageous ?
View 6 Repliesmodules is being used for some sites when they are developing. what is this module. for example, this sites has some modules; membership module,comment module etc.Are modules a diffrent application that is added to site later, or they talk about httpmodules?
also, how can i begin this module design and coding?
I need to design a website for a programming competition event. It will be similar to TOP CODER competitions. User will be given all questions & then user submits the code, that will be running on the server and checks if it gives the correct solution or not. The first one to finish all the questions is the winner.
I've no clue about how to proceed. Assume that languages that are supported are C, C++, Java.
Which is better; using the wizard bind controls or working with ADO.NET objects manually from the performance point of view.
View 1 RepliesI jst wanna that after logout user should not back redirected to previous page by pressing back button. I maintain a session on login button as session["uid"]=textbox1.text. I hv logout button on master page in my website
View 3 RepliesI created this left side Navigation bar and I want to put it in Master page. when i clicked on the shared folder, it created the master page, but along with it gave a code behind file(.cs) file.
Earlier, i created the left Navigation bar in the controller and then I called the view from there. Below is my code. I was wondering if there is any way, I can do the same thing in my master Page. I am confused becuase of the master page code behind file.
My controller name is DataBindingToModel and the code works fine when it is in controller and I call the view from the controller.
[Code]....
and my view is like this
[Code]....
I just want to put this in Master page and I am not sure how to get the controller part done.
how i write coding to show message box in MVC. I mean writting coding in Controllers , not it Views.Example: After Pressing a deleted button to delete Album.i want to show a message :"Delete succesfully"
View 1 RepliesI am working on health web application where i have 14 different disease forms plus main form. these 14 disease forms shows on checkbox selection. my problem is taht instead of putting all 15 forms html and code behind data in one web form what are other possible senariors available.
View 2 Repliesi need to create orderlist dynamically in below format.
<ul>
<li>
<li>
<li>
</ul>
I have search through the internet but find no solution on this.
Is it possible to do c# coding in Master page ".cs" file, in ASP.net web application or website??
if yes then how??