Click here to Skip to main content
15,887,214 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Gridview Sorting with Up and Down Icons Pin
Brij9-Feb-10 1:41
mentorBrij9-Feb-10 1:41 
GeneralRe: Gridview Sorting with Up and Down Icons Pin
Abbas_here9-Feb-10 2:27
Abbas_here9-Feb-10 2:27 
GeneralRe: Gridview Sorting with Up and Down Icons Pin
Brij9-Feb-10 2:43
mentorBrij9-Feb-10 2:43 
GeneralRe: Gridview Sorting with Up and Down Icons Pin
-Muc_9-Feb-10 20:56
-Muc_9-Feb-10 20:56 
QuestionControle to enter source codes Pin
Thilina.madush9-Feb-10 1:03
Thilina.madush9-Feb-10 1:03 
AnswerRe: Controle to enter source codes Pin
Not Active9-Feb-10 2:12
mentorNot Active9-Feb-10 2:12 
QuestionGridView with Rows Sorted in Priority Order (Ranked) Pin
-Muc_9-Feb-10 0:55
-Muc_9-Feb-10 0:55 
AnswerRe: GridView with Rows Sorted in Priority Order (Ranked) Pin
-Muc_9-Feb-10 9:32
-Muc_9-Feb-10 9:32 
I solved it(;-

protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
      {
          if (e.CommandName == "Up")
          {
              int i = int.Parse((string)e.CommandArgument);
              GroupAdapter.Update(Convert.ToInt32(GridView1.DataKeys[i - 1].Values[0].ToString()), i + 1);
              GroupAdapter.Update(Convert.ToInt32(GridView1.DataKeys[i].Values[0].ToString()), i);
              BindData();
          }
          else if (e.CommandName == "Down")
          {
              int i = int.Parse((string)e.CommandArgument);
              GroupAdapter.Update(Convert.ToInt32(GridView1.DataKeys[i + 1].Values[0].ToString()), i);
              GroupAdapter.Update(Convert.ToInt32(GridView1.DataKeys[i].Values[0].ToString()), i + 1);
              BindData();
          }
      }

QuestionScreen Scraping Pin
Member 4227889-Feb-10 0:51
Member 4227889-Feb-10 0:51 
AnswerRe: Screen Scraping Pin
Not Active9-Feb-10 2:14
mentorNot Active9-Feb-10 2:14 
Questionenabling a dll Pin
dayakar_dn8-Feb-10 23:01
dayakar_dn8-Feb-10 23:01 
AnswerRe: enabling a dll Pin
Covean9-Feb-10 0:08
Covean9-Feb-10 0:08 
Questionweb service query Pin
mylogics8-Feb-10 21:08
professionalmylogics8-Feb-10 21:08 
AnswerRe: web service query Pin
sashidhar8-Feb-10 21:21
sashidhar8-Feb-10 21:21 
AnswerRe: web service query Pin
Brij8-Feb-10 21:39
mentorBrij8-Feb-10 21:39 
GeneralRe: web service query Pin
mylogics8-Feb-10 21:58
professionalmylogics8-Feb-10 21:58 
GeneralRe: web service query Pin
mylogics8-Feb-10 22:06
professionalmylogics8-Feb-10 22:06 
GeneralRe: web service query Pin
Brij8-Feb-10 22:29
mentorBrij8-Feb-10 22:29 
QuestionSearch Engines and Multilanguage Websites Pin
tronix018-Feb-10 20:57
tronix018-Feb-10 20:57 
QuestionAsynchronous Postback for GridView's Select Command Pin
.NET- India 8-Feb-10 20:20
.NET- India 8-Feb-10 20:20 
QuestionASP.net Chat program Pin
Arny18-Feb-10 18:53
Arny18-Feb-10 18:53 
AnswerRe: ASP.net Chat program Pin
Brij8-Feb-10 19:34
mentorBrij8-Feb-10 19:34 
GeneralRe: ASP.net Chat program Pin
Arny18-Feb-10 23:23
Arny18-Feb-10 23:23 
QuestionAccess GridView Lable using javascript Pin
sjs4u8-Feb-10 18:48
sjs4u8-Feb-10 18:48 
AnswerRe: Access GridView Lable using javascript Pin
Brij8-Feb-10 19:32
mentorBrij8-Feb-10 19:32 

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.