Thank you for your help! 
I did try clearing out the temp files but found that there were extra brackets in my code that caused the complier to interpret my code in this manner.
Maybe you can help me with something else. I have been trying for days to make my graphic file that is stored in my database view in a viewer control. The viewer control is written in java script.
My application processes a query and the results show up in a gridview control.
When a user selects one of the records in the gridview control, I want the contents of my "dwg image" file to display in the viewer window.
I have the application working to the point that I can pull a "dwg image" file through a file input control and display it in the viewer. Now I just need it to work with the gridview control. I'm coding is C#.
Here's the java script for a ViewDrawing button event handler. I want to do this when I select a record in the gridview.
<
script id="clientEventHandlersJS" language="javascript">function ViewDrawing_onclick()
{
var filepath = document.getElementById("txtDwgFilePath");var dwgViewerCtrl= document.getElementById("dwgViewerCtrl");
dwgViewerCtrl.PutSourcePath(filepath.value)
}
This is how far I got on my selected index changed event. I'm getting an error when I use "dt" .
protected void GridView1_SelectedIndexChanged1(object sender, EventArgs e)
{
System.Data.DataTable dt = new System.Data.DataTable();
}
protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
{
Control DWGControl = FindControl("dwgViewerCtrl");using (System.Data.SqlClient.SqlConnection myConnection = new System.Data.SqlClient.SqlConnection(ConfigurationManager.ConnectionStrings["DetailsDBFConnectionString3"].ConnectionString))
{
System.Data.SqlClient.SqlCommand command = new System.Data.SqlClient.SqlCommand("SELECT detail_ID, detail_dwg from [Detail_info]", myConnection);System.Data.SqlClient.SqlDataAdapter ada = new System.Data.SqlClient.SqlDataAdapter(command);
ada.Fill(dt);
}