connectseekers.com

Featured Articles

Decoration

All Stories

Friday, 7 August 2020

How To Add Identity Column in SQL Server Table

In this article i will show you how you can set or make a column as identity or auto incremented in our sql server table column.

8/07/2020 - By Pranav Singh 0

Thursday, 6 August 2020

List To Array In C#



In this article i will show you how you can convert list to an array using C#.net.

  List<string> _data = new List<string>();

            //---To convert list tot array

            _data.ToArray();

 


8/06/2020 - By Pranav Singh 0

Wednesday, 5 August 2020

How to get value from XML using Linq in C#?

How to get value from XML using Linq in C#. This article will show you how you can read an XMl node using c#.net. this code you can use in your asp.net, mvc application.

So here is you XML file .

<?xml version="1.0" encoding="utf-8" ?>

<root>

  <node1>Node 1 Value</node1>

  <node2>Node 2 Value</node2>

  <node3>Node 3 Value</node3>

  <node4>Node 4 Value</node4>

</root>

 Now check the code. In this code I have accessed the node 3 value using linq in c#.net.

 

string xmlFilePath = @"\App_Data\Node.xml";

            XDocument _xdocument = XDocument.Load(Server.MapPath(xmlFilePath));

            var xmlNnode = _xdocument.Descendants().Where(n => n.Name == "node3").FirstOrDefault();

            string nodeValue;

            if (xmlNnode != null)

            {

                nodeValue = xmlNnode.Value;

            }

 The above code is for asp.net or other web application. Now apply the break point and check the output.

xml node

8/05/2020 - By Pranav Singh 0

How to read XML node value in C# using Linq?

This article will show you how you can read an XMl node using c#.net. this code you can use in your asp.net, mvc application.

So here is you XML file .

<?xml version="1.0" encoding="utf-8" ?>

<root>

  <node1>Node 1 Value</node1>

  <node2>Node 2 Value</node2>

  <node3>Node 3 Value</node3>

  <node4>Node 4 Value</node4>

</root>

 Now check the code. In this code I have accessed the node 3 value using linq in c#.net.

 

string xmlFilePath = @"\App_Data\Node.xml";

            XDocument _xdocument = XDocument.Load(Server.MapPath(xmlFilePath));

            var xmlNnode = _xdocument.Descendants().Where(n => n.Name == "node3").FirstOrDefault();

            string nodeValue;

            if (xmlNnode != null)

            {

                nodeValue = xmlNnode.Value;

            }

 The above code is for asp.net or other web application. Now apply the break point and check the output.

xml node

8/05/2020 - By Pranav Singh 0

Tuesday, 4 August 2020

jQuery: Regex Use For Email Id Validate Validation


This article will show you how you can validate an email address by regex using jQuery in your web application.

8/04/2020 - By Pranav Singh 0

iTextSharp To Create PDF In C#


This article will show you how you can export html content to pdf in your asp.net application using iTextSharp.

So first we will create a new asp.net application an then install the nuget package for iTextSharp. Please check the below link and screen show.

8/04/2020 - By Pranav Singh 0

How to Drop SQL Server DataBase View

 This article will show you how you can drop all MS Sql View by using one query. So, here are the query. To data base object.

Drop Single View:
8/04/2020 - By Pranav Singh 0

JavaScript: Popup Window Open On Hyper Link


In this article i will show you how you can create to open a new popup window using JavaScript. In this we will use javascript to open the new window.

So for this we will user window.open JavaScript function by calling on button click event.

  

<input type="button" value="Click to Open Window" onclick="javascript:window.open('Your URL''windowname''width=400,height=200,scrollbars=yes'); "/>

 


8/04/2020 - By Pranav Singh 0

Free Ebooks


About Us

We are the group of people who are expertise in different Microsoft technology like Asp.Net,MVC,C#.Net,VB.Net,Windows Application,WPF,jQuery,Javascript,HTML. This blog is designed to share the knowledge.

Contact Us

For writing article in this website please send request by your

GMAIL ID: dotnetpools@gmail.com

Bugs and Suggestions

As we all know that this website is for sharing knowledge and providing proper solution. So while reading the article is you find any bug or if you have any suggestion please mail us at contact@aspdotnet-pools.com.

Partners


Global Classified : Connectseekers.com
© 2014 aspdotnet-pools.com Designed by Bloggertheme9.
back to top