connectseekers.com

Featured Articles

Decoration

All Stories

Wednesday, 19 August 2020

Enable or Disable Service Broker in SQL Server

 In this I will show you how you can enable or disable the service broker in sql server data base. Now first we will check service broker in enable to not for this we will use the bellow query.


SELECT is_broker_enabled FROM sys.databases WHERE name ='DB Name'

Now run the query to check the detail.

 

Now run the below query to enable the service broker.

ALTER DATABASE <DB Name> SET ENABLE_BROKER WITH ROLLBACK IMMEDIATE

 Now run the query and check the status of broker you will get it "1". For disabling the broker we will use the below query.

ALTER DATABASE <db Name> SET Disable_BROKER WITH ROLLBACK IMMEDIATE

 


8/19/2020 - By Pranav Singh 0

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

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