Use of unassigned local variable
Posted
by Bob
on Stack Overflow
See other posts from Stack Overflow
or by Bob
Published on 2010-05-10T19:57:13Z
Indexed on
2010/05/10
20:04 UTC
Read the original article
Hit count: 134
...
...
...
try
{
string Tags_collect;
SqlDataReader Data1 = cmd.ExecuteReader();
Data1.Read();
lbl_q_title.Text = Data1["subject"].ToString();
Data1.NextResult();
while (Data1.Read())
{
Tags_collect = Data1.GetString(0);
Tags_collect= Tags_collect+ Tags_collect;
}
lbl_tags.Text = Tags_collect;
.....
....
....
not sure why i get this error what do i miss?
© Stack Overflow or respective owner