13,936 Topics
![]() | |
Hi experts, I have a task to print some data into a word document .I need to set the word document to readOnly. It's working but user still can edit. Is there any thing I can do whereby user cannot edit the document? [CODE]// Word.ApplicationClass oWordApp = new Word.ApplicationClass(); // … | |
OK, one last thing. Now I have 3 textboxes and here's what I wrote: [CODE] SqlConnection conn = new SqlConnection(); conn.ConnectionString = "data source=.;initial catalog=ForumDataBase;integrated security=true;"; SqlCommand cmd = new SqlCommand(); cmd.CommandText = "INSERT INTO PostTable(ThreadTitle,PostMessage,UserName) values('"+ThreadTextBox.Value+"','"+PostTextBox.Value+"','"+NameTextBox.Value+"')"; cmd.Connection = conn; conn.Open(); cmd.ExecuteNonQuery(); conn.Close(); [/CODE] Can you please tell me what's … | |
Hello there, How can i load an xml file,to treeview control and show it in my html page? Thanks | |
I develop and host several .NET 1.1 and .NET 2.0 applications. I am having an intermittent problems that I can't nail down a problem to correct the issue. My applications are hosted on a Windows Server 2003 box that I host. The applications will randomly hang when I try to … | |
Please help me " System.Data.SqlClient.SqlException: Prepared statement '(@Name varchar(100),@Describes varchar(100),@Money char(10))Upda' expects parameter @Describes, which was not supplied. at System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Assignment.rose.dtgFlower_UpdateCommand(Object source, DataGridCommandEventArgs e) in c:\inetpub\wwwroot\assignment1\rose.ascx.cs:line 111Error:Cannot update " This is the code "namespace Assignment { using System; using System.Data; using … | |
hi all, I have a shopping cart page which shows the details that which product user has selected with what quantity. In this page when I click on any button like 'Continue shopping', I got an exception given below: Exception Details: System.ArgumentException: Invalid postback or callback argument. Event validation is … | |
hi there I have two web pages designed with ASP.net on VB I want to send parameter from the first to the second when I open it and I have this code in the first page : [I]Response.Redirect("second.aspx? name=" & usernametxt.Text())[/I] and then in the second page_load [I]stdnamelbl.Text = Request.QueryString("name")[/I] … | |
Dear friends: I've copy the asp.net code from Unleashed book. I want to use this part of the code to take stored procedure rather than select statment. The stored procedure I write for is this: ********************************************************* CREATE PROCEDURE authenticatedUser ( @userName Varchar ( 20 ) , @userStatus Varchar (20), @userPassword … | |
How a doc file can be open inside browser without prompting the download dialog box? when i have to open a pdf file its dirctly open in browser,how i can achieve same functionality for doc files? | |
How to create [url]www.mydomain.subdomain.com[/url] for my user using C# in asp.net | |
Dear Colleagues: I want to separate interface design from its code (in my asp.net school project). So that , I'm trying to use a code-behind using vb.net. For example in my login page I provide the user with username and password input, then handle the user input from lgoin.vb file. … | |
I've installed VS2005 in WinXp SP2. When i'm trying to run asp.net web application in my local machine i'm getting the following error:- [B][COLOR="Red"]"Unable to connect to visual studio's localhost web server."[/COLOR][/B] same type of thing is happening when i'm trying to open a windows form application. this time the … | |
hi , guys can any help me out in sending a text messages from bluetooth computer using a bluetooth mobile . i like to make it clear guys, i would be composing a message using a bluetoothcomputer and that message should be reaching the destination by taking help of bluetooth … | |
Hello guys! So here's the problem. I'm making kinda simple forum and I'm using SiteMapPath to navigate through sections and threads. Like HOME>>Programming>>SomeThread. But that's not important... Also I have database with 3 tables. One with SectionID and SectionTitle, other one with ThreadTitle and SectionTitle , and the third table … | |
hi there, I am designing ASP.net over VB I have a linkButton in the master page and it is disabled, in the login page the login Button must enable that linkButton when I use it immediately like this: stdMaster.ChangeModeBtn.enable(True) it does not work , it gives me something about the … | |
I am working on an ASP.net 2.0 application written in C#, pulling data from an Oracle 10g database on a remote server (i.e. the application and database are on different servers). The data is pulled via a SqlDataSource control. When I run small, quick queries, everything works fine, but when … | |
I am working on an ASP.net 2.0 application written in C#, pulling data from an Oracle 10g database on a remote server (i.e. the application and database are on different servers). The data is pulled via a SqlDataSource control. When I run small, quick queries, everything works fine, but when … | |
Hi Everyone, (I apologize for my terrible terminology) Do you know when you "wave" your cursor over a photo or a url link and it appears as I would like to put it "clickable" or the cursor changes into a "hand". My issue is this, on my site I have … | |
hi there, I have my gridview's columns are hyperLinks to another pages as follows: [B]<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4" DataSourceID="SqlDataSource1" ForeColor="#333333" GridLines="None" Height="149px" Style="z-index: 103; right: 47px; position: relative; top: 19px" Width="374px"> <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /> <Columns> <asp:hyperlinkfield headertext="course_no"datatextfield="course_No" datanavigateurlfields="course_No"datanavigateurlformatstring="CourseEvaluationForm.aspx?courseNo=course_No" /> <[B]asp:hyperlinkfield headertext="course" datatextfield="course_name" datanavigateurlfields="course_name" datanavigateurlformatstring="CourseEvaluationForm.aspx" />[/B] <asp:hyperlinkfield headertext="Doc_name" … | |
i developed a database application using vb 6, and made reports for end users using crystal reports developer edition XI, The problem is that when i created the setup file using VB Package and deployment wiz, the reports don't run on any machine except the one where the package has … | |
i want to validate text fields with out validate page and want to make a link | |
hi all, i'm using a page called ShowImage.aspx in my project. The page's doing a crop for each picture and shrink them. when i show a picture in my another pages as above way, i can't delete them. File.Delete(Server.MapPath("path")) is not work. Error Message : ..... the file is using … | |
probably, all of you have seen this scenario a lot when entering customerID into a large database it takes AGES to bring back one simple record of a single customer === let's say, this has been DONE already , for tuning performance separate the CUSTOMERS table into 2 TBLcustomer1 -- … | |
Hi Everyone, I'm new to this forum. I hope to learn a lot here. My first question is this, in affiliate marketing, how does one use the postback url feature in order to track affiliate sales ? Meaning if someone searches "Mobile Phones" & goes to my site and they … | |
Hi, I am using vs 2005 asp.net/vb.net . My screens appear very small on the browser. How can i hide the IE toobars to get a full screen view of my pages ? Kindly help Regards SANJISH | |
I have been waiting for the gallery module for Dotnetnuke to be released for a while. It seems that it may still take some more time. I would like to know if there are similar modules available that would allow me to do the following. 1. Users should be able … | |
I usually deal with front end stuff involving just xhtml and css, but I've been dabbling in vb lately...because I got this web dev job that requires it. My manager recognizes that I had no previous experience with vb, so he offered to help me on it whenever possible. Now … | |
On my website, I have an Iframe open up when a user clicks 'run report' and then the iframe submits the information that is given to it from the initial page to parse the report through an xslt and then spit out a word document. I need to find a … | |
Hello all, I am completely new to asp.net. I would like to learn it. Please guide me. 1. what are the main development tools that I can use.? 2. what is the system requirements for the tool.? 3. Can I download that tool for free. quick help will be greately … | |
Really having trouble with UI design using AJAX and Web Dev Express 2005. Designing systems for 25 years and finding the latest and greatest the biggest pain in the ass to figure out since JCL. Anyway: I have been trying to put controls such as the Gridview into a <DIV> … | |
I want to make video conference using ASP.NET & C#. | |
We are seeking to expand our team. We need .NET developers. Microsoft Gold Certified is preferred. Please contact us with your rates and examples of your work. info[AT]presidiostudios.com Thanks | |
I have created crystal report now i want to take printout of that page using c# with asp.net1.1. Can anyone help to comeout from this queries ? what code i have to write to take print of that page in pdf format? | |
hi all, I have 2 Admin pages 'Add Coupons.aspx' and 'Add Products.aspx' in the following directory:- F:/billadelphia/[B]Admin[/B]/Add Coupons.aspx F:/billadelphia/[B]Admin[/B]/Add Products.aspx Both the above pages are using a master page. In the Master page Iam using a Stylesheet for applying design template to all pages. In the master page images is … | |
hello, I am designing a web site using ASP.Net over VB , and I need to have user login window, I 've had it from the control and the users specified from the ASP.net configuration but : I wonder if I can bind users from a table containing usernames and … | |
Hi, I am developing an application in Visual Studo 2005 . I need to have a table with 4 rows and 4 columns. I am able to drag and drop the table control from the toobox, but for creating the rows and columns i have to write the <tr>,<td> blocks … | |
Hi, I'm doing one ASP.NET project with vb.net as code-behind. I'm using SQL Server 2000 as backend. I want to store the date in the following format. [B][I][COLOR="red"]2007-10-29 14:08:00[/COLOR][/I][/B] Can anyone please suggest how to get this format? | |
Hai All, Can any one help me how to get html hidden varaible value in asp.net code-behind. Thanks, Aswath. | |
| |
hi all, I am making an winform project. After successful build when i run my project i get error as : "An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in system.windows.forms.dll Additional information: Error creating window handle." Can anybody tell what this error? Is this related to .net or window? Can … | |
hello i want code for ==== i want to add nodes in tree view control through database (sql). and i am using asp.net 2.0 with c#. gayatri | |
i am working on online railway reservation project in asp.net using vb.net. in this project ,i want when user enter train name,source and destination on one page,it displays all these textbox values on textboxes of another page.please tell me urgently how can i do. | |
Hi all, I have a gridview in my project. There is a cell that contains a dropdownlist, textbox and button. My task is when the use clicks "others" in the dropdownlist, the textbox and button should show so that they can add new value into the dropdownlist. But I got … | |
Hi! I don't know if this has been answered already and a search gave to many results. I have a website that is built with ASP.NET and that uses some javascript. When I run a debug on localhost to check for errors the ASP.NET code works just fine, but every … | |
move visual studio.net 2003 web project from one computer to another if both computers are not connected then Visual Studio will fail to open the project and give an error "unable to get project file from web server.the two need to map to the server location. http 404 error (web … | |
Hi experts, I need a linkbutton/button to download the files which my clients have uploaded. Below is my upload method and it works. [CODE]protected void uploadFile() { String projectID = (String)Session["projId"]; //change the file name if (!FileUpload.FileName.Equals("")) { // Create a new folder in Docs folder (folder name = projectID) … | |
Hi Thomas i m in deep trouble plz help me. I have developed a website in ASP.NET 2.0 with SQL-SERVER 2005. i have used Membership feature of ASP.NET 2.0 (VS-2005). Which creates a Membership Database named aspnetdb in my app_data folder in my website folder. But now while hosting on … | |
Hi to Everyone, i am looking to develop an graphical chat program(objects drawn in the either screen should take effect meantime in the other end-Real time drawing) is any body there to suggest me,what tools to use enable a drawing like a simple board Thanks in Advance Venkatramasamy SN | |
I am writing some code to create a google base feed and I need to remove all of the ®, ™ etc from the product descriptions. My problem is that I need a regular expression that I can use to look for the pattern: & [any series of characters]; (ampersand[any … | |
i need some help here i have design a gridview which contains two columns with dropdown list first is emp_id column n second is orderofwork column...when i try to update database with selected values in dropdown it gives me the following error Conversion from string "update subj_emp_assign set emp_i" to … |
The End.