[C#]How to read data from Database in Realtime?
How to read data from Database in Realtime?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Gopal MahadakPosted Feb 17, 2013, 2:16 AM
if u want to do some actions then in while loop u can do u r actions...
Yes C# can automatic update values...
MASTER OOPPosted Feb 17, 2013, 1:49 AM
Gopal MahadakPosted Feb 17, 2013, 1:33 AM
Please Explain what u r trying...
MASTER OOPPosted Feb 17, 2013, 1:11 AM
Gopal MahadakPosted Feb 16, 2013, 11:45 PM
oledbconnection con=new oledbconnection(" conectionString")
oledbcommand cmd=new oledbcommand("Sql query",con);
oledbdatareader dr=cmd.executereader();
while(dr.read()==true)
{
text1.text=dr["sqlqueryField"].tostring();
}
MASTER OOPPosted Feb 16, 2013, 8:48 PM
Satyapriya NayakPosted Feb 16, 2013, 1:45 PM