Click here to Skip to main content
15,920,217 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Why cant I do this in .Net 2.0? [modified] Pin
blurMember22-Aug-06 8:09
blurMember22-Aug-06 8:09 
QuestionCreating a HTML page from ASP.NET Pin
whozurmommy20-Aug-06 21:54
whozurmommy20-Aug-06 21:54 
AnswerRe: Creating a HTML page from ASP.NET Pin
ChinmayV21-Aug-06 1:42
ChinmayV21-Aug-06 1:42 
QuestionDown load video file from data base & play it in own browser Pin
kushak_manoj20-Aug-06 21:32
kushak_manoj20-Aug-06 21:32 
QuestionSorting in Grid View using AJAX Pin
Kartik Rathi20-Aug-06 21:17
Kartik Rathi20-Aug-06 21:17 
AnswerRe: Sorting in Grid View using AJAX Pin
vik2021-Aug-06 3:34
vik2021-Aug-06 3:34 
GeneralRe: Sorting in Grid View using AJAX Pin
Kartik Rathi22-Aug-06 1:03
Kartik Rathi22-Aug-06 1:03 
GeneralRe: Sorting in Grid View using AJAX Pin
vik2022-Aug-06 1:19
vik2022-Aug-06 1:19 
Here is a code snippet of the code that works for sorting. Please change the Connection string and the querys. If you are using Atlas for ajax put the full thing inside the <atlas:updatepanel><contentpanel>. That will do the job.

Blush | :O <asp:gridview id="GridView1" runat="server" allowpaging="True" allowsorting="True"
="" autogeneratecolumns="False" datakeynames="CategoryId" datasourceid="SqlDataSource1">
<columns>
<asp:commandfield showdeletebutton="True" showeditbutton="True">
<asp:boundfield datafield="CategoryId" headertext="CategoryId" insertvisible="False"
="" readonly="True" sortexpression="CategoryId">
<asp:boundfield datafield="Category" headertext="Category" sortexpression="Category">


<asp:sqldatasource id="SqlDataSource1" runat="server" connectionstring="<%$ ConnectionStrings:VikramConnectionString %>"
="" deletecommand="DELETE FROM [Category] WHERE [CategoryId] = @CategoryId" insertcommand="INSERT INTO [Category] ([Category]) VALUES (@Category)" selectcommand="SELECT [CategoryId], [Category] FROM [Category]" updatecommand="UPDATE [Category] SET [Category] = @Category WHERE [CategoryId] = @CategoryId">
<deleteparameters>
<asp:parameter name="CategoryId" type="Int32">

<updateparameters>
<asp:parameter name="Category" type="String">
<asp:parameter name="CategoryId" type="Int32">

<insertparameters>
<asp:parameter name="Category" type="String">



vikram lakhotia
QuestionSorting in Grid View Pin
Kartik Rathi20-Aug-06 21:13
Kartik Rathi20-Aug-06 21:13 
AnswerRe: Sorting in Grid View Pin
postmaster@programmingknowledge.com21-Aug-06 1:20
postmaster@programmingknowledge.com21-Aug-06 1:20 
AnswerRe: Sorting in Grid View Pin
Kartik Rathi21-Aug-06 22:59
Kartik Rathi21-Aug-06 22:59 
QuestionASP.Net Reports Pin
prabhakar dwivedi20-Aug-06 21:06
prabhakar dwivedi20-Aug-06 21:06 
AnswerRe: ASP.Net Reports Pin
Ramasubramaniam21-Aug-06 3:50
Ramasubramaniam21-Aug-06 3:50 
Questionpayment using paypal and 2checkout.com. Pin
Amit Agarrwal20-Aug-06 20:39
Amit Agarrwal20-Aug-06 20:39 
AnswerRe: payment using paypal and 2checkout.com. Pin
Christian Graus20-Aug-06 20:49
protectorChristian Graus20-Aug-06 20:49 
GeneralRe: payment using paypal and 2checkout.com. Pin
Amit Agarrwal20-Aug-06 21:15
Amit Agarrwal20-Aug-06 21:15 
GeneralRe: payment using paypal and 2checkout.com. Pin
Christian Graus20-Aug-06 21:37
protectorChristian Graus20-Aug-06 21:37 
AnswerRe: payment using paypal and 2checkout.com. Pin
seee sharp20-Aug-06 21:46
seee sharp20-Aug-06 21:46 
AnswerRe: payment using paypal and 2checkout.com. Pin
Ramasubramaniam21-Aug-06 4:47
Ramasubramaniam21-Aug-06 4:47 
Questionhow can i Autosave the data using Ajax Pin
Amit Agarrwal20-Aug-06 20:30
Amit Agarrwal20-Aug-06 20:30 
AnswerRe: how can i Autosave the data using Ajax Pin
Christian Graus20-Aug-06 20:52
protectorChristian Graus20-Aug-06 20:52 
GeneralRe: how can i Autosave the data using Ajax Pin
Amit Agarrwal20-Aug-06 21:10
Amit Agarrwal20-Aug-06 21:10 
GeneralRe: how can i Autosave the data using Ajax Pin
Christian Graus20-Aug-06 21:36
protectorChristian Graus20-Aug-06 21:36 
Questionhow to make feature like google Analytics. Pin
Amit Agarrwal20-Aug-06 20:25
Amit Agarrwal20-Aug-06 20:25 
AnswerRe: how to make feature like google Analytics. Pin
Christian Graus20-Aug-06 20:53
protectorChristian Graus20-Aug-06 20:53 

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.