No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
30 Posted Topics
Hi.. i want to get all columns from tbl_class where course_id of tbl_course is equal to course_id of tbl_class more over course_id of tbl_course should be thw one who has semester = 5 brife structure of tables are: tbl_class >class_id >course_id >class_room tbl_course >course_id >semester i have design this kind … | |
hi, i am making a search button which searches a particular row from a database i've been all through this and able to get record in a text box or a message box [CODE]txtbox1.Text = dr1["First_Name"].ToString(); txtbox2.Text = dr1["Last_Name"].ToString(); txtbox3.Text = dr1["Job_Title"].ToString();[/CODE] but i am stuck how to get that … | |
Hi, i want to create a query which select three columns from a table on certain condition now i have got certain with three columns and i can bind this data to a datagridview but before this i want to add a column to dgv say col_new and fill its … | |
Re: more description required your question is not clear | |
Hi, i am trying to edit a list box item in a way that if certain item is already present it should update it and if item is not present then it should add it to a list box what should i do Detailed i have a dynamic button which … | |
Re: niether understand your question nor code which data do you want to show on form2 | |
Re: @momerth first one was realy a good suggestion | |
Re: why dont you go for adding refference of your dll from solution expolrer | |
Hi, after spending lot of time on google i am fadeup i have a dynamic tab control in which i am able to make dynamic buttons and i am also able to get whole row of a table product in button's tag but i do not know how to retrive … | |
Hi, I am trying to insert data into my database throgh Entity framwork my code is below private POSDatabaseEntities1 posde = new POSDatabaseEntities1(); private void btnSave_Click(object sender, EventArgs e) { Tbl_Users Users = new Tbl_Users(); Users.FirstName = txtFName.Text; Users.LastName = txtLName.Text; Users.CNICNumber = txtCNIC.Text; RBSDE.AddToTbl_Users(Users); RBSDE.SaveChanges(); MessageBox.Show("Record has successuffly beem … | |
hi, I am working on an asp application using c# and i can import excel file to sql table i have two columns in excel and as well as in sql of same name "id" and "status" when i import data both columns are imported to sql table in the … | |
hi i am new to sql i want to get some values from different tables and i have made my own logic like that "SELECT course_name, course_id FROM tbl_course WHERE course_id = (SELECT course_id FROM tbl_enrollment WHERE student_id = '" + lbl_StudentID.Text + "')" what could the correct sytax for … | |
i want to upload the attendance of students i am able to upload a xlsx file and transfer its data to tbl_temp now i have two tables tbl_s_attendance EP_Number Attendance course_id class_id 105078 105076 105075 105077 105079 tbl_Temp EP_Number Attendance 105075 P 105076 P 105077 P 105078 A 105079 A … | |
hi, i have some logic but unfortunatly m weak in programing need your help guys i am working on a MIS using c# i have a drop down list which display the course id and in my course table one course id could have many student id i want to … | |
Hi, i am making an asp application and in code behind file i am trying to bound drop down list from tbl_teacher in which i concatenate the first and last name by this query `string sqlStatement = "SELECT teacher_id, fname + lname AS Name FROM tbl_teacher";' and it is working … | |
hi, i have a drop down list populated with column names of tbl_student and a text box for searching specific value coresponding to the value selected in drop down list i do not have much knowlewdge about qureies might b m lacking there error is Incorrect syntax near '=' my … | |
hi i have an string array in which i have combinations of 0's and 1's like on index 0 i have "01", on index 1 i have "11", on index 2 i have "00", on index 3 i have"10" etc is their any possibilty that i can take these values … | |
hi.. i want to know the the syntax of for loop that can circulate betweent "0" to "63" with step "8" that mean if value of "i" become 60 it will not move to 68 it should be go back to zero after 63 and the value of "i" should … | |
Hi, i am having problem in updating my database although i can upadate my dataset private void btnSave_Click(object sender, EventArgs e) { DataRow dRow = ds1.Tables["ContainerID"].NewRow(); dRow[1] = textBox1.Text; dRow[2] = textBox2.Text; dRow[3] = textBox3.Text; ds1.Tables["ContainerID"].Rows.Add(dRow); MaxRows = MaxRows + 1; inc = MaxRows - 1; MessageBox.Show("Entry Added"); } but … | |
hi, i have three text boxes tb1 has timeIn tb2 has TimeOut and i have a Button which shows the time duration between them i have used time diffrence method bt it is unable to calculate the duration it only gives the difference which create problem when time is greater … | |
Hi Guys, i am making an application which can take longitude and latitude as input from user and will locate the respective point on google map using default web browser i am able to open a browser through this [ICODE] private void button1_Click(object sender, EventArgs e) { System.Diagnostics.Process.Start("http://www.gorissen.info/Pierre/maps/googleMapLocation.php"); }[/ICODE] this … | |
Re: i don't believe its kind of easy job you even any one would need time to normalize it you could have mention problems in some specific portion | |
| |
Hi i have an array i am allotting array values through a loop now i want to add each value of an array in a text box. here is my code [CODE]private void btnFramCode_Click(object sender, EventArgs e) { int Row = Convert.ToInt32(tbRows.Text); int Column = Convert.ToInt32(tbColumns.Text); int[,] arr = new … | |
Hi, i have 2 buttons btn1 and btn2 when i click btn1 it creates an array of buttons Now i want to call those buttons when i click btn2 its bit complicated project (for me) i cant explain it i just want to add "if" check in btn2 to check … | |
Re: send your code if you have errors in your code VS runs last error less program that you are talking about | |
Re: [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace DatabseConnection { public partial class Form1 : Form { public Form1() { InitializeComponent(); } SqlConnection con; SqlDataAdapter da; DataSet ds1; int MaxRow = 0; int CurRow = 0; private void … | |
Hi, i have a form in which i have different labels and picture boxes is there any way i can get the print of it by pressing print button on d same page but ofcourse that button shouldn't b d part of that print thnks | |
hay guys... i m new here and having problem in finding a row through a combobox i did that with a simple text box it is working fine here is the coding [CODE] private void btnFind_Click(object sender, EventArgs e) { string searchFor = textBox4.Text; int results = 0; DataRow[] returnedRows; … |
The End.