Click here to Skip to main content
15,914,820 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: VisualStudio 2005 Is it possible to split Gridview column into multiple columns. Pin
goodideadave13-Jan-09 13:29
goodideadave13-Jan-09 13:29 
GeneralRe: VisualStudio 2005 Is it possible to split Gridview column into multiple columns. Pin
JimTheLastMan19-Jan-09 0:50
JimTheLastMan19-Jan-09 0:50 
QuestionExport to word doc or rtf with background image Pin
samerh13-Jan-09 1:17
samerh13-Jan-09 1:17 
QuestionHow to get Multiple Phone no from activedirectory? Pin
Piyush Vardhan Singh13-Jan-09 1:13
Piyush Vardhan Singh13-Jan-09 1:13 
QuestionASP control hiding problem and DetailsView Paging Pin
sana1713-Jan-09 1:01
sana1713-Jan-09 1:01 
AnswerRe: ASP control hiding problem and DetailsView Paging Pin
Rutvik Dave13-Jan-09 4:32
professionalRutvik Dave13-Jan-09 4:32 
QuestionFind highest XML value in <p x="-0.979248" y="-0.00141319" /> Pin
mejner13-Jan-09 0:52
mejner13-Jan-09 0:52 
AnswerRe: Find highest XML value in Pin
SeMartens13-Jan-09 1:32
SeMartens13-Jan-09 1:32 
Hi,

first of all i wouldn't use an XML-class to load the dataset, this will be propably to slow. Try to use a stream to read the file line by line. There you could extract the y-value using a regular expression, or if all values have the same length (y is at the same index in every line) access it by its index. Then store the highest y-value somewhere and compare every y-value with this one. If the current y-value is higher overwrite the stored value.

This algorithm has a complexity of O(n). If you are using multiple processors you could think about splitting the file in two or more parts and use threads to accomplish the task.

Hope this helps you a bit.

Regards
Sebastian

It's not a bug, it's a feature!

Me in Softwareland.

GeneralRe: Find highest XML value in Pin
mejner13-Jan-09 2:03
mejner13-Jan-09 2:03 
QuestionASP.NET 2.0 App Crashes Pin
tadhg8813-Jan-09 0:08
tadhg8813-Jan-09 0:08 
AnswerRe: ASP.NET 2.0 App Crashes Pin
Reza Raad13-Jan-09 0:13
Reza Raad13-Jan-09 0:13 
AnswerRe: ASP.NET 2.0 App Crashes Pin
Paddy Boyd13-Jan-09 0:43
Paddy Boyd13-Jan-09 0:43 
GeneralRe: ASP.NET 2.0 App Crashes Pin
tadhg8813-Jan-09 1:20
tadhg8813-Jan-09 1:20 
GeneralRe: ASP.NET 2.0 App Crashes Pin
Paddy Boyd13-Jan-09 1:22
Paddy Boyd13-Jan-09 1:22 
AnswerRe: ASP.NET 2.0 App Crashes Pin
Reza Raad13-Jan-09 1:50
Reza Raad13-Jan-09 1:50 
GeneralRe: ASP.NET 2.0 App Crashes Pin
tadhg8813-Jan-09 2:13
tadhg8813-Jan-09 2:13 
GeneralRe: ASP.NET 2.0 App Crashes Pin
tadhg8814-Jan-09 6:34
tadhg8814-Jan-09 6:34 
AnswerMonitor .NET CLR Memory Pin
David Mujica13-Jan-09 3:11
David Mujica13-Jan-09 3:11 
Questionmsn taskbar window in asp.NET Pin
chanzeb12-Jan-09 23:43
chanzeb12-Jan-09 23:43 
AnswerRe: msn taskbar window in asp.NET Pin
mr_muskurahat13-Jan-09 1:14
mr_muskurahat13-Jan-09 1:14 
QuestionFormsAuthentication Fails in IE6 Pin
Robymon12-Jan-09 22:48
Robymon12-Jan-09 22:48 
QuestionMVC Pin
NidhiKanu12-Jan-09 22:25
professionalNidhiKanu12-Jan-09 22:25 
AnswerRe: MVC Pin
SeMartens12-Jan-09 22:59
SeMartens12-Jan-09 22:59 
GeneralRe: MVC Pin
NidhiKanu12-Jan-09 23:11
professionalNidhiKanu12-Jan-09 23:11 
GeneralRe: MVC Pin
N a v a n e e t h12-Jan-09 23:29
N a v a n e e t h12-Jan-09 23:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.