58 Posted Topics
hi, how can i add data to a datagridcombo box column from a mdf file, i want to take the first name of all employees and display in the datagrid view combo box column: is the code below correct , please can u tell me what should i do to … | |
Hi , I am using C# to do my projects and I have connected to a MS SQL database file and I am using MS visual studio 2008 standard edition. I need to get all the users first name and the last name and display in a combo box when … | |
hi , i have a textbox control in one sheet and a range of data in another sheet in the same file. how do i copy the range of data in paste it in the textbox control? appreciate a reply thanks | |
Re: i had the same problem i had to ad the junit.jar as a global variable | |
hi, i am new to java and i am using eclipse for java coding when i run a build.xml file it says build fail and says "Compile failed; see the compiler error output for details." and points to the code below. does anyone know the reason for this, [CODE] <javac … | |
hi, I am using SQL client as the database and VS 2008 standard to bild my project. i need to browse for a file and upload it to the SQL database. how can I do this ?? I have the code to browse for the file and insert to the … | |
hi how to i create a a local HashSet<video> and an InventorySet | |
Re: [QUOTE=peter_budo;1737126][URL="http://lmgtfy.com/?q=junit+tutorial"]JUnit tutorials[/URL][/QUOTE] thanks everyone for the comments | |
hi, [CODE] public Record get(VideoObj v) { // TODO if((v ==null) || (v=="")) return null; else return ??; } [/CODE] Recor and VideoObj are classes. if the methos return type is Record, can someone tell me what should I return? thanks | |
Re: [QUOTE=Momerath;1402085]Move the connection string out of your code into [URL="http://msdn.microsoft.com/en-us/library/aa730869%28VS.80%29.aspx"]Application settings[/URL][/QUOTE] hey i am JusithSampathwa in a different login the connection string is already added to the setting | |
hi there, how can i validate a data grid view column to enter only the date in the data grid view column. i am doing this in a 2008 VS C# standard edition software. how can i do this. thankx | |
hi, i have a two datetime picker in a C# form, when i select a earlier date (before today date) there is a caparison i have addded to the validateing event in the date timepicker.below is the code. Question 1: for some reason say that i add 10th may, the … | |
hi there, i have a question in connection my application to ms sql 2008. i wrote a desktop application in visual studio 2008 in the C# language. and i have installed the MS SQl 2008 DBMS software. and when i try to connect to the MS SQL in Mixed mode … | |
Re: hey , in line 43: if( (j == (countCol - 1))&&(k == l)) what is l it is not defined?? and also i need to know what is this code for?? i am trying to figure it out but it is a little bit difficult. thankx | |
Re: hey it like this int i = dgvProposalInProgress.SelectedCells[0].RowIndex; topicNo = dgvProposalInProgress.Rows[i].Cells[0].Value.ToString();//this is the unique key in my database wich is taken from the database, topic number is defined glbally new frmViewProposalInProgress().Show(); in the next form u need to open get that global key and select the appropriate data from the … | |
hey there, how can i add data to datagrid view in C# from a mdt file. the columns are created in the interface and how can i add data from the databasse to each cell in the datagrid view.??? help me thaxxxxxxxxxxxx | |
hi there, i have a datagrid view in C# the first column is a combo box which datais loaded when the form loads, what i want to do is when i select a a value in the combo box which is in the first column i want a method to … | |
Re: hey, did u do these steps? Data-> Add new Data Source-> then click next -> click hteNew Connection button -> then a form will come with Add Connection click the Chnage button close to the Data Source Lable -> Select Microsoft ODBC Data source click ok , then u could … | |
hi there, i have a check box in a form. to this form i am loading information from the database(mdf file). and also in the checkbox checkchange event i have a code to do something. when i load the data if the checkbox value in the database is true then … | |
hi there, Question 1: i have a question in invalid operation exception. it says that " there is already an open datareader associate with this command which must be closed first. " the code is shown below [CODE] public void AddToAction() { String query = @"Select * from TopicAction"; SqlCommand … | |
hi, how can i call a method when a combo box values is selected in C#. please help me what is the event in the combo box that i have to use?????? | |
hi, i havea mathod called "getProposalNumbers" which returs a string array. this is filled by the data from the database. what i want is to check whether the array hase no values the mothod code is below. how can i check whether the array has no values? please can someone … | |
hi, i have a datagrid view in VS 2008 standard edition,how can i check if there is no value entered in the cell, how can i write the code.??? please give me and answer someone, thanxxx | |
hi, how can i make the form to disable resize the from at run time in C# hey does anybody know the answer? thanx | |
hey, does anyone know how to handle this exception? please help me [CODE] //Retrieves all the contract numbers from the Contract table public String[] getPhaseNumbers(String TopicNo) { db.openConnection(); String query = @"Select Phase From Topic Where TopicNo = @topicNo"; SqlCommand command = new SqlCommand(query, DB.getConnection()); command.Parameters.Add("@topicNo",SqlDbType.Int).Value = TopicNo; SqlDataAdapter da … | |
hi , i have a multiline text box in one form when i write information on it in the run time, it goes on without showing the scroll bar, how can i add the scroll bar controll to the textbox?? this is in C# Any one know the answer?? please … | |
hi how can i add data to a unbound datagridview in C#. i have columns with a combo box column and a check box column and a calender control column. how can i add data to these columns in a datagrid view in C# please help me thanx appriciate a … | |
hi how can i call a crystal report from a button in a form?? i am using visual studio 2008 professional edition please help me thanx | |
hi, i have a checkboxcolumn in tha datagrid view and a calender control in the datagrid view , what i wasn't is when i click the datagridview checkbox the current date should be displayed in the calender control column if the datagridview checkbox is not selected the calendr control should … | |
does anyone konw why is this code giving an error saying: There is already an open DataReader associated with this Command which must be closed first. the error is coming form the place where i have cold the line the code is below: C# Syntax [CODE] public String[] LoadUSEmp() { … | |
hey, i have a problem in adding data from MS SQL(mdf file) database to datagrid view: the code is below please can someone help me with this. C# Syntax [CODE] db.openConnection(); String query4 = @"Select TActionDes,TAssignedTo,TDueDate,TStatus,TDateComplete,TComment From TopicAction Where TopicNo = @topicNo and Phase = @phase"; SqlCommand command4 = new … | |
Re: in the Login for enter the code below when the lodin is successfil new frmSeconForm().show(); this.Hide();//means the login form then in the second form enter the below code where u need to open the third form: new frmThirdForm().Show(); this.Close();//this means the frmSecondForm hope this helped u? thanxxxxxx | |
hi, how can i valiadte each cell in a datagrid view seperately, i have one column int which is the 7th column and the 3rd and the 5th are calender control and the first two are combo boxes, and a check box column Question 1: how can i select on … | |
hey, i have written method to get the names of the employees from the database. how can i sort this to alphabetical order the code is below C# Syntax [CODE] public String[] FillComboBox() { int NoOfRows; String firstName; String lastName; db.openConnection(); DisplayLoginUserName(); String query = @"Select * From Employee;"; SqlCommand … | |
hi, how can i add data to a datagridview cell from a SQL client database file(mdf file) is the below code correct, it dosen't work , why is it??? C# Syntax[CODE] db.openConnection(); String query = @"Select FirstName from Emplooyee"; SqlCommand command = new SqlCommand(query,DB.getConnection()); SqlDataAdapter adapter = new SqlDataAdapter(); DataTable … | |
Re: what do u wnat to do? do u want to bind data in the same row in a lable?? or do u want to bind to a text box from the database?? | |
hi, i have a method that get the firstname and the lastname of an employee in the database and merge it together and then put it to an array and returns the array how can i return the array from the method. the code is below. C# Syntax [CODE]//This methods … | |
hi, i have created a login form for my project and coded it, but when the username and the passsword is correct i have added the below code Qustion 1 [CODE]if (u.accessGranted(txtUsername.Text, txtPassword.Text)) { ClearTextBoxes(); new frmMainMenu().Show(); // main form after the login this.Close();//login form }[/CODE] but when the login … | |
hi, i am using VS 2008 standard edition, i have a datagridview with one column a check box column and another a calender control, what i want is when i check the checkbox how can i display the date in the other cell which has the calender control. please help … | |
hi, i am using visual studio 2008 standard edition, how can i add a calender control to the datagrid view, can someone please help me thanx in advance | |
hi, i am using VS standard 2008 and a sqlclient file, i want to get two fields from the database(same table) and merge it (as firstname lastname) and display in the datagridview combo column in the datagrid view, how can i do this, please can someone help me thanxx | |
hi there, please can some one help me in upgrading visual studio 2008 standard edition to visual studio 2008 developer edition. in VS 2008 standard edition there is no feature fore developing crystal reports so i think in developer edition that feature is there. please can someone give me alink … | |
hi there, how can i select the text in a textbox when i use the tab key or when i click the mouse on the textbox. how can i do this in C# VS 2008 standard edition. thank you in advance | |
hi, i am creating a project in C#.NET 2008 standard edition. how can i make the datagrid view read only, but when a cell is clicked which has data another from should open. how can i do this thanks | |
hi, i am developing a desktop application in VS 2008 standard edition, i have a form with a text box with a button and a grid view. when i type a part of the file name in the text box and then click on the button all the files which … | |
can someone show me how to upload and download files from the database in C#.NET 2008 standard edition, please help me with this or send a link so that i can follow step by step because i am not familiar with these. thanx appriciate a lot | |
hi, how do u make a text box uneditable at runtime, the value is shown in the textbox but the value cannot be changed, how can i do this,?? thanxxxxxxxx | |
hi, in the database i have a value as True, when it is true i need to write a code for the check box to be ticked when the form is loading i ma using VS 2008 standard C# language? does anyone know the solution for this????? | |
hey where can i get the calender editing control in the tool bar it is not there in my toolbar, how do i add this | |
hi, how can i validate the date entered in the date time picker with the current date. when the value is selected in the date time picker i need to check whether it is a date that was in the past?? how can i trigger an event for this?? thanxxx … |
The End.