| Subject | Date Asked | Expert |
|
| .net | 4/1/2008 | Srini Nagarajan |
Q: in my report 3 tables condition is there.but dataset separate condition is there.how to print ... A: you should get some unique id, pass the ID to SQL to filter and pass that to dataset. to explain ...
|
| Problem related to Text file using c#.net | 3/28/2008 | Srini Nagarajan |
Q: How to give printing of a text file at run time using C#.NET Window application? A: You can call a CMD script to print a external file you can use "Print" command starting it via ...
|
| Change Datagrid cell color based on cell value | 3/26/2008 | Srini Nagarajan |
Q: I've a EndDate field and the cell need to be highlighted RED for all EndDate that are less than or ... A: Here is the simple sample //Loop through all rows. for (int x = 0; x < yourGridName.Rows.Count; ...
|
| creating a text file which should contain data in a tabular format | 3/20/2008 | Dragan Jovanoski |
Q: how do i create a text file with data from the database Table. i am having a data from the Table in ... A: You should consider using the FileStream methods as one possibility. Here is one good reference that ...
|
| Kindly let me know the logic please | 3/13/2008 | Nick |
Q: I have a small problem. I am supposed to calculate distance between two given times. However, I have ... A: If I am correct, you have phrased this question in a much more complicated manner than is required. ...
|
| Sample Project | 3/4/2008 | Srini Nagarajan |
Q: . I have got the training of using the basics of Visual Studio 2005 .. Can i get any smapll project ... A: Once you add to cart store what products added into the session variable based on the session ...
|
| regarding project | 2/28/2008 | Dragan Jovanoski |
Q: actually i have to make a project n d purpose of this is to help a person to reach from one palce to ... A: 2 wat fild r u new??? if ur new 2 programmin then you shud start from scratch. For d purpos of ur ...
|
| prob regarding get there project | 2/28/2008 | Srini Nagarajan |
Q: actually i have to make a project n d purpose of this is to help a person to reach from one palce to ... A: Do you want to build a map or just give only text direction between buildings? if only text ...
|
| Sample Project | 2/26/2008 | Srini Nagarajan |
Q: . I have got the training of using the basics of Visual Studio 2005 .. Can i get any smapll project ... A: To build image funcationality, you can upload the image into images folder, store the image name in ...
|
| Using C++ class in C# program | 2/24/2008 | Nick |
Q: I need to write a program that connects to a third party’s server. I got from the third party a C++ ... A: I feel your pain on this one. Usually, I just opt for libraries which are managed. Although I've ...
|
| generating random number between 0.0 and 0.01 | 2/22/2008 | Dragan Jovanoski |
Q: I would like to know the procedure for generating a random number between 0.0 and 0.01 in c#. This ... A: In .net framework there is one class for generating random numbers. You can define new random ...
|
| XLS to sql server | 2/8/2008 | Nick |
Q: Kindly help me in the below I have converted reading xls to sqlserver(through some forum) ... A: I still don't completely understand your question. However, I created some code that illustrates, in ...
|
| C#.Net | 2/6/2008 | Srini Nagarajan |
Q: i want to create a microsoft word window by using C#.net tool box. like menu bar tool bar etc. then ... A: Sorry for delay in reply You need to download "visual studio tools for office" You can get it free ...
|
| reading a text file | 2/5/2008 | Srini Nagarajan |
Q: Please help me to complete the below script so that i can read a text file called new from my C ... A: Check whether you have given permission, Here is the working script 1st step it checks for file ...
|
| c# | 2/2/2008 | Nick |
Q: My friends told me that it is fun learning c#.. I too thought of having a try.. I have installed ... A: Don't quote me on this, but I think what you are looking for and what I gave you are both Visual C#. ...
|
| c# | 1/31/2008 | Nick |
Q: My friends told me that it is fun learning c#.. I too thought of having a try.. I have installed ... A: In order to answer your question, I just did what you requested and wrote down notes every step of ...
|
| how to calculate distance | 1/30/2008 | Nick |
Q: My client will input two values say A and B. Here A and B represent cities. The source is A and the ... A: That depends. If you are trying to find the shortest distance between two cities, you need only the ...
|
| C# book | 1/14/2008 | Nick |
Q: i am a electronics engineer, now ihav started learning C++,C# and .Net Can u please help me by ... A: I'm sorry, but I do not have the time to give you a personalized tutorial. However, there are ...
|
| Random telephone number generator using C# | 12/19/2007 | Dragan Jovanoski |
Q: How can i generate a random telephone number in the order or format XXX-XXX-XXXX using C#. Also the ... A: You can generate random numbers using the random class: Random rndClass = new Random(); Then you ...
|
| Process outputs | 11/1/2007 | Srini Nagarajan |
Q: I want to create a process that retrieves the output from external application. I declared ... A: it's not possible to get the string when the application exists.. it will run in a different thread ...
|
| Work with various data extension of files | 9/26/2007 | Srini Nagarajan |
Q: How can I work with lots of extensions of files? For example what should I do if I want to write a ... A: Here is my answer 1. Most of the SDKs are free goto the source for example Microsoft Windows Media ...
|
| Work with various data extension of files | 9/21/2007 | Srini Nagarajan |
Q: How can I work with lots of extensions of files? For example what should I do if I want to write a ... A: If you want to read/write any file type you need to buy 3rd party software.. for example for ...
|
| Work with various data extension of files | 9/17/2007 | Srini Nagarajan |
Q: How can I work with lots of extensions of files? For example what should I do if I want to write a ... A: Do you want to write a windows application? if so all these information stored in Registry, you ...
|
| My Project | 9/16/2007 | Srini Nagarajan |
Q: I was doing a project on C#.net using Microsoft Visual Studio 2005 that tracks total bytes sent and ... A: 1. May be this sample would tell you how to get the data.. ...
|
| .Net windows form application error | 7/10/2007 | Srini Nagarajan |
Q: I have a .net 2003 application that utilizes crystal reports verion 10. On the development box I ... A: I am not that familiar with crystal report. But creating file with space is not advisable. Most of ...
|
| c language compiler | 1/10/2007 | Srini Nagarajan |
Q: my question is.. how c compiler written in c language?? thank you ... A: You believe that you are facing egg & chicken story. It's true that the very first C compiler ever ...
|
| Gridview in a Gridview | 8/9/2006 | Lucky |
Q: Could you please provide me a small example of how to do this? I can pick it up from there. Thank ... A: Below is data grid exanple, Check out the template called AG No. and the the subsquent href ...
|
| Gridview in a Gridview | 8/8/2006 | Lucky |
Q: I am working out of asp.net 2.0 c#. I successfully created a child gridview (gridview2) in its ... A: You need to use Javascript to pass the variable to the next form, suppose that the form you are open ...
|
| Doubt regarding ASP.NET and .NET Framework | 12/26/2005 | Srini Nagarajan |
Q: I was checking to know what is the .NET framework exactly. I understand that ASP.NET is just built ... A: .NET is a Framework... You can build either Windows or Web or WebServices or Mobile applications ...
|
| Diff Between Cast and Convert | 11/24/2005 | Srini Nagarajan |
Q: int i1 = 5; double d1 = i1 + 0.99; int i2 = (int)d1; //result is 5 i2 = Convert.ToInt32(d1);//result ... A: The Convert.ToInt32(String, IFormatProvider) underneath calls the Int32.Parse. So the only ...
|
| Random numbers in C#.NET | 11/23/2005 | Srini Nagarajan |
Q: Hy, How can I generate random numbers (int) in C#.NET? Thank you! A: here is my simple method generate random password for you can remove alphabet from this int num = ...
|
| work with files in C#.net | 10/28/2005 | Srini Nagarajan |
Q: How can I work with text files in C# .net? For example I want to open a text file, read something ... A: I am sorry not replying imdtly!! Here is simple example to open and write files Listing 1: ...
|
| examining multiple conditions using a single button | 10/27/2005 | Srini Nagarajan |
Q: I am writing a very simplistic spelling test program for my son in Visual C# 2005 Express Edition ... A: Sorry for the delay in my reply!! I suggest you can store the right answers into array, once the ...
|
| Developer's Productivity | 10/25/2005 | Srini Nagarajan |
Q: I am a dotnet developer, I was working in a good company but the only problem there was the ... A: I am sorry not replying imdtly!! It's depends on what type of development you do.. Normally I won't ...
|
| Button ToolTips | 10/23/2005 | Srini Nagarajan |
Q: I am working on a c# windows application project and I have 2 questions: 1)I have some buttons on my ... A: 1. use like this private void Form1_Load(object sender, System.EventArgs e) { // Create the ...
|
| C Data Structure in C# | 10/19/2005 | Srini Nagarajan |
Q: I have a DLL that is written in C. I have to use it from within C# code. Some of the available DLL ... A: I haven't really worked with Unsafe/Unmanaged code interact with C# May be this article will help ...
|
| Browser Settings | 10/3/2005 | Srini Nagarajan |
Q: I am working in C#.NET project.We are using visual studio 2003 version with .NEt framework 1.1 ... A: Thru .NET you can't change the client's browser settings.. If the client disabled javascript you ...
|
| Always On Top | 9/22/2005 | Srini Nagarajan |
Q: I have a form in my application (other than the main form). I want this form to be AlwaysOnTop; i.e. ... A: Here is the sample code frmMdiChild child1=new frmMdiChild(); child1.MdiParent=this; ...
|
| Making Reports in C# | 8/22/2005 | Srini Nagarajan |
Q: I am a beginner at C# programming. I have a small project with a dataset connected to a sql server ... A: Sorry for the delay rpt1 custReport = new rpt1(); You can't use the rpt1 directly.. try like ...
|
| C language | 7/31/2005 | Srini Nagarajan |
Q: I want to ask u this question... CAn i draw 2 squares ( including the lines ) but the upper-left ... A: Do you need in C#? I know only C#. Try this using System; namespace Polymorph { public ...
|