Blank Excel File generated.
Mkanchha
Posts
-
ASP.NET EXPORT TO EXCEL -
ASP.NET EXPORT TO EXCELWhat is the Different my code and this codde?
-
ASP.NET EXPORT TO EXCELAfter export gridview to excel using asp.net and vb.net Save as Type:Web Page. I want it should be Microsoft Office excel workbook My code like this ==================== gvRpt.AllowPaging = False gvRpt.GridLines = GridLines.Both Dim style As String = " .text { mso-number-format:\@; } </script> " Response.ClearContent() Response.Clear() Response.Buffer = True Response.Charset = "" Me.EnableViewState = False Response.AddHeader("content-disposition", "attachment;filename=" & RptName & ".xls") Response.ContentType = "application/excel" 'Response.ContentType = "application/vnd.ms-excel" Dim sw As New StringWriter() Dim htw As New HtmlTextWriter(sw) gvRpt.RenderControl(htw) Response.Write(style) Response.Write(sw.ToString()) Response.End()</x-turndown>
-
DatagridHi to All, I display the data in DataGrid and I put bottom columns(Edit, Update, Cancel and Delete). Now, I want using javascript To validate the user input. Like Numeric Only and when User click Update that time i want to confirmation. Mkanchha
-
DatasetI my dataset there are 100 records, how to get the records between 5 to 10 If you have the example please Paste it. Mkanchha
-
Datagrid Update CommandHi I am using ASP.NET1.1 with Back end VB.NET Code. I am trying to used Update command in Datagrid. But i am getting error in this line.. Private Sub DataGrid1_UpdateCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles DataGrid1.UpdateCommand Dim eId As String eId = DataGrid1.DataKeys(e.Item.ItemIndex) 'This line End Sub Error: "Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index" i want to know there i done Mistke Mkanchha
-
Hidden FieldsThanks for Your Reply. But Still I am not getting the values. BackendCode--First Form Hidden1.Value =TxtName.Text Server.Transfer("abc.aspx") BackendCode--Second Form dim Name as string Name=Request.Form("Hidden1") Please Tell Me where I made Mistake. Mkanchha
-
Hidden FieldsHow to Transfer Value from One Page to another Page Using Hidden Fields. I am using ASP.NET 1.1 Mkanchha
-
Email.Thanks for your Reply. Mkanchha
-
Email.Hi TO ALL, I WANT TO KNOW THAT WHEN I SEND EMAIL FROM MY YAHOO ID TO MY FRIEND GMAIL ID WHAT WILL BE THE BACKGROUND PROCESS. I know this questions is not belongs to ASP.NET Code.... Mkanchha
-
Please Help MeThanks, Now it's working Perfect MKanchha
-
Please Help MeThanks for your Replay. I get the SP it's comple successfully but while execute it giving the error. THIS IS MY sp ----------------- ALTER proc Test (@iOrder char(1)) as select * from tblabc order by case WHEN @iOrder='1' then vsName else nYOP end ASC -------------- EXEC TEST '1' -------------------- Error: Msg 8114, Level 16, State 5, Procedure Test, Line 4 Error converting data type varchar to numeric. ------------------------------------------------------ Please Tellme where I made Mistake Mkanchha
-
Please Help MeHi to all, I want to write storedprocedure which take Name or Year as Parameter and Display Records Order by Name or Year. Note:From UI User may select Orderby Name or Year. Mkanchha
-
web.configI want the Encript and Decript my connectionString inside the WEB.CONFIG file Mkanchha
-
Bind DropdownListThanks for your Replay, But Where is the Serverside code to bind the DropDownList Mkanchha
-
Bind DropdownListThanks for your Reply, If you have example Please Paste it Mkanchha
-
web.configThanks for your Reply. But I am Not Getting my answer from that URL. If you have another examples or code please paste it Mkanchha
-
Bind DropdownListHi to all, I want to bind DropdownList inside the DataGrid. If you have the code or Examples Please Paste it. Mkanchha
-
web.configThanks for your replay. If you have some examples, Please Post it Mkanchha
-
web.configHi to all, I want to know how to encript and decript my connectionstring inside the web.config file Mkanhha