4,588 Topics
| |
I have currently two forms in mine website..I m also posting their codes-- FrmRegistration.aspx [code] public partial class FrmRegistration : System.Web.UI.Page { SqlConnection conn = new SqlConnection("Data Source=SONIA-B408A4159\\SQLEXPRESS;Initial catalog=sonia;Integrated Security=true"); string query; SqlCommand cmd; protected void Page_Load(object sender, EventArgs e) { btnSubmit.Attributes.Add("onclick", "Javascript: return Validations() "); } protected void btnSubmit_Click(object … | |
I have a message Box with two options, Retry or Cancel. Upon clicking cancel, I want to close the MessageBox and then load the main Form. Any idea how to do that? This function is already within a button_click function and I want to get out of this function and … | |
i want to have view query in C# kindly let me know it | |
I am using Named Pipes to transfer data from a client (C++) to a server (C#), the client does the following: [Code] struct MESSAGE { char cCommand[8]; string sParameter; }; MESSAGE msg; strcpy(msg.cCommand, "COMMAND"); strcpy(msg.sParameter, "DO SOMETHING"); DWORD dwWrote = 0; WriteFile (hpipe, &msg, sizeof(msg), dwWrote, NULL); [/Code] Then, at … | |
Hi, I knw there is a way to convert from 1 managed code to other, but i just want to know how cani use it, i have a code in vc++ 6.0 and i need it in c#.net form vs 2008. wat r the ways i can do it.. Thanks... | |
Hello, this is my 1st post here,:) I have a problem With C#.net 2008, I can't find the way to send variables from form to form, Could you post here all the ways to do so? + But my problem really is this.:icon_eek: I have 2 Forms, 1-[B]Form1[/B], 2-[B]SP[/B]([I]name of … | |
hi friends, in visual C# 2008 express edition IDE, when I tried to add more than one C# source files in the same project then I got following errors: [CODE] Error 1 Program 'C:\Documents and Settings\Santosh Tripathi\My Documents\Visual Studio 2008\Projects\ConsoleApplication1\ConsoleApplication1\obj\Debug\ConsoleApplication1.exe' has more than one entry point defined: 'ConsoleApplication1.Class2.Main()'. Compile with … | |
Hi all, I was wondering why the following code compiles, with or without extra komma? My feeling is it should not be there, but apparently it does not matter. Any comments would be more then welcome. [CODE=c#]namespace ConsoleApplication1 { class Program { public enum months { jan = 1, feb … | |
Hi All, I'm trying to implement the NORMSDIST function of MS excel in the C#. I found its implementation from the following link. [url]http://office.microsoft.com/en-us/excel/HP052091941033.aspx[/url] and I've written the following code for this i.e. [code] static double NORMSDIST(double z_score) { double z_ = - ( (z_score * z_score) / 2 ); … | |
Hi everyone, I have a task to create a window application using c#, visual studio 2005, in which a form is running in client side which has to get message from the server. The constraint is , the form has a swf file which will run on the background but … | |
hi all. i need to block certain websites.. for that i must get the site name which the user is typing and to block those sites... any help??? thnks n advance.. kiran | |
Hello everyone. I have a question regarding those mp4 video files.. Is there any library easy to use to convert mp4 files to mp3 files? I have lots of mp4 videos which I want to be able to programmatically convert to mp3 files. I tried searching google for a very … | |
I have a created a C# windows service (Serv.exe) which is responsible for performing various tasks at the request of a running application (A.exe), some of these can take long periods of time and I need a way to know the status of my requested operation (running on the service) … | |
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 | |
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 | |
I need to create a SMS final examination retrieval using C#. Can anyone help me with this? | |
Good day to everyone. I am a student who is a new to .Net. I am about to have a project which would probably involve flash and c#. I just want to learn the basic passing of variable from flash to c#. This project would involve a test or assessment … | |
[B]Hi all, I'm newB in C# and kind of lost now since couldn't find the right/suitable references. Please correct me if I'm wrong...[/B] My application will store values into database once user run it. In the Form Application, it runs well(no doubt). Now with the same approach, i want it … | |
I am trying to populate a label using a T-Sql query to a SQL Server table upon a click event. I have the click event and linking to the SQL Server table working just fine. The process (below) returns "System.Windows.Forms.BindingSource" rather than any value from the table. My code is … | |
Hi evry bdy dre........ i need help.. im working in C# with SQL..... i have window form .... in ma application i have to login ...... i want that when i fisrt enter my id and pasword then after my login .... my id and corrected pasword is saved ..... … | |
IN y application, i have a date shown in textbox control which is extract from database(previously saved in MM/dd/yyyy format).Now i have to compare that date with another date that user inputs from datetimepicker control(custom format MM/dd/yyyy).Now i have to compare this two date and throw some message accordingly after … | |
I am facing a problem. I have an enum which further goes as some string values. Now I have a check or validation for that particular enum type as if it is null, then display some error message. But when I give nothing for the particular parameter, it takes the … | |
Hi, Look I'm new to C# and I have a working knowledge of VB .Net. I would like to learn C# but I'm having a problem. It's probably a basic problem but, for a console program how to I check what someone has typed in so that the console can … | |
Hi Everyone, i m creating new mailaccount on mailserver. i will send username and password from my webservice as a parameter these request will go to the server than ceate new account on mailserver. for Example domain name - dser.com username - [email]abc@dser.com[/email] password - pass mail server ceate new … | |
Currently I have 2 applications that reside on the same system (local applications) that need to communicate. One is a C++ program that already uses mailslots to communicate with other system (remote) and the other is a new C# service I have just written. Given that the C++ application is … | |
Ok, so i've made a bootloader in assembly but I think its very hard to write the operating system (the kernel) in assembly so I wonder if it is possible to write it in C#? The question is: Can you write a C# console application and convert it to .bin … | |
I am extracting information from SQL and writing reports. This [I]should[/I] (I hate that word) be easy... but : All is fine as long as the formatted text fits on one page. However, if the report becomes more involved (more data in SQL) more than one page is required. I'm … | |
Hi, I have been using asp.net for a short period of time now and really enjoy the functionality offered by visual studio. However I see there is no automated way of generating a search of a datagrid. What i want to do is simple take the string from a textbot … | |
How would I do this and once when I connect how do I add stuff to it using ADO.NET? Thanks. :) | |
Every1 talk about web browser in Java or C++ etc. etc. But for the first tm I took up the challenge in .NET environment as my college final yr project...(Although forecasting as Simple & Best for my level..not extra junk... but yet essentially should be very viable) Not By using … |
The End.