UiPath | Filter DataTable using LINQ Query | Handle Exception The source contains no DataRows

preview_player
ะŸะพะบะฐะทะฐั‚ัŒ ะพะฟะธัะฐะฝะธะต
#rpa #uipath #linq
๐Ÿ‘‰ ๐„๐ง๐ ๐ฅ๐ข๐ฌ๐ก
โ— This video is about filtering a DataTable using LINQ query.
โ— The video contains 14 different examples, how to filter a DataTable using different methods and functions.
โ— You will learn how to filter a DataTable using Strings, Numbers or Dates.
โ— You will also learn how to handle the exception: ๐Ÿ”ด The source contains no DataRows.

๐ŸŒŸ ๐—–๐—ผ๐—ฑ๐—ฒ
โœ” Where row("Country").ToString.Trim = "USA"
โœ” Where Not row(col).ToString.IsNullOrEmpty
โœ” Where CInt(row("Account").ToString) Mod 2 = 0
โœ” Where CDate(row("Date").ToString) ((biggger)) CDate("05/15/2020")
โœ” Where row("Name").ToString.Equals("Alexander")
โœ” Where row("Name").ToString.Equals("Max")
โœ” Sum(Function(x) CInt(x("Age").ToString))
โœ” Average(Function(x) CDBl(x("Age").ToString))
โœ” Where row("Country").ToString.Contains("USA")
โœ” Not Where row("Country").ToString.Contains("USA")

๐Ÿ•œ ๐—–๐—ต๐—ฎ๐—ฝ๐˜๐—ฒ๐—ฟ๐˜€
โ–บ 00:00 Introduction
โ–บ 01:15 LINQ Query
โ–บ 04:48 1.Example - Filter DT using String.Trim
โ–บ 07:34 2.Example - Filter DT using String.Contains
โ–บ 08:07 3.Example - Filter DT using Variable
โ–บ 09:15 4.Example - Filter DT using Not
โ–บ 10:00 5.Example - Remove empty rows using one column
โ–บ 10:47 6.Example - Filter DT using multiple columns (AND)
โ–บ 12:07 7.Example - Filter DT using multiple columns (OR)
โ–บ 12:57 8.Example - Remove empty rows using all columns (Loop rows & columns)
โ–บ 18:24 9.Example - Filter DT for numbers (IsNumeric)
โ–บ 19:57 10.Example - Filter DT using number condition (row Mod 2)
โ–บ 21:10 11.Example - Filter DT using Date
โ–บ 23:25 12.Example - Filter DT and get Sum
โ–บ 26:15 13.Example - Filter DT and get Average
โ–บ 27:55 14.Example - Handle Exception The source contains no DataRows

๐Ÿ“ ๐—Ÿ๐—œ๐—ก๐—ค ๐—ฉ๐—ถ๐—ฑ๐—ฒ๐—ผ๐˜€
๐—”. ๐—ฃ๐—”๐—ฅ๐—ง๐—œ๐—ง๐—œ๐—ข๐—ก ๐—ข๐—ฃ๐—˜๐—ฅ๐—”๐—ง๐—ข๐—ฅ๐—ฆ

๐—•. ๐—ฃ๐—ฅ๐—ข๐—๐—˜๐—–๐—ง๐—œ๐—ข๐—ก ๐—ข๐—ฃ๐—˜๐—ฅ๐—”๐—ง๐—ข๐—ฅ๐—ฆ

๐—–. ๐—™๐—œ๐—Ÿ๐—ง๐—˜๐—ฅ๐—œ๐—ก๐—š ๐—ข๐—ฃ๐—˜๐—ฅ๐—”๐—ง๐—ข๐—ฅ๐—ฆ

๐——. ๐—ค๐—จ๐—”๐—ก๐—ง๐—œ๐—™๐—œ๐—˜๐—ฅ ๐—ข๐—ฃ๐—˜๐—ฅ๐—”๐—ง๐—ข๐—ฅ๐—ฆ

๐—˜. ๐—˜๐—Ÿ๐—˜๐— ๐—˜๐—ก๐—ง ๐—ข๐—ฃ๐—˜๐—ฅ๐—”๐—ง๐—ข๐—ฅ๐—ฆ

โœ ๐—ž๐—ฒ๐˜† ๐—ช๐—ผ๐—ฟ๐—ฑ๐˜€
โ†’ UiPath
โ†’ UiPath Automation
โ†’ UiPath Activity
โ†’ UiPath Linq
โ†’ Language Integerated Query
โ†’ LINQ in UiPath
โ†’ Filter DataTable using LINQ query
โ†’ Handle LINQ Exception
โ†’ The source contains no DataRows
โ†’ Filter DataTable for String
โ†’ Filter DataTable for Number
โ†’ Filter DataTable for Date
โ†’ Filter DataTable and get sum of a column
โ†’ Filter DataTable and get average of a column
โ†’ Filter DataTable using one column
โ†’ Filter DataTable using multiple columns
โ†’ Filter DataTable using Math function
โ†’ Clone DataTable
โ†’ Distinct DataTable

๐—™๐—ผ๐—น๐—น๐—ผ๐˜„ ๐˜‚๐˜€
๐Ÿค– ๐—ฌ๐—ผ๐˜‚๐—ง๐˜‚๐—ฏ๐—ฒ: @ActAutomate
๐Ÿ“ข ๐—ฌ๐—ผ๐˜‚๐—ง๐˜‚๐—ฏ๐—ฒ ๐—ฆ๐—ต๐—ผ๐—ฟ๐˜๐˜€: @ActAutomateShorts

ะ ะตะบะพะผะตะฝะดะฐั†ะธะธ ะฟะพ ั‚ะตะผะต
ะšะพะผะผะตะฝั‚ะฐั€ะธะธ
ะะฒั‚ะพั€

๐Ÿ“ ๐—Ÿ๐—œ๐—ก๐—ค ๐—ฉ๐—ถ๐—ฑ๐—ฒ๐—ผ๐˜€
๐—”. ๐—ฃ๐—”๐—ฅ๐—ง๐—œ๐—ง๐—œ๐—ข๐—ก ๐—ข๐—ฃ๐—˜๐—ฅ๐—”๐—ง๐—ข๐—ฅ๐—ฆ

๐—•. ๐—ฃ๐—ฅ๐—ข๐—๐—˜๐—–๐—ง๐—œ๐—ข๐—ก ๐—ข๐—ฃ๐—˜๐—ฅ๐—”๐—ง๐—ข๐—ฅ๐—ฆ

๐—–. ๐—™๐—œ๐—Ÿ๐—ง๐—˜๐—ฅ๐—œ๐—ก๐—š ๐—ข๐—ฃ๐—˜๐—ฅ๐—”๐—ง๐—ข๐—ฅ๐—ฆ

๐——. ๐—ค๐—จ๐—”๐—ก๐—ง๐—œ๐—™๐—œ๐—˜๐—ฅ ๐—ข๐—ฃ๐—˜๐—ฅ๐—”๐—ง๐—ข๐—ฅ๐—ฆ

๐—˜. ๐—˜๐—Ÿ๐—˜๐— ๐—˜๐—ก๐—ง ๐—ข๐—ฃ๐—˜๐—ฅ๐—”๐—ง๐—ข๐—ฅ๐—ฆ

ActAutomate
ะะฒั‚ะพั€

The BEST channel to learn LINQ use cases for UiPath. Very well explained. Thank you "UiPath - Mahmoud TV"!!

psrivasavi
ะะฒั‚ะพั€

You explain each topic so well like from a basic to an advance level, Please do continue the UiPath API Automation Series and also advanced topics of UiPath. Looking forward for more videos and more Knowledge gain from you. Thank you for the LINQ topics.

skmNas
ะะฒั‚ะพั€

Easily on my top 3 LINQ tutorials online. Thanks a lot!

ricardoguzman
ะะฒั‚ะพั€

Got detailed Understanding of Linq!!Thank You!!

aparnapopade
ะะฒั‚ะพั€

You have a perfect video series about LINQ, thanks a lot. But California and Texas are not the cities :)

igornosenko
ะะฒั‚ะพั€

Very useful video on linq, thx a lot !

wingcheunghung
ะะฒั‚ะพั€

Hello act automate,

Really liked your videos on linq ..amazing explanation given .
Can u please create a video on how to sort any integer array asc or desc.
Thankyou!

preetikarauthan
ะะฒั‚ะพั€

fantastic, superb... if you start class tell me am interested

rasipogulabhaskar
ะะฒั‚ะพั€

If possible please teach us lamda function and more complex problem solving skills using linq like how to filter multiple columns in a single dataset and their Approaches like Array to list etc . mean while please teach us most complex real time senario based dataset manipulations.

samtej
ะะฒั‚ะพั€

Hi i have following Text in a Notepad:
This is Jim

Jim is teaching VBScript

Jim will also teach UiPath

Jim will travel

i need count of word Occurances say word called "This" has occurred only once so "This -1", word called Jim occurred 4 times so "Jim -4" like that whatever text i keep i need count of each word

i tried with this - its somewhat working -
array_Tst.GroupBy(function (x) (x) x.Key, function (x) x.Count)

but i copied the syntx from google which i did not understand so checking any other wya we can do it.. pls help

saiprasadkakumanu
ะะฒั‚ะพั€

Hi your way of teaching very nice.. Can you upload c# tutorials easy way.. If I become rpa developer should I learn c# right.. Atleast logic building purpose need c#.. Please if possible can you upload c#

nalayathan
ะะฒั‚ะพั€

When it comes to that no data Ross exception i prefer to assign query results to a variable of Ienumerable of datarow and then checking its content with .Any methods, if it is true i then use .copytodatatable methods on that Ienumerable variable.

DrzymalaWagon
ะะฒั‚ะพั€

Hi.. Nice Video.. i want know compare the two datatable.. can expalin tolist, to array, etc... to copydatatable..in the possible way...

rpateam
ะะฒั‚ะพั€

19:08
"we need to use CStr method to converst the conent to string"
why ? you was already using row(Country).ToString ?! .. what is the difference between CStr and ToString and why did you use both of them ?

abdelrahmanbadr
ะะฒั‚ะพั€

If Possible, can u suggest me the best resource for learning Linq queries from A to Z.

samtej
ะะฒั‚ะพั€

Hi bro, could u pls create a video on linq query updating the row value of one column with value if the another column row matches the value.
Example "column1" which contains the value "Paper" then update "Column3" = "Scissors"

balramraviks
ะะฒั‚ะพั€

Hello Act Automate!
Today I come with a different question.
How can I get de Last row index of a specific columnn in a Data Table? I have a data table which every column is completely independent from each other. which means that a column might have info till the row 9 where another column in the same dt has info till the row 4. Let me know if you understood my question. Thank you vey much once again.

LuisFernando-uxys
ะะฒั‚ะพั€

This is good but could you explain this, on the example 8 where we look each column, If each column is looping and creating additional rows why it is not creating additional rows at the place where we have column value in the rows where we have also found empty, While empty is being ignored the other values should also create an additional row right, Could you explain that by the way tried this one after completing all your Linq videos,
(
From Row In dtInput.Rows.Cast(Of System.Data.DataRow)
Where Not Row.ItemArray.Any(Function(x)
Select Row
).CopyToDataTable

mohanvasan
ะะฒั‚ะพั€

18:11 Mahmoud, this code giving me compiling error.

girishkrishna
join shbcf.ru