Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
21% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
8
Posts with Downvotes
7
Downvoting Members
2
0 Endorsements
Ranked #2K
~22.9K People Reached
Favorite Forums
Favorite Tags

58 Posted Topics

Member Avatar for krishnisilva

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 …

Member Avatar for yonathansona
-1
2K
Member Avatar for krishnisilva

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 …

Member Avatar for curos
0
2K
Member Avatar for krishnisilva

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

Member Avatar for krishnisilva
0
198
Member Avatar for tboz203
Member Avatar for peter_budo
0
1K
Member Avatar for krishnisilva

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 …

Member Avatar for krishnisilva
0
1K
Member Avatar for krishnisilva

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 …

Member Avatar for LP...
0
2K
Member Avatar for krishnisilva
Member Avatar for krishnisilva
0
95
Member Avatar for CodeJava1

[QUOTE=peter_budo;1737126][URL="http://lmgtfy.com/?q=junit+tutorial"]JUnit tutorials[/URL][/QUOTE] thanks everyone for the comments

Member Avatar for krishnisilva
0
341
Member Avatar for krishnisilva

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

Member Avatar for stultuske
0
231
Member Avatar for judithSampathwa

[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

Member Avatar for Pri Bhowmik
0
376
Member Avatar for krishnisilva

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

Member Avatar for FijiXzone.com
0
2K
Member Avatar for krishnisilva

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 …

Member Avatar for kheddy
0
2K
Member Avatar for krishnisilva

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 …

Member Avatar for buddylee17
0
115
Member Avatar for Devasya

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

Member Avatar for bbauraj
0
694
Member Avatar for Exaktor

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 …

Member Avatar for Exaktor
0
348
Member Avatar for krishnisilva

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

Member Avatar for Ramy Mahrous
1
72
Member Avatar for krishnisilva

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 …

Member Avatar for finito
-1
63
Member Avatar for ShaggyB

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 …

Member Avatar for krishnisilva
0
297
Member Avatar for krishnisilva

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 …

Member Avatar for krishnisilva
0
141
Member Avatar for krishnisilva

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 …

Member Avatar for sergb
0
147
Member Avatar for krishnisilva

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??????

Member Avatar for Sodabread
0
98
Member Avatar for krishnisilva

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 …

Member Avatar for farooqaaa
0
82
Member Avatar for krishnisilva

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

Member Avatar for bords
0
124
Member Avatar for krishnisilva

hi, how can i make the form to disable resize the from at run time in C# hey does anybody know the answer? thanx

Member Avatar for bords
0
99
Member Avatar for krishnisilva

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 …

Member Avatar for Ionelul
0
90
Member Avatar for krishnisilva

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 …

Member Avatar for ddanbe
0
124
Member Avatar for krishnisilva

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 …

Member Avatar for Alexpap
0
116
Member Avatar for krishnisilva

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

0
64
Member Avatar for krishnisilva

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 …

-1
78
Member Avatar for krishnisilva

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() { …

Member Avatar for finito
0
111
Member Avatar for krishnisilva

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 …

Member Avatar for kvprajapati
0
174
Member Avatar for elizabeth mwash

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

Member Avatar for finito
0
104
Member Avatar for krishnisilva

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 …

Member Avatar for kvprajapati
0
164
Member Avatar for krishnisilva

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 …

Member Avatar for farooqaaa
0
771
Member Avatar for krishnisilva

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 …

Member Avatar for finito
0
118
Member Avatar for zachattack05

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??

Member Avatar for zachattack05
0
71
Member Avatar for krishnisilva

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 …

Member Avatar for krishnisilva
0
3K
Member Avatar for krishnisilva

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 …

Member Avatar for rsodarith
0
150
Member Avatar for krishnisilva

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 …

0
56
Member Avatar for krishnisilva

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

Member Avatar for krishnisilva
0
300
Member Avatar for krishnisilva

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

Member Avatar for krishnisilva
0
58
Member Avatar for krishnisilva

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 …

Member Avatar for kvprajapati
0
55
Member Avatar for krishnisilva

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

Member Avatar for ch_shoukat222
0
131
Member Avatar for krishnisilva

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

Member Avatar for manoj kumar1446
0
176
Member Avatar for krishnisilva

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 …

Member Avatar for Szpilona
0
250
Member Avatar for krishnisilva

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

Member Avatar for krishnisilva
0
90
Member Avatar for krishnisilva

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

Member Avatar for Szpilona
-1
146
Member Avatar for krishnisilva

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?????

Member Avatar for farooqaaa
0
88
Member Avatar for krishnisilva

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

Member Avatar for kvprajapati
-1
82
Member Avatar for krishnisilva

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 …

0
69

The End.