Arunprasanth K V

0

votes
0

answer
7

views

Updating edmx from VS 2017 showing error (Oracle database)

I am trying to update my edmx file using VS 2017 but each time I click on Update model from database option it is showing me the below error . In my system ODTwithODAC1120320_32bit is installed. I could update the edmx from VS 2010 successfully. Now I have installed ODAC for VS 2017 from link bu...
Arunprasanth K V
1

votes
1

answer
1.2k

views

Update table details using XML Through Stored Procedures

First off all I had go through with the related questions about this topic but none of them solve my problem because my xml has some different structure. That's why I have ask a question here about this problem. 1 246 1 42 12 55 2 61 2 66 2 76 2 79 2 I have an xml like above and I want to update...
Arunprasanth K V
1

votes
3

answer
15.9k

views

Display List return from a controller to a table in view ASP.NET MVC4

I have a function in my controller class, it return a list of data, I want to display it in table structure in my view page. i have tried the following code but it shows some error "Class does not contain definition of GetEnumerator" Controller public ActionResult data(Message msg,IEnumerable dept)...
Arunprasanth K V
1

votes
1

answer
32

views

How to get Repeated values Based on condition

I have a table like below: id pid status 10 1 0 11 1 0 10 2 0 15 1 0 11 2 0 10 3 0 I need the common id based on pid values. That means the id values that are common for all pids. So in the above table the expected output is: id 10 I...
3

votes
6

answer
982

views

Difference between normal pointer and const pointer in c

Actually i don't know what is the difference between a normal pointer and a const pointer if i use the below code it will works fine . but when i change int *ptr=# to int *const ptr = &var1; then it will not work. can anybody explain what is the difference between a normal pointer and a const...
Arunprasanth K V
3

votes
3

answer
481

views

How to use case statement inside an SQL select Query

I need to get the output of a selected query depending on certain conditions Means if(id=uid) then I need the below query select * from table1 where id=5; else I need the below one select * from table1 where id=10 I know i can use if condition for this. But my query is very long one so when I us...
Arunprasanth K V
2

votes
4

answer
80

views

Filter c# list using timestamp, Take first record of each 5 seconds

I have a scenario like to filter the record based on timings.That is first record in a range of 5 seconds. Example : Input data : data timings 1452 10:00:11 1455 10:00:11 1252 10:00:13 1952 10:00:15 1454 10:00:17 1451 10:00:19 1425 10:00:20 1425 10:00:21 1459 10:00:23 1422 10:00:24 Expected outp...
Arunprasanth K V
2

votes
1

answer
474

views

Get Parent and grand parents of a particular child

i have table like below tablename :ExampleTable ChildID ChildCommonID ParentID 1 2 0 2 3 0 3 4 1 4 5 3 5 6 4 The Problem is : i have a child id...
1

votes
1

answer
176

views

Querying parallel foreach result cause Null reference error

I have a parallel foreach statement like below Parallel.ForEach(spacialRecords, (spacerecord) => { List dat = new List(); var latitude = Geometry.Y; var longitude = spacerecord.Geometry.X; var timeStamp = spacerecord.Timestamp; foreach (var wdItem in workingData) { RepresentationValue spaceMeteredV...
Arunprasanth K V
3

votes
1

answer
87

views

Navigation not working in XBOX1 application

I have created a java script based application(bbc tal framework) and build it as Universal windows platform application. The application is working fine in the windows 10 machine, but when I try to open it from XBOX1 the navigation are not at all working, Landing page is coming but it just act like...
Arunprasanth K V
8

votes
6

answer
783

views

Split a substring that returns from a split function

I have a string like below a_b|c_d and I need to split it based on |. So, the result will be: a_b c_d Then, I want to split it again with _, then result will be: a b c d Is it possible to do this in a single step? Like when input the corresponding string, it will return a value like following: a b...
10

votes
2

answer
2.3k

views

Print 1 to 1000 with out using loop [duplicate]

This question already has an answer here: Printing 1 to 1000 without loop or conditionals 106 answers i see the question on a c++ programming context, i check for a solution and one of my friend give me this code its works perfect but i can't understand it's logic and also how it's works. i asked t...
Arunprasanth K V
4

votes
2

answer
58

views

Hirarchical sorting in sql server when child id contains '.'

i have some childid like below childid ------------ 1.1 1.2 2.8 2.7 6.5 6.5.1 6.5.15 7.1 8 sort order will be childid -------- 1.1 1.2 2.7 2.8 6.5 6.51 6.5.15 7.1 i tried to converted to intiger like below declare @str nvarchar(max)='1.23.2'; set @str=(select replace(@str,'.','')) select @str b...
Arunprasanth K V