Tags:ASP.NET Questions, Dot Net Questions, Latest Questions, Latest Topics | 1,008 views
ihve 2 systems 1) webserver(username=ws passowrd=abc ) 2) dbserver (username=ds passowrd=xyz ) in webserver web config i have given identity imperosonate =true username=”webserver\ws” password=”abc” i have a code for downloading the file from dbserver to webserver Response.AddHeader(“Accept-Ranges”, “bytes”) Response.AppendHeader(“ETag”, “””” & _EncodedData & “”””) Response.AppendHeader(“Last-Modified”, lastUpdateTiemStamp) Response.ContentType = “application/octet-stream” Response.AddHeader(“Content-Disposition”, “attachment;filename=” & FileName.Name) Response.AddHeader(“Content-Length”, [...]
Tags:ASP.NET Questions, Dot Net Questions, Latest Questions, Latest Topics | 924 views
Hiii, Is there any way to saw saturday and sunday red or any way to disable any day of week dynamically from code in Ajax Calender Control. For ex. i am making payroll system so if you are going to apply for leave at week off days so at that time you are not [...]
Tags:ASP.NET Questions, Dot Net Questions, Latest Questions, Latest Topics | 659 views
Something is wrong with my sql delete query and I’ve obviously missed something. I’m trying to delete from db: SqlConnection conn = new SqlConnection(config); conn.Open(); string sql = “DELETE FROM MemberOccasion JOIN Occasion ON MemberOccasion.occasionID = Occasion.ID WHERE Occasion.meetingID = @meetingID AND MemberOccasion.memberID = @memberID”; SqlCommand comm = new SqlCommand(sql, conn); comm.Parameters.AddWithValue(“@meetingID”, mötesID); comm.Parameters.AddWithValue(“@memberID”, Session["medlemID"]); [...]
Tags:ASP.NET Questions, Dot Net Questions, Latest Questions, Latest Topics | 758 views
hiii all, i have atable that contains (id, name, commission) i need to have the sum of commission where name=a as’first’ and the sum where name=b as ‘second’ in the same row , any help, please????? thanks