Click here to Skip to main content
15,914,276 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionPublish the Project of site Pin
.NET- India 24-Sep-07 2:08
.NET- India 24-Sep-07 2:08 
AnswerRe: Publish the Project of site Pin
saini arun24-Sep-07 18:21
saini arun24-Sep-07 18:21 
GeneralRe: Publish the Project of site Pin
.NET- India 24-Sep-07 18:47
.NET- India 24-Sep-07 18:47 
GeneralRe: Publish the Project of site Pin
saini arun24-Sep-07 19:02
saini arun24-Sep-07 19:02 
GeneralRe: Publish the Project of site Pin
.NET- India 24-Sep-07 20:43
.NET- India 24-Sep-07 20:43 
GeneralRe: Publish the Project of site Pin
saini arun24-Sep-07 20:46
saini arun24-Sep-07 20:46 
QuestionData view problem Pin
Shaurya_Rastogi24-Sep-07 2:03
Shaurya_Rastogi24-Sep-07 2:03 
AnswerRe: Data view problem Pin
kubben24-Sep-07 3:17
kubben24-Sep-07 3:17 
My first question would be:
Is there some reason you don't use ds.Tables[0].DefaultView?

Second you said you converted the dataview back to a datatable.
Why?

Anyway, when sorting a dataview you can do:
RowSort = "StudentID"

This will sort the dataview.

I don't understand why you want to sort the data anyway. It looks like you just want to find some data.

You can do dv.RowFilter = "StudentID = "+txtStudentID.Text
This will limit your dataview to only the rows that match the search.

If all you want to do is display the rows that meet the search then you can bind to that dataview and you are done.

Ben
GeneralRe: Data view problem Pin
Shaurya_Rastogi24-Sep-07 18:38
Shaurya_Rastogi24-Sep-07 18:38 
GeneralRe: Data view problem Pin
kubben25-Sep-07 0:30
kubben25-Sep-07 0:30 
GeneralRe: Data view problem Pin
Shaurya_Rastogi25-Sep-07 0:38
Shaurya_Rastogi25-Sep-07 0:38 
GeneralRe: Data view problem Pin
kubben25-Sep-07 0:50
kubben25-Sep-07 0:50 
QuestionMy Web site not shown in search engines Pin
g_f_r24-Sep-07 2:03
g_f_r24-Sep-07 2:03 
AnswerRe: My Web site not shown in search engines Pin
Brent Lamborn24-Sep-07 3:38
Brent Lamborn24-Sep-07 3:38 
QuestionRe: My Web site not shown in search engines Pin
g_f_r24-Sep-07 7:18
g_f_r24-Sep-07 7:18 
AnswerRe: My Web site not shown in search engines Pin
Brent Lamborn24-Sep-07 7:34
Brent Lamborn24-Sep-07 7:34 
AnswerRe: My Web site not shown in search engines Pin
Pete O'Hanlon24-Sep-07 9:51
mvePete O'Hanlon24-Sep-07 9:51 
AnswerRe: My Web site not shown in search engines Pin
random423-Apr-09 19:10
random423-Apr-09 19:10 
Questionstrong names [modified] Pin
Sonia Gupta24-Sep-07 1:34
Sonia Gupta24-Sep-07 1:34 
AnswerRe: strong names Pin
pmarfleet24-Sep-07 10:11
pmarfleet24-Sep-07 10:11 
QuestionVB.NET designer error Pin
codelinks24-Sep-07 1:15
codelinks24-Sep-07 1:15 
Questiondynamic URL authorization with web.config? Pin
Kleindahl24-Sep-07 1:10
Kleindahl24-Sep-07 1:10 
AnswerRe: dynamic URL authorization with web.config? Pin
kubben24-Sep-07 3:34
kubben24-Sep-07 3:34 
GeneralRe: dynamic URL authorization with web.config? Pin
Kleindahl24-Sep-07 3:52
Kleindahl24-Sep-07 3:52 
GeneralRe: dynamic URL authorization with web.config? Pin
Not Active24-Sep-07 6:31
mentorNot Active24-Sep-07 6:31 

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.