Click here to Skip to main content
15,911,132 members

Comments by Arwinder Singh (Top 2 by date)

Arwinder Singh 21-May-13 2:20am View    
And also u can use:

ScriptManager.RegisterClientScriptBlock(this,typeof(Page), "ClosePage", "window.close();", true);
if u are using ajax.
Arwinder Singh 18-May-13 7:27am View    
No

if(dr.NextResult())
{
if (dr.HasRows)
{
txtUpPhoneNo.Text = dr[0].ToString();
}
}

dr.NextResult() will help you to move your datareader to the next set of result.
In your case its better to Combine your select query.