while (dbDr_obj.HasRows == true)
{
dbDr_obj.Read ( );
someString = dbDr_obj.GetString ( 0 );
byte[] buffer = new byte[8192];
long read= 0;
long index = 0;
do
{
read = dbDr_obj.GetBytes ( 1, index, buffer, 0, buffer.Length );
m.Write(buffer, 0, (int)read);
index += read;
} //eof while
while (read > 0) ;
if (dbDr_obj.IsClosed == false)
{
dbDr_obj.Close ( ); //comm -- remember to close the DbReader obj otherwise
} //eof if (dbDr_obj.IsClosed == false)
break;
} //eof while
Getting the Current TabItem when the Tab is not selected in WPF
-
[image: Banner]
This is a quick reminder to self on how to retrieve a TabItem from a WPF
TabControl *when the tab is not currently selected* because I ru...
1 week ago
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!