13,936 Topics
![]() | |
hi to all, i want to create dynamic pdf file from database table , simply I wnat to implement "Download as PDF File" feature in my website. I don't know how to do this...! plz reply. | |
Hi All, actually in my web application there is downloading link.When a user click the link a folder is creating in the hard drive with a pdf file which can be accessed by the user.I want restrict the accessing of the file after 7 days from the generation and also … | |
I have a Folder on the Web Server that has files that have been uploaded by users via my Web App. I would like to create a button click event that would download the Folder (Directory) and all of its contents. Currently I have a link on a web page … | |
Hello, iam developing some site in asp.net using C# and SQL Express. The site deal with digital printing solution, and i have some upload form which handel with files upload for print. In this form there is a few kind of data (like: personal details, pre-print details etc..) there is … | |
I have implemented the “Sign in as different user” authentication functionality, using windows authentication, on our website. The functionality is same as SharePoint. I used explicit “un-authentication” by following code on our page which executes when user clicks on “Signin as different user” option: [code] protected void SignInAsDifferentUser_Click(object sender, EventArgs … | |
hi this may sound simple but i can not get it to work i have try for about 5-6 weeks now and this my last hope all my project is to make a job dater base that workers can add jobs and cliences can see there job but i am … | |
Hi All, as per as I know dataset can do the work of datareader.Only the difference in connected and disconnected architecture.But Is there any area where we have to use only datareader without dataset? | |
Greetings, I'm attempting to configure iis 5.x to work well with ASP/NET so that I can host my own webserver. I've googled the issue and saw recommendations for running the aspnet_regiis.exe -1 command in dos. I ran that command and t returned the following error message: Setup has detected some … | |
Hi! I have a problem. I cannot update the row in GridView control. [CODE=asp.net ] <asp:Label ID="Label1" runat="server" Text="Username: "></asp:Label><asp:TextBox ID="unTextBox" runat="server"></asp:TextBox><%--<asp:RequiredFieldValidator ID="usernameRequiredFieldValidator" runat="server" ErrorMessage="*" ControlToValidate="unTextBox"></asp:RequiredFieldValidator>--%><asp:Button ID="unSearchButton" runat="server" Text="Search"/><br /><br /> <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="MySqlDataSource" CellPadding="4" ForeColor="#333333" Font-Size="Small"> <Columns> <asp:CommandField ShowEditButton="True" /> <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" ReadOnly="true" … | |
Hi, I am using [B]file upload[/B] control in .net. But I want , the user only able to upload doc, docx and pdf file.How do I make it possible? | |
Hi, I am a bit confused with sessions, I have read somewhere that session values get destroyed after the session is expired ; to test that i created two web forms each generating session values on page load, also i capture browser session id by: session.sessionid(); I am using mozilla … | |
[CODE]// set up connection to the database myConnection = new System.Data.SqlClient.SqlConnection(); myConnection.ConnectionString = "Data Source=.\\SQLEXPRESS;AttachDbFilename=C:\\Users\\Craig\\Desktop\\Project\\App_Data\\ASPNETDB.MDF;Integrated Security=True;User Instance=True;";[/CODE] Hi this is my above connection string which works fine on my personal computer. I need to move the entrive Project folder to a different location which will not have access to the … | |
Hi , I need to create a page that has databound controls . eg. Say i have a row with the following columns 1. TrackKey VARCHAR(50) 2. State VARCHAR(50) 3. Reason VARCHAR(50) 4. DateChanged DATETIME ------------------------------------------------------------ Now for each row in the table, the controls should be like this 1. … | |
Hi, In my DB I have 2 tables Units and Groups In Units I have Id Name In Groups I have Id Name UnitID This is my code [code] BMDataClassesDataContext db = new BMDataClassesDataContext(); TreeNode rootNode = new TreeNode("BM"); var n1 = from node in db.Units select node; foreach (var … | |
[INDENT][ICODE] <asp:PlaceHolder ID="PlaceHolder1" runat="server" Visible="False"> <span class="label">Product Code : </span> 340, 472, 491, W340, W491<br/> <span class="label">Size : </span> 38.1cm-15in, 40.6cm-16in, 48.3cm-19in<br/> <span class="label">Suitability : </span> TOPS<br/> </asp:PlaceHolder>[/ICODE][/INDENT] I have an imagebutton on aspx page . on mouse over of that i want it the placeholder to popup and it … | |
I have sqltable which has two fields category_id category_name 1 india 2 africa 3 china In front end i have 2 text boxes categoryid category name But the category id field is read only , i mean i am automatically incrementing it by one. Then i am displaying the data … | |
I got a set .net c++ 2003 source code, I need to call some of the functions from it in c# 2005, how can I do? I heard that .net c++ 2003 is managed code it can directly communicated with c#, but I dont know how to do, is need … | |
How are these new URLs such as mail.yahoo.com or groups.google.com made? is it some sort of URL rewriting? or ?? any help about how to make such a thing or a tleast a guide towards it is appreciated. Thanks in advance. | |
hi all ...i'am having a problem ..i'm working on an asp.net & silverlight project ....but the data base contain the (unique identifier) type ..and i don't know how to handles this type ...and also i can't add data to my data base coz this type is giving me alot of … | |
Information is needed as to how create an event on THE child user control. So, that the Parent user control can display the necessary data when the event is being used. Thanks, | |
Pls i need help on how to create an advert dialog that will popup and the dialog box will contain the advert information and button to view advert details Or to skip the advert. Or any other way to achieve the task. I will really appreciate your respond to this … | |
[code]Protected Sub Application_PreRequestHandlerExecute(ByVal sender As Object, ByVal e As EventArgs) If Session("LoginName") <> "" Then Dim strCacheKey As String = Session("UserDetails").ToString() Dim strUser As String = HttpContext.Current.Cache(strCacheKey).ToString() End If End Sub[/code] i used this in global.asax and [code]If Not IsPostBack Then Dim strConCat As String = txtLoginName.Text 'TxtUserName.Text + TxtPassword.Text … | |
First post for me, hope this is right place rather than c# I have a form. When it is completed, it redirects the user to a thank you page. <%@ Page Language="C#" masterpagefile="../../../msrtpage/hra2.master" title="Sign Up Here" %> <asp:Content id="Content1" runat="Server" contentplaceholderid="hra1"> <script runat="server"> protected void FormView1_ItemInserted(object sender, FormViewInsertedEventArgs e) { … | |
I am new to asp.net though not to asp. I want to display two gridboxes, the first with master records and the second with child records linked to the master table id. The idea is to change the child records when the parent record is selected, or ideally, when the … | |
Hello, I am a beginner to ASP.NET. I need some directions for this task. Information about task: Phase 1 : Assume Server whose health to monitor is GEMINI. Create two unattended (non UI) Windows Services (or Windows exe) written in C#. Every specific “duration” the windows services will be invoked.Use … | |
Hi I am creating an installer and want the .net framework dependency to install silently any help appreciated | |
I have made a login form in C#.net windows application i am facing a problem during connecting it to the database SQL Server 2005 it is sending [B]error 25[/B] it will be helpful for me if somebody solve this problem if will be better if somebody send me coding also | |
Parent user control method needs to be accessed from child user control. Any solutions??? | |
I need a text editor same as used in this site in the [B]Message[/B] section of [B]Post new Thread[/B]. Actually i want to convert my text area control to text editor .If anyone knows please help me | |
Hi All, I m having a gridview with the sort functionality everything is working fine in sort but sometimes it is crashing IE browser. It is working in firefox but crashing the All version of IE.. Plz help... Index.aspx page code [code] <asp:GridView id="dgShoppingIdeas" runat="server" AutoGenerateColumns="False" OnRowDataBound="dgShoppingIdeas_RowDataBound" CaptionAlign="Left" GridLines="None" CellPadding="4" … | |
hi every one i am using calendar control i am trying to display the selected day events in panel for this the code written below the calendar event not getting raised [code=C#] protected void Calendar1_SelectionChanged(object sender, EventArgs e) { ContentManagement.ContentManagementSoap contentManagementService = new ContentManagement.ContentManagementSoapClient(); GetAllEventsByTypeRequest request = new GetAllEventsByTypeRequest(); request.Body … | |
how to add datas from a web page to a data base using C# in asp.net (a symple mathod) | |
can any body plz tell me how to access data from sql server 2005, i have created sql database table , but i dont know how to connect, and how to get date in to a text box ,i m using asp.net with C# , and i want to know … | |
Hello sir HTTP Error 500.23 - Internal Server Error An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode. This application defines configuration in the system.web/httpHandlers section. From MAnoj | |
I have designed a masterpage in asp.net. There is a dropdown list in my asp.net form which select that masterpage. But each time when I select an item from the dropdownlist the entire page gets refreshed. I want a javasript code to block the refresh of dropdownlist item selection and … | |
Ok this is not as simple as it seems. I know i can create it on the aspx page. And make my changes there: set colums to read-only, turn colums into template fields, edit the template fields, and set the names of the headers. BUT if i want to add … | |
Hi , i have used the asp.net membership wizzard to create new users for my website. I have attempted to customised the wizzard by adding a dropdown list which allows for the user role to be selected before creating the new user. The error message i get is Server Error … | |
Hi, In the page I'm developing, I have a CheckBoxList which is populated based on what the user types in a TextBox (Similar to an AutoSuggest). The CheckBoxList is inside an UpdatePanel. When anything is typed, I'm settting the focus to the end of the word, otherwise the focus goes … | |
Hi, In the page I’m developing, I have two textboxes, and two CheckBoxLists. Each CheckBoxList is being populated according to what the user types in the respective TextBox. In the Page Load, I’m doing the following (VB.NET): [CODE]Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load FirstTextBox.Attributes.Add("onkeyup", … | |
Hi, I am creating a website using website in asp.net2.0, Can i use Class here. Please help me in this. Although i am able to create class, but i am not able to use that. Please help me. Regards, Beau | |
Our website is split into 13 host countries, each with language data and (eventually) individual prices on products, to stop people viewing other country's prices we use the ip2nation database to determine the user's IP location (or proxy location) then a server-side filter redirects them to the relevant homepage 'shop' … | |
Hi!!!!!! I have made an application and made its exe file also............ But I don't know how to inbuilt .NET framework with my application to distribute my application to clients....... When the user is online then .NET framework automatically installs but in offline mode its giving error for .NET framework........... … | |
Hí! I develop my website by Asp.net and I insert Google Analystic code inton Default.aspx file. But I can't see its report? Anyone experience with Google Analytic please help! Thank in advance | |
Hi, I have 2 projects, the business entity, there I have all the classes mapped from the database and the web project where I fill those business entity classes. Then, I need to store in a DB. I have the globalization set in the web.config on the web project. (VS2008, … | |
When a host request a page from server, the server will 1st bind a encryption key to the host's mac address. Data provided by host will be encrypted at the client side using the same encryption key. The encrypted data submitted by the host will be decrypt by the server. … | |
Let say i hv two textbox, i.e. TextBox1 and TextBox2 and a button. Is it possible for me to write text into either Textbox1 or TextBox2 when the focus is at the textbox and button is clicked subsequently? For example my focus is now at TextBox1 then i clicked on … | |
Hello, I want to print a report using my database in asp.net as we can do in VB6 with printer object. How can we do it in Asp.net? Thanks Alok | |
Hi, ASP .net is totally new area for me. I am trying to build one web application to be accessed internally by my team through local network. So, I am trying to add one login page in my project asking for user's username and pwd. Now, I want my application … | |
Hi i have a table which i was using with a datagrid using hyperlink to maintain a simple menu to browse a internal site. but now i decided to create a horizontal menu with the Menu Component of asp.net, i know there is a different way how to do this, … |
The End.