Click here to Skip to main content
15,917,964 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: How to Save/Load Files like Pictures in/from Database Pin
ZappaDog24-Jul-12 3:41
ZappaDog24-Jul-12 3:41 
Questiontype in a datagridview and find in a listbox Pin
GOURANG.RASTOGI6-Jul-12 17:23
GOURANG.RASTOGI6-Jul-12 17:23 
AnswerRe: type in a datagridview and find in a listbox Pin
Sandeep Mewara8-Jul-12 4:19
mveSandeep Mewara8-Jul-12 4:19 
QuestionCommunication Webservices or TCP Networking using C++/CLI Pin
Ger Hayden6-Jul-12 12:27
Ger Hayden6-Jul-12 12:27 
Questionstring assignment in vb.net (It's too slow Pin
dl4gbe6-Jul-12 6:16
dl4gbe6-Jul-12 6:16 
AnswerRe: string assignment in vb.net (It's too slow Pin
90823656-Jul-12 10:18
90823656-Jul-12 10:18 
AnswerRe: string assignment in vb.net (It's too slow Pin
Dave Kreskowiak6-Jul-12 10:59
mveDave Kreskowiak6-Jul-12 10:59 
AnswerRe: string assignment in vb.net (It's too slow Pin
Matt T Heffron10-Jul-12 14:42
professionalMatt T Heffron10-Jul-12 14:42 
I'd bet the problem is not in the string assignment but in the call to tostring(). Strings are objects with reference semantics. They are assigned by copying an address (think "pointer"). This is not going to be expensive. (Well, for a property it calls the setter method which simply does the simple assignment, and a good compiler will optimize this to eliminate the call overhead. You are doing timing in Release mode, not Debug, right?)
This can be verified by removing the assignment but keeping row(5).tostring() and ignoring the returned string.

The real questions are:
What type of object does row(5) return?
How expensive is it's tostring() implementation?
QuestionEntity Framework - Updates with eSQL Pin
Member 82251805-Jul-12 9:08
Member 82251805-Jul-12 9:08 
AnswerRe: Entity Framework - Updates with eSQL Pin
Sander Rossel12-Jul-12 6:00
professionalSander Rossel12-Jul-12 6:00 
GeneralRe: Entity Framework - Updates with eSQL Pin
Member 822518013-Jul-12 2:26
Member 822518013-Jul-12 2:26 
GeneralRe: Entity Framework - Updates with eSQL Pin
Sander Rossel13-Jul-12 7:27
professionalSander Rossel13-Jul-12 7:27 
QuestionHow to Install Created Windows Service via VB.Net Pin
ICEFLOWER22-Jul-12 13:24
ICEFLOWER22-Jul-12 13:24 
GeneralRe: How to Install Created Windows Service via VB.Net Pin
Abhinav S2-Jul-12 16:22
Abhinav S2-Jul-12 16:22 
QuestionRe: How to Install Created Windows Service via VB.Net Pin
ICEFLOWER23-Jul-12 18:45
ICEFLOWER23-Jul-12 18:45 
SuggestionRe: How to Install Created Windows Service via VB.Net Pin
Richard MacCutchan3-Jul-12 22:12
mveRichard MacCutchan3-Jul-12 22:12 
GeneralRe: How to Install Created Windows Service via VB.Net Pin
ICEFLOWER24-Jul-12 2:31
ICEFLOWER24-Jul-12 2:31 
SuggestionRe: How to Install Created Windows Service via VB.Net Pin
ICEFLOWER27-Jul-12 23:21
ICEFLOWER27-Jul-12 23:21 
AnswerRe: How to Install Created Windows Service via VB.Net Pin
Pete O'Hanlon3-Jul-12 22:30
mvePete O'Hanlon3-Jul-12 22:30 
AnswerRe: How to Install Created Windows Service via VB.Net Pin
Vijay Selvaraj27-Aug-12 0:36
Vijay Selvaraj27-Aug-12 0:36 
GeneralHow to Change Registry Key Access Control/Rule Pin
ICEFLOWER22-Jul-12 0:06
ICEFLOWER22-Jul-12 0:06 
GeneralRe: How to Change Registry Key Access Control/Rule Pin
Dave Kreskowiak2-Jul-12 3:56
mveDave Kreskowiak2-Jul-12 3:56 
AnswerRe: How to Change Registry Key Access Control/Rule Pin
ICEFLOWER22-Jul-12 4:38
ICEFLOWER22-Jul-12 4:38 
GeneralRe: How to Change Registry Key Access Control/Rule Pin
Dave Kreskowiak2-Jul-12 5:06
mveDave Kreskowiak2-Jul-12 5:06 
GeneralRe: How to Change Registry Key Access Control/Rule Pin
ICEFLOWER22-Jul-12 5:44
ICEFLOWER22-Jul-12 5:44 

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.