Click here to Skip to main content
15,908,264 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionMeta data search Pin
sohne24-Oct-06 2:46
sohne24-Oct-06 2:46 
AnswerRe: Meta data search Pin
ednrgc24-Oct-06 3:16
ednrgc24-Oct-06 3:16 
GeneralRe: Meta data search Pin
sohne24-Oct-06 4:25
sohne24-Oct-06 4:25 
QuestionTree View navigation Pin
nannapanenikamalnath24-Oct-06 2:25
nannapanenikamalnath24-Oct-06 2:25 
AnswerRe: Tree View navigation Pin
ednrgc24-Oct-06 3:17
ednrgc24-Oct-06 3:17 
GeneralRe: Tree View navigation Pin
nannapanenikamalnath24-Oct-06 3:25
nannapanenikamalnath24-Oct-06 3:25 
Questiondatareader Pin
amaneet24-Oct-06 1:52
amaneet24-Oct-06 1:52 
AnswerRe: datareader Pin
Jim Conigliaro24-Oct-06 4:41
Jim Conigliaro24-Oct-06 4:41 
It is usually a best practice to reference your data by column name, so the dr.Item([ColumnName]) method is best. The reasoning behind this is that if your query changes and you add or remove columns, you won't need to modify the your code to adjust for the resulting changes in column indexes.

The GetOrdinal method returns the index of a column that can then be used to retrieve the data for the specified column. This method is often used if performance is a concern. Retrieving data by column index is faster than by nane, so if you are looping through a large number of columns, you will typically retrieve the column index by name using the GetOrdinal method and then use that index to retrieve the data.


AnswerRe: datareader Pin
Guffa24-Oct-06 4:44
Guffa24-Oct-06 4:44 
GeneralRe: datareader Pin
amaneet24-Oct-06 18:35
amaneet24-Oct-06 18:35 
QuestionHow to rollback a transaction Pin
sabby200624-Oct-06 1:49
sabby200624-Oct-06 1:49 
AnswerRe: How to rollback a transaction Pin
Sathesh Sakthivel24-Oct-06 1:58
Sathesh Sakthivel24-Oct-06 1:58 
GeneralRe: How to rollback a transaction Pin
sabby200624-Oct-06 3:09
sabby200624-Oct-06 3:09 
GeneralRe: How to rollback a transaction Pin
Sathesh Sakthivel24-Oct-06 3:27
Sathesh Sakthivel24-Oct-06 3:27 
QuestionPerformance issue when storing large dataset in Session variable Pin
Vinkum24-Oct-06 1:45
Vinkum24-Oct-06 1:45 
AnswerRe: Performance issue when storing large dataset in Session variable Pin
Paddy Boyd24-Oct-06 2:51
Paddy Boyd24-Oct-06 2:51 
GeneralRe: Performance issue when storing large dataset in Session variable Pin
Dave Sexton24-Oct-06 3:00
Dave Sexton24-Oct-06 3:00 
AnswerRe: Performance issue when storing large dataset in Session variable Pin
Dave Sexton24-Oct-06 2:59
Dave Sexton24-Oct-06 2:59 
Questioncharacter count Pin
Deepak the Cool24-Oct-06 1:42
Deepak the Cool24-Oct-06 1:42 
AnswerRe: character count Pin
Jim Conigliaro24-Oct-06 5:00
Jim Conigliaro24-Oct-06 5:00 
Questionasp.net server problem? Pin
bolivar4424-Oct-06 0:33
bolivar4424-Oct-06 0:33 
AnswerRe: asp.net server problem? Pin
Dave Sexton24-Oct-06 2:16
Dave Sexton24-Oct-06 2:16 
AnswerRe: asp.net server problem? Pin
Paddy Boyd24-Oct-06 2:52
Paddy Boyd24-Oct-06 2:52 
GeneralRe: asp.net server problem? Pin
bolivar4424-Oct-06 7:01
bolivar4424-Oct-06 7:01 
AnswerRe: asp.net server problem? Pin
bolivar4424-Oct-06 7:38
bolivar4424-Oct-06 7:38 

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.