Click here to Skip to main content
15,897,704 members

Comments by muntahach (Top 7 by date)

muntahach 11-May-11 18:24pm View    
it shows error when execute scalar is used
Cannot implicitly convert type 'string' to 'System.Data.SqlClient.SqlDataReader'
muntahach 11-May-11 18:24pm View    
it shows error when execute scalar is used
Cannot implicitly convert type 'string' to 'System.Data.SqlClient.SqlDataReader'
muntahach 6-May-11 15:46pm View    
i m entering data of book issue in a form, i want that some field like registeration number , issue date, due date and book id are sent to the user (the one who takes book )like a receipt in e mail that is


the book id , reg no , issue date, due date, are taken form web form and sent in a mail , Is these data can be entered in the body of e mail message automatically ?
muntahach 28-Apr-11 14:25pm View    
i check it but it gives error
string filename = "BOOK PURCHASE REQUEST FORM Final";
Response.ContentType = "application/octet-stream";
Response.AppendHeader("Content-Disposition", "attachment;filename=" + filename);
string aaa = Server.MapPath("~/SavedFolder/" + filename);
Response.TransmitFile(Server.MapPath("~/SavedFolder/" + filename));
Response.End();


i use this code but it gives error in 2nd last line
muntahach 28-Apr-11 14:24pm View    
please explain a little, i did it but it is not working