Click here to Skip to main content
Page 1 of 2
Page Size: 10 · 25 · 50


Author filtered by: Aman4.net [x]
Question 28 Apr 2013   license: CPOL
Hello Everybody, I have created a setup(.exe) (by using Setup and Deployment), and when I install that exe on computer other than mine, the rdlc report's don't display and an error is shown ("Error while local report processing"). How can i resolve this issue.ThanksSunil Thakur
Question 17 Apr 2013   license: CPOL
Hello EverybodyI have also added the following connection string in my config file, but still there is erroradd name="cn" connectionString="Data Source=AMAN;Initial Catalog=HOSTSDB;User ID=SA;Password=1234add name="FBTS.Properties.Settings.HOSTSDBConnectionString"...
Question 16 Apr 2013   license: CPOL
Hello all, I have created a project in vs 2008 with sql server 2008 as database.Now i want to make a setup file(exe), which can be installed on any computer.Please help me how to do the same.
Question 12 Apr 2013   license: CPOL
Hello everybody!I am working in window application (c# 4, RDLC and Visual Studio 2008). I create an .EXE file for this application (by using Setup and Deployment). Whenever i print any report(rdlc) then it generate an error. (An error occurred during local report processing) How i...
Answer 25 Jun 2012   license: CPOL
Hi,You can check that does the page Length fit to your printing material (PM)? PM length causes this problem, if it is much smaller or bigger than page size used to print.
Question 15 Apr 2012   license: CPOL
Hi Everyone,I found that SqlHelper class made development easy as well as cost effective. I am trying to build new project which will contain most of Helpers classes to make a developer's life easy. I want your recommendation and suggestions for this project, which you may use or want to...
C#
Question 19 Dec 2011   license: CPOL
Hi All,I have created a form which will be post to another form after executing the server side code. I had used onclientClick to submit form (working good), But form should not post if any error occurs. Please let me know that how to resolve this issue?Regards,Aman
Question 28 Sep 2011   license: CPOL
Hi Guys,I am trying to develop my new project in Multiple languages. I have tried Localization and Globalization for sample application. During the development of sample application, I found that we need to write text in all languages. But I want to avoid this step.Please give any idea...
Answer 6 Sep 2011   license: CPOL
Hi Guys,Here is answer:Inserting relational data using DataSet and DataAdapter[^]I just added the RowUpdated event in my code.Regards!Aman
Question 6 Sep 2011   license: CPOL
Dear All,I am updating DataTable (dTable) using SqlDataAdapter (sAdapter) in Sql Database with following code:using (SqlCommandBuilder sBuilder = new SqlCommandBuilder(sAdapter)){ sAdapter.UpdateBatchSize = 0; sAdapter.Update(dTable);}//Working ExcellentI want...
Question 26 Aug 2011   license: CPOL
Hi All,I am new to Microsoft Enterprise Library 5.0 and I have read for same. I made some trail application program with it. But I am not sure about real performance after deployment.Kindly share your experience (Entire) of Microsoft Enterprise Library 5.0 during development and...
Answer 22 Aug 2011   license: CPOL
Dear If matter is to save xdResp with StrSave FileName then use following: xdResp.Save(strSave);Please put code in code block and describe the complete problem always.Regards,Aman
C#
Answer 22 Aug 2011   license: CPOL
Dear Aharisankar,Just try the following:txtDate.Text = (Convert.ToDateTime(reader["DATE"])).ToString("dd/MM/yyyy"); ;I hope that it will work if its not databinding errorRegards!Aman
C#
Answer 22 Aug 2011   license: CPOL
Dear Kishore,You want to show both gridview together (without making invisible another gridivew) as I understood your question. For these you don't need to use tab container because Tabcontainer shows only one tab at the time refer: http://www.asp.net/ajaxlibrary/Tabs-Control.ashx[^]. you...
Answer 22 Aug 2011   license: CPOL
Dear Indrish,Please try following ://Create or Open File using File Stream with ReadWrite Mode and Access.FileStream fs = new FileStream(Excelpath, FileMode.OpenOrCreate, FileAccess.ReadWrite, FileShare.ReadWrite);fs.Close();fs.Dispose();//Use String Writer to Write Html...
Answer 17 Aug 2011   license: CPOL
Suppose you use test.RemoveAt(0) it will just remove from the Arraylist.If you want to close that form then use following code:((Form)test[0]).Dispose();if you want to show that form then use Show() instead of Dispose.Try this, Hope it will work for you.Regards!Aman
C#
CSharp Windows Forms by Aman4.net
Answer 17 Aug 2011   license: CPOL
Dear DIVYA.K.PANI,First of all, Window application/Winforms are not the part of asp.net. These are developed by using .Net Framework (Not asp.net). To Maintain the value of any variable through out application or one to another form. We can create class of properties and get-set value ...
C#
Answer 17 Aug 2011   license: CPOL
You can also refer to the following link:How to merge cells with equal values in a GridView[^]Regards!Aman
Question 11 Aug 2011   license: CPOL
Hi All,I am going to create a method which will require any custom class reference (not object)to Execute.class A{}class B{}class C{ pubilc void RunTimeMethod(Parameter) // Here I want to accept Class A or Class B as parameter at runtime {// Method is working fine...
C#
Answer 11 Aug 2011   license: CPOL
Here is an answer with above exampleclass A{}class B{} class C{ pubilc void RunTimeMethod() where T: class { }}class D:C{B objB = new B();if(objB==null){RunTimeMethod(); }else{RunTimeMethod(); }}
C#
Question 11 Aug 2011   license: CPOL
Hi All,I am using dataset to read xml file. The xml file is being generated by different technologies (like VFP, PHP, .Net) and has different schema.I have tried the following ways to read xml but not good enough to read all kind of xml file :DataSet dSet = new...
Question 13 Jul 2011   license: CPOL
Hi All,I am using Fileupload Control in HTMLTable of Content Page. Neither Content Page nor Master page contain Updatepanel. However, Master page has ScriptManager.It always return FileUpload.HasFile false and PostedFile is null. Even a file was selected, before clicking on Button to...
Question 29 Jun 2011   license: CPOL
Hi All,My web application gets down. If I add following to my web.config:
Question 8 Jun 2011   license: CPOL
Hi All,I am trying to expire previous page if the back button of browser is clicked. I have tried the following steps:Step #1 Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.Cache.SetExpires(DateTime.UtcNow.AddHours(-1)); ...
Question 27 May 2011   license: CPOL
Hi All,I am working on web application and using DataList Control to show data.I have placed a checkbox (along with disabled Radio buttons) in ItemTemplate of Data List. I want that when I click on checkbox those Radio Button become enable.How its possible?Regards!Aman
Question 29 Apr 2011   license: CPOL
Hi All,I have made a function in Code window of Report(.RDLC) by selecting its property.Neither I can see it intellisense (e.g. =Code.FunctionName) Nor It is working If I just call it. How Should I call that function in Report?Regards!Aman
Question 24 Apr 2011   license: CPOL
Hi All,I was trying to build a custom button control. I want to change it's Visible Property. I declared the public bool variable and Implemented that with get-set. Which is showing in Property Box of UserControl placed on Form.But It is not showing any effect while I change...
Question 22 Apr 2011   license: CPOL
Hi All,I am using rdlc in my window application. I am using 2 Table Adapter with parameter as datasource and custom paging 8 X 5.5 in rdlc. I want to print rdlc report without viewing it. I have gone through the following...
Answer 22 Apr 2011   license: CPOL
Hi All,I just tried the following concept to print without viewing report. DialogResult ans = MessageBox.Show("Want Print Preview?", "App Message", MessageBoxButtons.YesNo, MessageBoxIcon.Question);if (ans == DialogResult.No){Int32 OrderID =...
Question 21 Apr 2011   license: CPOL
Hi All,I am using RDLC with custom page setting (size=> W=5.75in & H=8.5in) with Margin=0.25 (All).It print/view/export prefect copy except one problem i.e. it print four copies instead of one copy.* When i check page setup it shows pagesize as Letter.Regards!Aman
Question 21 Apr 2011   license: CPOL
Hi All, I am developing the window application using C#. I am using the reportviewer to display rdlc. I just require following things:1). Print rdlc without viewing it. Client will click on print button and print should go System default printer. 2). if System default printer is not...
Answer 15 Apr 2011   license: CPOL
Dear Mohan, you can cast or convert one column to anther's datatype while you are concatenating the columns. E.g.--Here CustomerId is Int and CustomerAdd is VarcharSelect Cast(CustomerId As Varchar(10)) + CustomerAdd from tblCustomerRegards!Aman
Answer 8 Apr 2011   license: CPOL
Dear saeeddoe,While, you edit record in DataGridview it updates DataTable (without any effort). You just have to call Update methode of adapter by passing DataTable where you want to udpate it. But make sure you are using single SqlTable.public partial class MainForm :...
Question 8 Apr 2011   license: CPOL
Hi All,I am trying to encrypt appsettings of app.config file by using following code:String path = AppDomain.CurrentDomain.BaseDirectory + "..\\..\\App.Config";Configuration config = ConfigurationManager.OpenExeConfiguration(path);ConfigurationSection appSettings =...
C#
Question 4 Apr 2011   license: CPOL
Hi All,I have two queries related Winforms controls, which are following explained:1). I want to add DateTimePicker in DataGridViewColoumn (I have already read the article http://msdn.microsoft.com/en-us/library/7tas5c80.aspx[^] please tell another one.). 2). I have placed the Month...
Question 30 Mar 2011   license: CPOL
Hi, I have used a Generic DataSet (to bind two DataGridViews) containing following two tables:1. Teams2. Team MembersI have combobox (Binded with Team) in DataGridview (Team Member) Cell. When I change the combobox selection My both DataGridView get reset.However, I want to...
Question 21 Mar 2011   license: CPOL
Hi All,I am using Microsoft Reports for reporting. I feel its working very slow. However, Neither Data is in huge amount nor I am using join with multi tables.It takes 2.70 secs to normal view and 9 secs for print preview.if I print the report It shows Not Responding message for...
Question 14 Mar 2011   license: CPOL
Hi All,I am using a DataTable in my application with Linq for insertion, updation and Deletion. I have used the nos. and name of column same as in Database.I want to convert this DataTable into Generic List and then Insert all record in Database with InsertAllonSubmit. So Please let...
Answer 9 Mar 2011   license: CPOL
Dear Dilip,Please use the following javascript // Regards!Aman
Question 8 Mar 2011   license: CPOL
Hi All,I am developing web application in asp.net by using LINQ. I am looking for solution to insert records in multiple tables with single query. E.g. I have three tables which has relations with each other. TableAColAA (Primary Key)ColABColAC Foreign Key with...
Question 24 Feb 2011   license: CPOL
Hi All,I am using the report(rdlc) in VS 2008. Here I inserted a table and made a group in that.I have a field named Amount, which has been shown in two different column based on condition.Now, I want Group total of column1 and column2.Please let me know the way to...
Question 22 Feb 2011   license: CPOL
I am working on (.rldc) reports. I have to create a report (Which is called party ledger in accountancy) by using three following tables:1). TblCompany2).TblInvoice (Which will be included for debit invoices)3). TblReceipt(Which will be included for credit amount) Now User will...
Answer 17 Feb 2011   license: CPOL
Hi Guys,Thanx for your supports. I have used the following way to update database with datagridview:SqlDataAdapter adp = new SqlDataAdapter();adp.UpdateCommand = con.CreateCommand();adp.UpdateCommand.CommandText = "SQlQuery";adp.UpdateCommand.CommandType =...
Question 17 Feb 2011   license: CPOL
Hi All,I have to write a stored proc in which I need to update some table based on another table's result. Let us take an example with Receipt No. 26.We have following requirements:1). Update single column in tbla where Receipt No. 26.2). Select multiple rows's...
Question 16 Feb 2011   license: CPOL
Hi All,I have populated datagridview control from three tables (with specific columns) of T-SQL. User will make changes in Datagridview and I have to update that columns.I am trying the following code:ds.Tables[0].AcceptChanges();adp.Update(changes);But it is not...
Question 15 Feb 2011   license: CPOL
Hi All,I am placing a user control at run time (n nos. of time, which depends on user input) and can read their name and values by following code:IDictionary TextValues = new Dictionary (); foreach (Control c in this.Controls) { ...
Question 8 Feb 2011   license: CPOL
Hi All,My window application was working well (with good performance) until I have entered 13Lac cities in my city table of Database. Suddenly, The data transfer speed became very slow. Any tip/trick to increase SQL Server 2008's performance.Regards!Aman
Question 7 Feb 2011   license: CPOL
Hi All,I am working on window applicaiton.In which, User will Select/Browse files for further operation (like fileupload control is used in webforms). So Which control should I use in window application?Regards!Aman
C#
Question 4 Feb 2011   license: CPOL
Hi All,I am using Sql Server as database in my application. In which i am using coulmn name - ID (primary key and also IsIdentity=Yes) in table.So I need to show the ID in form before saving it.How is it possible?Regards!Aman
Question 30 Jan 2011   license: CPOL
Hi All,It is my first project of window application(C#). I have to install application at client site for testing purpose. In testing I will install application on every system on LAN. However, database (SQL Server 2005) will be placed on any one system. How should I do it and any...
C#

Page 1 of 2
1 2


Advertise | Privacy | Mobile
Web01 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid