c# .net Adsense ADO.NET Linq Viruses/security asp.net MVC JQuery Angular-js Node-js SEO Java C++ SQL API Networking vb.net .Net Css JavaScript Generics c#.Net entity framework HTML Website host Website Construction Guide HTTP tutorial W3C tutorial Web Services JSON Psychology Ionic framework Angular ReactJS Python Computer Android

Latest posts on tagged on "CSharp"

Assign values to enum and how to get value from enum?

| | Category: c# .net

You can assign any values to the element of enumeration List. In this example, I will show to how to assign values and datatype and get integer value from enum.

Get you domain name from URL

| | Category: c# .net

It can be achieved by two methods, getting the domain hosted name using URL request Request.Url.Host and another by Uri.

[Solved]System.Data.Entity.DynamicProxies.Product Does not contain a property with the name ‘ProductId

| | Category: c# .net

I got this error “System.Data.Entity.DynamicProxies.Product Does not contain a property with the name ‘ProductId” while binding the object to the dropdownlist using the c# .net.

Data binding directly to a store query (DbSet, DbQuery, DbSqlQuery, DbRawSqlQuery) is not supported.

| | Category: c# .net

I got this following error “Data binding to a store query is not support”, when I tried to bind the dropdownlist using the entity framework model object.

Xml dropdownlist bind in asp.net?

| | Category: c# .net

In this example, I will show you to bind dropdownlist with an xml file using ReadXml() method. In order to read data from cities.xml file into a dataset from the specified path using Server.MapPath.

How to prevent items duplication for dropdownlist in asp.net?

| | Category: c# .net

In this example, I used dropdownlist and button, I binded dropdownlist with countries name on the page load.

C sharp partial class

| | Category: c# .net

When working with large projects, partial class splits the class for multiple programmers to work on it at the same time.

Passing string to view mvc

| | Category: asp.net MVC

In this example I will show you how to pass string to view mvc in application. The appropriate way to you must cast in to an object and return as view. In view model you must define the object type and write the string in required place.

Passing IEnumerable string to view mvc

| | Category: asp.net MVC

In this example I will show you how to pass IEnumerable string to view mvc in application. I used string array with array elements contains list of names. I filtered names having length >=5 and assigned to IEnumerable string varable. The appropriate way to pass data from controller to view, is to pass the filterednames to the view

How to create xml file using linq in C#?

| | Category: Linq

In this example I will show you how to create xml document using Linq .In order to extract data from a database and create an xml document we need to include the namespace using System.Xml.Linq.

Page 13 of 23