Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
~28.0K People Reached
Favorite Tags

36 Posted Topics

Member Avatar for S2009

Hi All, I am creating a Windows Application. I am maintaining LibraryBooks details. When I click on the Details all the books available(as stored in SQL SERVER Database) is been displayed in the DataGridView. But the datagridview also contains a empty row at the end which it generates automatically. But …

Member Avatar for ddanbe
0
293
Member Avatar for S2009

Hi, I want to keep track of the number of visitors to my site. I tried the following code in the Global.asax class, [code] public static int count = 0; void Application_Start(object sender, EventArgs e) { Application["myCount"] = count; } void Session_Start(object sender, EventArgs e) { count = Convert.ToInt32(Application["myCount"]); Application["myCount"] …

Member Avatar for mohan221
0
2K
Member Avatar for S2009

Hi all, How can I change the BACKGROUND color of the MDI FORM in C#? I changed it using the background color property but the color is not changed. What should I do to perform this task? Please help me out!! Thanks in advance!!

Member Avatar for six_sic6
0
326
Member Avatar for S2009

Hi I have installed Microsoft SQL SERVER 2005. This consists of the Configuration tools(SQL server configuration manager,SQL Error and usage Reporting, Sql Sever Surface area configuration, Reporting Services configuration) and SQL Server Management Studio. However I dont find SQL Server Business Intelligence Development Studio. Can anybody tell me how to …

Member Avatar for Ramy Mahrous
0
289
Member Avatar for S2009

Hi I am creating a windows application. I have a button as backup. When the user clicks this button,he/she should be able to take backup of the database. I am a beginner. I dont have any idea about how to do this task. Can anybody tell me how to do …

Member Avatar for Ivan_86
0
12K
Member Avatar for S2009

Hi all, I am creating an application for Library Management Systems. I want to disable the close button initially and enable it once the user clicks on the menu item logoff. Is there any way I could accomplish this functionality in my application? I tried using the following code in …

Member Avatar for Geekitygeek
0
197
Member Avatar for S2009

Hi, I have created a Report using Crystal Report(Visual Studio 2005 and .NET Framework 2.0). In the Report Header section I have added a TextBox control to display header for the report. But when I execute the application the Text in the Report Header section is not displayed. What should …

Member Avatar for DdoubleD
0
62
Member Avatar for S2009

Hi all, I want to create the report in my application using the reportViewer control. I have added the ReportViewer control to WindowsForm from the toolbox. From the smart tag I, I selected the option Design a New Report. When I click on the design a new report, I am …

Member Avatar for kvprajapati
0
92
Member Avatar for S2009

Hi all, I have created a project using Visual Studio 2008 and .NET Framework 2.0. Now I want to open it in Visual Studio 2005 (.NET Framework 2.0). When I try to open the solution in Visual Studio 2005 it is showing an error as "It is created using the …

Member Avatar for ddanbe
0
126
Member Avatar for S2009

Hi I have created a project using C# and SQL SERVER 2005. I want to deploy the project so that I can create .msi file. Can anyone help me with the steps I should follow to create the setup file? Also in which editor I should add then database and …

Member Avatar for mac1546
0
463
Member Avatar for S2009

Hi all, I have a login form and ChangePassword form. I want to retrieve the value of username entered in the Login form at the time of logging. I have created a property named as RetUserName as follows: [code] public partial class frmLogin : Form { private string UseNam; public …

Member Avatar for DdoubleD
0
221
Member Avatar for S2009

Hi all I am very new to ASP.NET and I am still learning the basics and how to use various controls. I have used the adRotator control and also created the XML File using the coding mentioned below, but when executed in the browser it is showing error message(Which I …

Member Avatar for S2009
0
179
Member Avatar for S2009

Hi all, I am beginner learning ASP.NET with C# as the programming language. Currently I am working with HTTPSERVERUTILITY. I have created a web form named as Default.aspx and Default2.aspx: I have written the following coding : Default.aspx: In source view [code] <body> <form id="form1" runat="server"> <div> <asp:Button ID="Button1" runat="server" …

Member Avatar for ebookfinder
0
509
Member Avatar for Dajer

Hi To create HELP FILe for your project you can use HTML HELP WORKSHOP and include this file to your project by means of HELP NAVIGATOR control in Visual Studio.Net. Hope my post is helpful to you!

Member Avatar for darab
0
145
Member Avatar for arunkumars

I think in the connection string if you give like this it will work: DataSource = . Since .(DOT) refers to the current system.

Member Avatar for arunkumars
0
424
Member Avatar for arunkumars

You should use the Timer control. Change the properties of the timer as follows Property Value Interval 1000 Enabled True And then handle the Timer.OnTick event. Mention the code in this event this will help you in updating the time to current system time. Hope my post has helped you!

Member Avatar for S2009
0
134
Member Avatar for S2009

I want to display a message box when any person clicks on the menu item which is not enabled I have tried the following coding but it is not displaying the message box. Coding: [code] private void updateFineDetailsToolStripMenuItem_Click(object sender, EventArgs e) { if (updateFineDetailsToolStripMenuItem.Enabled == true) { frmUpdateFineDetails objUpdateFineDetails = …

Member Avatar for kamisori
0
120
Member Avatar for S2009

Hi all, I am developing a windows application. I have 3 forms: I want to change the backcolor of all the 3 forms to the color selected by the user. I have used the following code I am able to change the backcolor but When I exit the application and …

Member Avatar for S2009
0
152
Member Avatar for chathuD

Try the following code in the textbox_Keypress Event! if(((e.KeyChar < '0' || e.KeyChar >'9'))&&(e.KeyChar!='\b')) { MessageBox.Show("Please Enter Numbers only"); e.Handled = true; } else { e.Handled=false; } The above coding will enable the user to enter values from 0 -9 and will allow the user to erase the characters back(BackSpace). …

Member Avatar for Ramy Mahrous
0
151
Member Avatar for S2009

Hi all I am creating a windows application. I am now concentrating on the Reporting Module of my Application. I have two ideas to do this task. Either through Crystal Reports or using the Windows Forms and placing the Data Grid View. Can any one suggest me which option should …

Member Avatar for S2009
0
108
Member Avatar for S2009

Hi all, I am developing a windows application. I have 3 forms: I want to change the backcolor of all the 3 forms to the color selected by the user. I have written the following code to do this. But the backcolor is not changed. [code] In Form1 ColorDialog c1 …

Member Avatar for sknake
0
106
Member Avatar for S2009

Hi I want to store value from a row into a variable. I have used the following coding but it is not working properly. It is generating the following error: [B]Index was outside the bounds of the array.System.Data[/B] Please note that the table contains only one row. [code] objSqlConnection.ConnectionString = …

Member Avatar for adamdk
0
892
Member Avatar for S2009

Hi I am developing an application (using C# and SQL SERVER 2005) for calculating fine in an library. The fine calculated should not included Sundays. I have used the following code to calculate the fine. But the code includes all the sundays and hence Fine is charged for all the …

Member Avatar for ddanbe
0
115
Member Avatar for S2009

Hi I am developing a windows application. For your infomation FRONT END : C# (VISUAL STUDIO 2008) BACKEND : SQL SERVER 2008 In a single form I have an option for add and remove books. Two different buttons are used(Add and Remove Books). When I click on Add button the …

Member Avatar for lighthead
0
5K
Member Avatar for S2009

Hi all, I am creating a Library Management System. I have used the timestamp to calculate the Date Difference and with the help of date difference I am calculating the Fine also. Now this date difference includes all days in a week. But for a library application fine should be …

Member Avatar for serkan sendur
0
305
Member Avatar for S2009

I am trying to create Update trigger which should be invoked only if the ReturnedOn column is clicked. I have used the following code-snippet but it generates the error: CODING: [code] create TRIGGER trg_ForUpdateOnBookIssuedDetails on BOOKISSUEDDETAILS For update as begin declare @Rows1 int,@Rows2 int if(update(ReturnedOn) begin IF EXISTS(SELECT 1 FROM …

Member Avatar for kvprajapati
0
130
Member Avatar for S2009

Hi all, I am creating a windows application. I have a column in the backend - MS sql server 2005 as ID which stores Patient Id. The values for this column should start with PT and contain the serial numbers in ascending order. Eg. PT001 PT002 PT003 I want to …

Member Avatar for kvprajapati
0
140
Member Avatar for S2009

Hi all, I am creating an Windows application. I have 2 forms. In First form I have two buttons. The Second Buttons Enabled property is set to False. If the First button is clicked then Form 2 should be shown which I have done with the Coding. In the second …

Member Avatar for Poab9200
0
432
Member Avatar for S2009

Hi all, I am creating an Windows Application. I have two buttons. I have written the following code snippet. [code] frmRb obj = new frmrb(); private void btnPd_Click(object sender, EventArgs e) { btnCancel.Enabled = true; obj.btnRtn.Enabled = true; } private void btnCancel_Click(object sender, EventArgs e) { this.Close(); obj.BringToFront(); obj.Focus(); } …

Member Avatar for kvprajapati
-1
297
Member Avatar for S2009

Hi All, I have created two forms in my Windows Application. One Form acts as a Form and the other form acts as a MODAL DIALOG BOX. The Form Dialog Box contains a button and One textBox. When this button is clicked the MODAL DIALOGBOX should be displayed. This dialog …

Member Avatar for S2009
0
139
Member Avatar for scholar

[QUOTE=scholar;907216]Hi Friends, I am getting the following error with my code "Object reference not set to instance of the object" . My code goes as follows: [CODE] ... ... string[] isem= new string[125]; decimal[] perc = new decimal[125]; student s1=new student(); ... ... public void func() { isem = new …

Member Avatar for S2009
0
261
Member Avatar for S2009

Hi all, I have created the Trigger for UPDATING to be invoked when Returnedon column is updated using the following code snnipet. [Code] CREATE TRIGGER trg_ForUpdateOnBookIssuedDetails on BOOKISSUEDDETAILS For update as begin declare @Rows1 int,@Rows2 int if(update(ReturnedOn)) begin begin tran update nur set nur.NumberOfBooksIssued = nur.NumberOfBooksIssued -1 from NewUserRegister nur …

Member Avatar for NextCom
0
212
Member Avatar for S2009

Hi all, I am creating a trigger which should be triggered on insert to BOOKISSUEDETAILS table. I want to alter the table LIBRARYBOOKDETAILS table only if the Inventory column value is greater than 1. Initially I have created the trigger in the following way. But now I want to alter …

Member Avatar for S2009
0
1K
Member Avatar for S2009

Hi All I am developing a Windows Application for Library Management System. In my DataBase I have a column named IssueStatus the datatype of this column is bit and by default it adds the value as 0. When I bind the DataGridView Control to this table. The Column named IssueStatus …

Member Avatar for S2009
0
110
Member Avatar for S2009

Hi All, I am creating an application where in I want to display the rows in DataGridView based on the values entered by the user in the textbox. For Eg. If the User enters the BookName in the textbox all the details regarding that book should be displayed in a …

Member Avatar for kvprajapati
0
627
Member Avatar for S2009

Hi all, I am trying to create an application which involves the User to change the password. I am using Microsoft Visual Studio for developing the Graphical User Interface and Microsoft SQL server as the back-end. I have created a separate form which allows the user to change the password. …

Member Avatar for sknake
0
87

The End.