Click here to Skip to main content
15,891,777 members
Home / Discussions / C#
   

C#

 
QuestionCannot figure out how to get the row I need in a datatable Pin
compninja256-Feb-09 9:49
compninja256-Feb-09 9:49 
AnswerRe: Cannot figure out how to get the row I need in a datatable Pin
Luc Pattyn6-Feb-09 10:03
sitebuilderLuc Pattyn6-Feb-09 10:03 
GeneralRe: Cannot figure out how to get the row I need in a datatable Pin
compninja256-Feb-09 10:19
compninja256-Feb-09 10:19 
GeneralRe: Cannot figure out how to get the row I need in a datatable Pin
compninja259-Feb-09 3:04
compninja259-Feb-09 3:04 
AnswerRe: Cannot figure out how to get the row I need in a datatable Pin
Ennis Ray Lynch, Jr.6-Feb-09 10:48
Ennis Ray Lynch, Jr.6-Feb-09 10:48 
GeneralRe: Cannot figure out how to get the row I need in a datatable Pin
compninja259-Feb-09 2:13
compninja259-Feb-09 2:13 
GeneralRe: Cannot figure out how to get the row I need in a datatable Pin
Ennis Ray Lynch, Jr.9-Feb-09 2:42
Ennis Ray Lynch, Jr.9-Feb-09 2:42 
GeneralRe: Cannot figure out how to get the row I need in a datatable [modified] Pin
compninja259-Feb-09 2:52
compninja259-Feb-09 2:52 
Oh, I thought it said you only needed to do that for the column name. So it should look like this? [I$PN] = 'CA\-106\-77' ?

update. Ah, I got it working. I used the debugger and looked at the table again. The table see's the column header with double quotes in it. I was able to get it to work by using this.

DataRow[] rows = dt1.Select("[\"I$PN\"] = 'CA-106-77'");


Thank you for your help!

"You're damned if you do, and you're damned if you dont" - Bart Simpson

modified on Monday, February 9, 2009 8:59 AM

QuestionIs using a User Control Embedded Class a good practice? Pin
MacSpudster6-Feb-09 9:05
professionalMacSpudster6-Feb-09 9:05 
AnswerNot really the place for this question Pin
Pete O'Hanlon6-Feb-09 11:26
mvePete O'Hanlon6-Feb-09 11:26 
GeneralRe: Not really the place for this question Pin
MacSpudster9-Feb-09 8:34
professionalMacSpudster9-Feb-09 8:34 
Questiongenerating a class from an xsd at runtime? Pin
orinoco776-Feb-09 5:52
orinoco776-Feb-09 5:52 
AnswerRe: generating a class from an xsd at runtime? Pin
Ennis Ray Lynch, Jr.6-Feb-09 7:17
Ennis Ray Lynch, Jr.6-Feb-09 7:17 
QuestionReading the Caption(Title) of another Window Pin
SimpleData6-Feb-09 5:26
SimpleData6-Feb-09 5:26 
AnswerRe: Reading the Caption(Title) of another Window Pin
0x3c06-Feb-09 5:34
0x3c06-Feb-09 5:34 
AnswerRe: Reading the Caption(Title) of another Window Pin
Giorgi Dalakishvili6-Feb-09 5:48
mentorGiorgi Dalakishvili6-Feb-09 5:48 
QuestionGet SelectedListViewItemCollection threadsafe [modified] Pin
Tobesucht6-Feb-09 4:07
Tobesucht6-Feb-09 4:07 
AnswerRe: Get SelectedListViewItemCollection threadsafe Pin
Tobesucht8-Feb-09 21:11
Tobesucht8-Feb-09 21:11 
QuestionSystem.Data.SqlClient.SqlClientpermission,System, publickey token='......' failed exception Pin
praveenvkumarv6-Feb-09 3:53
praveenvkumarv6-Feb-09 3:53 
AnswerCP: REPOST Pin
EliottA6-Feb-09 4:14
EliottA6-Feb-09 4:14 
GeneralRe: CP: REPOST Pin
musefan6-Feb-09 4:30
musefan6-Feb-09 4:30 
QuestionRefreshing Datagrid/BindingSource Pin
Muammar©6-Feb-09 3:44
Muammar©6-Feb-09 3:44 
AnswerRe: Refreshing Datagrid/BindingSource Pin
Lodeclaw6-Feb-09 5:36
Lodeclaw6-Feb-09 5:36 
AnswerRe: Refreshing Datagrid/BindingSource Pin
howlettt6-Feb-09 6:03
howlettt6-Feb-09 6:03 
GeneralRe: Refreshing Datagrid/BindingSource Pin
Muammar©6-Feb-09 18:55
Muammar©6-Feb-09 18:55 

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.