how to create download option
I have1 asp page Between Date....................... To Date.............. go buttonon go button ...all files will be displayed. but i want to diaply download link so that we can...
View Articleintranet portal using visual studio masterpage
Hi,Old version of intranet portal was created using Expression Web 2 and .dwt template but with combination of vb code behind. Now it's time to do some redesign and new intranet portal should work in...
View ArticlePassing a value to next page without session
I want to pass the value of k to the next page how can i do it??public string GetMessage(int i,int j) { string k; try { k = (i / j).ToString(); } catch (Exception exp) { MyFaultException theFault = new...
View ArticleSpecial Characters in EditItemTemplate does not allow update
I am working on an Asp.net project.There is a datagrid to which a datasource is bound. One of the rows contains the "less than" sign "<". In hte aspx page, I use something like :...
View ArticleIssue with routing
I have some links in footer of a MasterPage. Home, About, Terms, Contact and so on. The Terms link has NavigateUrl as : "~/en-us/Terms" and for Contact link: "~/en-us/Community/Contact". In...
View Articlehashing password
How can I use hash to secure password for the code below and also on login. thanksprotected void SubmitContent() { SqlConnection conn = new SqlConnection(strconnection); conn.Open(); SqlCommand cmd =...
View ArticleSelectedIndexChanged not firing when MasterPageFile is used
I have a small demo aspx file that demonstrates a gridview which, when clicking on a row will display information about the row that was clicked on. This demo works, but as soon as I attempt to add a...
View ArticleCall asp Classic file from ASP.NET
Dear All,i have asp Classic file which i need to call and use from ASP.NET app.can i do this?
View ArticleHow to Set Barcode 39 Width in iTextSharp , Why Difference Barcode 39 Barcode...
Hello Folks,I am Written the code For Generating Bar-code Using Itextsharp,Generation fine But I have problem How to Set The Width of the Bar-codeAs-well as .I got Some Slit Difference in The Bar-code...
View ArticleVisual Studio Shortcut tips
Learn the way how you can save time with Visual Studio Shortcuts.http://www.malindesilva.net/2013/08/visual-studio-shortcuts-that-save-my.html
View ArticleAbout Data Conversation in Json
Hii Expertsi want to convert my data in json string and pass it at client side.for that i am using javascriptseralizer and convert my data in json string as belowJavaScriptSerializer js = new...
View ArticleDisplay new page without reloading the master page content.
I have created a master page. I have also created a couple of normal pages that use the master page. The problem I have is that when I change pages it reloads the master page contents which is a bit...
View Articleopen xml export to excel date formatting issue
Hi ,I am trying to export data to excel but i am not able to apply date formatting to it.Pls help...code if (cIndex == 0) { Cell cell = new...
View Articlewant code for age calculator
This is my code. i want to calculate age like if i select date valender extender. It should resemble age in age text box.please help me in code of this thank you <%@ Page Language="C#"...
View Articleupdate image in database
I have 2 images in a database. When a button is clicked on a page, I want to copy image with id=1 to location where id=2.Table Definition: id numeric(18,0) image imageTable Data: 1...
View ArticleHow to remove duplicate while importing excel file to table in database.
Hello, I am creating a query for multiple tables so i can upload directly data to those table from website, the data maybe is big so i am using SqlBulk query. The import is working fine and is...
View Articleload sitemap from xml rather than Web.sitemap
Hi,I have created a function that generate an xml string similar to the Web.sitemap format.I need to load the sitemap or SiteMapDataSource from an xml string which is already generated dynamically at...
View ArticleDataGrid was lost ViewState and Control was lost state when PostBack
I want to dynamic create GridView Column and Row, so I create A template like that :<asp:GridView ID="rgView" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333"...
View ArticleDynamic Button's Event Not Working but Instead of that Dynamic link Button...
Hello , I have used dynamic button control On a page but the event of that control is not getting bind on a load and On a postback also. But Instead of that when i used to add the...
View ArticleCalculator function
Hey there,I am trying to create do addition subtraction multiplation and division with only one "calculate" button. The following is the code i came up with however its not working exactly the way i...
View Article