Click here to Skip to main content
15,905,508 members
Home / Discussions / C#
   

C#

 
AnswerRe: Need Help getting bits from bytes. Pin
Ravadre10-Feb-09 7:15
Ravadre10-Feb-09 7:15 
GeneralRe: Need Help getting bits from bytes. [modified] Pin
Muratus10-Feb-09 7:40
Muratus10-Feb-09 7:40 
GeneralRe: Need Help getting bits from bytes. Pin
Ravadre10-Feb-09 9:24
Ravadre10-Feb-09 9:24 
GeneralRe: Need Help getting bits from bytes. Pin
Muratus10-Feb-09 9:56
Muratus10-Feb-09 9:56 
GeneralRe: Need Help getting bits from bytes. Pin
Ravadre10-Feb-09 10:14
Ravadre10-Feb-09 10:14 
GeneralRe: Need Help getting bits from bytes. Pin
Muratus10-Feb-09 10:53
Muratus10-Feb-09 10:53 
AnswerRe: Need Help getting bits from bytes. [modified] Pin
#realJSOP10-Feb-09 9:59
professional#realJSOP10-Feb-09 9:59 
AnswerRe: Need Help getting bits from bytes. Pin
Alan N10-Feb-09 14:59
Alan N10-Feb-09 14:59 
QuestionUpload file to sharepoint without/without sharepoint.dll Pin
Burdzy10-Feb-09 6:17
Burdzy10-Feb-09 6:17 
AnswerRe: Upload file to sharepoint without/without sharepoint.dll Pin
musefan10-Feb-09 6:28
musefan10-Feb-09 6:28 
GeneralRe: Upload file to sharepoint without/without sharepoint.dll Pin
Burdzy10-Feb-09 6:48
Burdzy10-Feb-09 6:48 
QuestionNetwork info Pin
Froz3n10-Feb-09 5:58
Froz3n10-Feb-09 5:58 
QuestionStreamReader.ReadLine() Pin
staticv10-Feb-09 5:19
staticv10-Feb-09 5:19 
AnswerRe: StreamReader.ReadLine() Pin
Dave Kreskowiak10-Feb-09 5:25
mveDave Kreskowiak10-Feb-09 5:25 
AnswerRe: StreamReader.ReadLine() Pin
Rob Philpott10-Feb-09 5:28
Rob Philpott10-Feb-09 5:28 
GeneralRe: StreamReader.ReadLine() [modified] Pin
staticv10-Feb-09 5:50
staticv10-Feb-09 5:50 
AnswerRe: StreamReader.ReadLine() Pin
Luc Pattyn10-Feb-09 7:08
sitebuilderLuc Pattyn10-Feb-09 7:08 
Question'WindowsApplication1.encode.Image' to 'System.Drawing.Image' Pin
abbd10-Feb-09 5:16
abbd10-Feb-09 5:16 
AnswerRe: 'WindowsApplication1.encode.Image' to 'System.Drawing.Image' Pin
Dave Kreskowiak10-Feb-09 5:23
mveDave Kreskowiak10-Feb-09 5:23 
GeneralRe: 'WindowsApplication1.encode.Image' to 'System.Drawing.Image' Pin
abbd10-Feb-09 6:05
abbd10-Feb-09 6:05 
GeneralRe: 'WindowsApplication1.encode.Image' to 'System.Drawing.Image' Pin
Dave Kreskowiak10-Feb-09 6:38
mveDave Kreskowiak10-Feb-09 6:38 
AnswerRe: 'WindowsApplication1.encode.Image' to 'System.Drawing.Image' Pin
Luc Pattyn10-Feb-09 7:12
sitebuilderLuc Pattyn10-Feb-09 7:12 
GeneralRe: 'WindowsApplication1.encode.Image' to 'System.Drawing.Image' Pin
abbd10-Feb-09 21:53
abbd10-Feb-09 21:53 
AnswerRe: 'WindowsApplication1.encode.Image' to 'System.Drawing.Image' Pin
Luc Pattyn11-Feb-09 0:06
sitebuilderLuc Pattyn11-Feb-09 0:06 
QuestionSQLServer Query Problem - Solved ... thx Pin
benny merkle10-Feb-09 4:50
benny merkle10-Feb-09 4:50 
Hi

I have a problem and maybe someone of you can help me :`|

I send a query to a SQL Server 2005


SingeltonConnection singletonCon = SingeltonConnection.GetInstance();
SqlConnection sqlCon = singletonCon.SqlConnection;

sqlstmt = "Select * From dbo.Team FOR XML RAW, ELEMENTS";

SqlCommand cmd = new SqlCommand(sqlstmt, sqlCon);

normaly i do it this was (with normal select * from dbo.Team querys)
cmd.ExecuteNonQuery();
while (reader.Read())
{
String tmp = reader[1].ToString();
...
}

but now i get an error (Index was outside the bounds of the array. )

SqlXml xml = reader.GetSqlXml(0); reader doesnt solve

So what is the return Type of my Query and how can i work with it?

thanks for your help

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.