Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~10.7K People Reached
Favorite Tags
Member Avatar for de Source

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 …

Member Avatar for rch1231
0
200
Member Avatar for de Source

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 …

Member Avatar for cmdc08
0
1K
Member Avatar for de Source

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 …

Member Avatar for M.Waqas Aslam
0
300
Member Avatar for fuhanspujisaputra

Displaying a description based on code in database C#, database, WindowsApplication, Hi everyone, i have a question how do i input the descriptions columns if i type the number based on my database in code columns, i already retrieve the code from database, but now i also want to display …

Member Avatar for fuhanspujisaputra
0
233
Member Avatar for de Source

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 …

Member Avatar for Ancient Dragon
0
253
Member Avatar for m1m6jbr

hello i'have a problem using multiple form the Form1 is the main form and Form2 , the Form that the user will insert data in, and then these data must appear at Form1 this is my code :) public partial class Form1 : Form { public Form3 ff = new …

Member Avatar for ddanbe
0
186
Member Avatar for msamir

i have creted this code for login control: using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data.SqlClient; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Login1_Authenticate(object sender, AuthenticateEventArgs e) { …

Member Avatar for de Source
0
567
Member Avatar for jnewing

Hey all, so I'm looking for a way to call a method in an application externally from a dll. (see example below) This is what I'm trying however it's a) not working and b) if it was working i have a feeling that calling DynamicInvoke is going to be painfully …

Member Avatar for Ketsuekiame
0
184
Member Avatar for de Source

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 …

Member Avatar for tinstaafl
0
159
Member Avatar for de Source

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 …

Member Avatar for de Source
0
174
Member Avatar for de Source

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 …

Member Avatar for arun1123
0
312
Member Avatar for de Source

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 …

Member Avatar for de Source
0
247
Member Avatar for de Source

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 …

Member Avatar for annaharris
0
171
Member Avatar for de Source

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 …

Member Avatar for sariberri
0
196
Member Avatar for de Source

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 …

Member Avatar for de Source
0
265
Member Avatar for de Source

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 …

Member Avatar for de Source
0
832
Member Avatar for de Source

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 …

Member Avatar for ddanbe
0
208
Member Avatar for de Source

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 …

Member Avatar for Momerath
0
81
Member Avatar for de Source

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 …

Member Avatar for Momerath
0
535
Member Avatar for de Source

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 …

Member Avatar for darko444
0
490
Member Avatar for de Source

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 …

Member Avatar for Teme64
0
169
Member Avatar for yousafc#

Hello any one can help me ?i have no idea data normalization .I want make software in c# "School Management System ".This is my Data Please normalize this. ------------------------------------------------------------------------ Student Name Roll Number Class Section Date of admission Fee Per Month Result Ist Term 2nd Term Final Term Admission ID …

Member Avatar for yousafc#
0
94
Member Avatar for sandeepparekh9
Member Avatar for CsharpChico
0
275
Member Avatar for de Source

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 …

Member Avatar for de Source
0
1K
Member Avatar for de Source

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 …

Member Avatar for de Source
0
117
Member Avatar for geekme

While debugging in VS 2010, my code gives no error but on the output screen it shows the output of the other code file in the project.Please help.

Member Avatar for de Source
0
67
Member Avatar for xanawa

Hi, I have the database of the application i am doing stored in the bin. Now i want to make a new connection how can i do so?

Member Avatar for de Source
0
112
Member Avatar for pro_learner

I'm novice to C#.net & i'm using Visual Studio 2010 as the IDE.I have created a Desktop Application in C# & i want to connect it with the Database in SQL server 2008.Friends can you tell me the code or web links to solve this issue.....

Member Avatar for pro_learner
0
1K
Member Avatar for de Source

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

Member Avatar for vishalrane
0
118
Member Avatar for de Source

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; …

Member Avatar for Mitja Bonca
0
166