Quantcast
Channel: TechPint - C#.NET
Browsing all 7 articles
Browse latest View live

"FormatException was unhandled" Input string was not in a correct format.

Hi ! Here I am trying to write a function that returns me value based on the following condition... IF Variable is NULL return me DBNull.Value ELSE Convert Variable into DataType whose DataTypeCode has...

View Article



How to create a session variable in ASP.NET

Define an ASP.NET web site.Create two pages within the site. The first page will contain an ASP.NET Web Form that will post back to itself and then redirect to the second page. Note: The reason this...

View Article

What is the real use of Polymorphism.

Though I know What polymorphism is, but I am not able to comprehend the real significance of it.I could manage functions with different names, then why should I use polymorphism. 

View Article

RowNumber Alternative in Linq

I want to know, Do we have any alternative to Row_Number function in Linq. I want to use Ranking and Partition in Linq. SELECT ROW_NUMBER()OVER(Partition BY Author_NamePlease let me know how to achieve...

View Article

Linq query on Datatable

How to query a Datatable using LINQ? I have added the system.Linq namespace, but I am not able to use LINQ on a datatable.

View Article


Error : Unable to connect to the remote server

I got "Unable to connect to the remote server error" when I tried to call a webservice that is hosted on some remote machine outside my firewall. I am using a proxy server, and figured it that my...

View Article

Path Combine: Leading Slash in relative path

System.IO.Path.Combine is one of the scarcely used method provided by .Net Framework. It is used to combine two strings in to a complete path. Path.Combine is also essential for cross-platform coding...

View Article
Browsing all 7 articles
Browse latest View live




Latest Images