Click here to Skip to main content
15,867,568 members
Home / Discussions / C#
   

C#

 
AnswerRe: Insert a char in the beginning of the file using c# Pin
N a v a n e e t h2-Mar-09 1:22
N a v a n e e t h2-Mar-09 1:22 
GeneralRe: Insert a char in the beginning of the file using c# Pin
Member 5781892-Mar-09 2:51
Member 5781892-Mar-09 2:51 
GeneralRe: Insert a char in the beginning of the file using c# Pin
N a v a n e e t h2-Mar-09 15:33
N a v a n e e t h2-Mar-09 15:33 
QuestionInsert record Pin
Sajjad Leo2-Mar-09 1:05
Sajjad Leo2-Mar-09 1:05 
AnswerRe: Insert record Pin
Colin Angus Mackay2-Mar-09 2:29
Colin Angus Mackay2-Mar-09 2:29 
GeneralRe: Insert record Pin
Sajjad Leo2-Mar-09 17:50
Sajjad Leo2-Mar-09 17:50 
GeneralRe: Insert record Pin
Colin Angus Mackay2-Mar-09 21:35
Colin Angus Mackay2-Mar-09 21:35 
GeneralRe: Insert record Pin
Sajjad Leo2-Mar-09 23:13
Sajjad Leo2-Mar-09 23:13 
Dear,

I solved that problem now i using a sql query for retrieving a record from a student table i am selecting class from drop down like Class A and then the data of class A name of students will display in list box and then i select one name of class A from list box and want to display data in grid view i am writing query like

string rec = "select * from student_biodata where student_name = '" + liststudent.Text + "' ";

But one problem is that if i am selecting name like 'a' then two record displayed in grid view like 'a' of class A and 'a' of Class B so what should i do please guide me correct query as i can get only one record.

Thanks

Sajjad Ali

modified on Tuesday, March 3, 2009 5:22 AM

QuestionLimiting maximum connections Pin
invader822-Mar-09 1:00
invader822-Mar-09 1:00 
AnswerRe: Limiting maximum connections Pin
harold aptroot2-Mar-09 1:09
harold aptroot2-Mar-09 1:09 
AnswerRe: Limiting maximum connections Pin
Luc Pattyn2-Mar-09 3:16
sitebuilderLuc Pattyn2-Mar-09 3:16 
GeneralRe: Limiting maximum connections Pin
harold aptroot2-Mar-09 4:40
harold aptroot2-Mar-09 4:40 
GeneralRe: Limiting maximum connections Pin
invader822-Mar-09 4:35
invader822-Mar-09 4:35 
AnswerRe: Limiting maximum connections Pin
N a v a n e e t h2-Mar-09 1:16
N a v a n e e t h2-Mar-09 1:16 
GeneralRe: Limiting maximum connections Pin
invader822-Mar-09 4:46
invader822-Mar-09 4:46 
GeneralRe: Limiting maximum connections Pin
N a v a n e e t h2-Mar-09 15:32
N a v a n e e t h2-Mar-09 15:32 
AnswerRe: Limiting maximum connections Pin
Luc Pattyn2-Mar-09 3:20
sitebuilderLuc Pattyn2-Mar-09 3:20 
GeneralRe: Limiting maximum connections Pin
invader822-Mar-09 4:59
invader822-Mar-09 4:59 
AnswerRe: Limiting maximum connections Pin
Luc Pattyn2-Mar-09 5:03
sitebuilderLuc Pattyn2-Mar-09 5:03 
Questionland phone call from pc Pin
rizvi_codeproject2-Mar-09 0:29
rizvi_codeproject2-Mar-09 0:29 
GeneralRe: land phone call from pc Pin
Kristian Sixhøj2-Mar-09 4:52
Kristian Sixhøj2-Mar-09 4:52 
Questionprocess details Pin
shefa' isied2-Mar-09 0:22
shefa' isied2-Mar-09 0:22 
AnswerRe: process details Pin
Luc Pattyn2-Mar-09 3:25
sitebuilderLuc Pattyn2-Mar-09 3:25 
QuestionDrag and drop to mouse point location Pin
Low Pei Yang2-Mar-09 0:03
Low Pei Yang2-Mar-09 0:03 
AnswerRe: Drag and drop to mouse point location Pin
Henry Minute2-Mar-09 10:51
Henry Minute2-Mar-09 10:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.