Datalist control
Good day friends! I was wondering if it is possible to access a datalist item from footertemplate control. When I tried it, it shown object reference not set to an instance. How?
View ArticleHow to go to next Page while hitting the next button without selecting a...
I am working on a website that is built in C# MVC. The page i am working on has a datatable and sorting and pagination. The bug is when i click on the Next button on the page, it displays an error...
View ArticleConsole Application in C#
Write a program to create ‘Employee’ class with id, name non-static members and employeeCounter as Static data member. Accept id, name values from user (using Console.ReadLine() method) and assign them...
View Articlepersist changes by javascript on postback in asp.net
I do lot fo work by javascript on web page (like validation , enable and disable textbox ,changes the value of label) and when we do a postback by buttonclick all work done by java script is lost , pls...
View ArticleDifference between Abstract Method and Virtual Method ?
The differences between Virtual method and Abstract method are as follows: In class, Abstract method has no body but Virtual method has body.Abstract method can be declared in Abstract class only but...
View ArticleFileUpload to Server Not working when same file is Uploaded. Cache problem.
Hai All,I am Using AJAX and ASP.NET MVC to upload file onto server. NAd My view has a facility to delete the file that is uploaded. I have a strange problem here. If I upload a file and Delete it and...
View Articlec#.net meeting request cancellation
I am coding with C#.NET I created an meeting request and attached to the mail. users able to open it and accept the same. On another scenario, i want to decline the request. so i send an FRESH meeting...
View ArticleCode for reading Weight from a scale using serial cable RS2
In short i would like to develop a weighbridge system. All i want is the code in C-sharp for reading the weight from the scale, it must be real-time.
View ArticleWindows 10 / Edge sets HTTP request headers accept-language incorrectly by...
While checking a multi-language implementation of a small site in MVC with a Windows10 client the results had me puzzeled. Switching the prefered language around didn't result in any changes in the...
View Articleasp.net gridview
without c# coding i want gridview for only UI if any possible plz send me the UI
View ArticleDeploy mvc application on ftp
Hi. I have created an ASP.NET MVC 4 application and I published it on a ftp server. When I access the link, it shows me the files that are in the folder, not the index page, so I think something is...
View Articleid change data list item data bound with data list
<asp:DataListID="DataList1"runat="server"RepeatColumns="2"Width="50px"DataKeyField="category"EnableViewState="False"><ItemTemplate><br/><h2><asp:LabelID="Label1"runat="server...
View Articleitem template of data list use anchor href that change by dynamicallyon user...
<asp:DataList ID="DataList1" runat="server" RepeatColumns="2" Width="50px" DataKeyField="category" EnableViewState="False" onitemdatabound="DataList1_ItemDataBound"> <a id="anch1"...
View Articlei have issue for calculating Total in Grid control of ASP.net
i have issue while calculating addition of Grid control which has adding rows at run time.
View ArticleAsp.NET MVC and Web API
Hello I have asp.net mvc web application. and now i have requirement for json based service for the same mvc application. So I am thinking to create web api in the same project, Is this right way or...
View ArticleHow to get an answer to your question
For those new to message boards please try to follow a few simple rules when posting your question.Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in...
View Articlemultiple database connection. how to rollback
Today I asked an interview question. Can you please anyone help me. Question is... I am having 3 database connections. SQL, Oracle and DB2. In SQL i am going to update. In Oracel I am going to insert....
View ArticlePDF.JS using ASP.NET MVC
There is a requirement in my Project to show a PDF file to the user which is there on the Network shared drive. I have a trouble to set path of the file to the PDF.js.Th path of my PDF file will be...
View Articlepartial view and model binding
I am new to MVC framework and trying to learn the tricks and I am stuck in one small issue. Since I have multiple enumerators in the project I have two tables which store them. One table stores the...
View ArticleSend data from MVC to KnockoutJS an show in HTML
I have created a list in MVC which looks like this: var countries = new List<Countries>(); <pre> countries.Add(new Countries() { Id = 1, Mainland = "a", Name = "a" }); countries.Add(new...
View Article