Click here to Skip to main content
15,915,093 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionWeb parts User control Events Pin
zol_tech24-Sep-07 5:54
zol_tech24-Sep-07 5:54 
QuestionBarcode read and write Pin
Sarfaraj Ahmed24-Sep-07 4:52
Sarfaraj Ahmed24-Sep-07 4:52 
AnswerRe: Barcode read and write Pin
Not Active24-Sep-07 6:13
mentorNot Active24-Sep-07 6:13 
AnswerRe: Barcode read and write Pin
Cfer8324-Sep-07 6:44
Cfer8324-Sep-07 6:44 
Questionneed help pull values from DataSet with DAL Pin
Mio200524-Sep-07 4:46
Mio200524-Sep-07 4:46 
Questionsingle sign on [modified] Pin
acodman24-Sep-07 4:33
acodman24-Sep-07 4:33 
AnswerRe: single sign on Pin
Christian Graus24-Sep-07 12:38
protectorChristian Graus24-Sep-07 12:38 
Questionhow to change datafield property of a boundfield in a gridview Pin
here2learn24-Sep-07 4:32
here2learn24-Sep-07 4:32 
hello all,

i want to change datafield property of a boundfield in a gridview at run time from codebehind in asp.net + C#. actually i have a grid view which have 2 bound fields(columns), datafields of these 2 columns are already set. i want change thier datafields after running the application based on some redio button selection. my gridview is like this:-

<asp:GridView ID="gvSavedCriteria" runat="server" AutoGenerateColumns="False" BackColor="InactiveCaptionText"
Height="1px" Width="325px">
<Columns>
<asp:TemplateField HeaderText="Add">
<ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
<HeaderStyle HorizontalAlign="Justify" VerticalAlign="Top" />
<ItemTemplate>
<asp:CheckBox ID="CheckBox1" runat="server" EnableViewState="true"/>
</ItemTemplate></asp:TemplateField>
<asp:BoundField DataField="ClientNumber" HeaderText="ClientNumber" />
<asp:BoundField DataField="ClientName" HeaderText="ClientName" />
</Columns>
<HeaderStyle BackColor="#2A76B2" ForeColor="White" />
<AlternatingRowStyle BackColor="White" BorderColor="Gainsboro" BorderStyle="Solid" /></asp:GridView>

in this i have two datafields "ClientNumber" and "ClientName" which at run time i want to change to some "ABC" and "XYZ" based on user action. does anyone knows that how can i get it?

People often say that motivation doesn't last. Well, neither does bathing - that's why we recommend it daily
Akhilesh Singh
AnswerRe: how to change datafield property of a boundfield in a gridview Pin
saini arun24-Sep-07 18:17
saini arun24-Sep-07 18:17 
QuestionHow AJAX file Used in .Net Pin
varma penmatsa24-Sep-07 2:29
varma penmatsa24-Sep-07 2:29 
AnswerRe: How AJAX file Used in .Net Pin
Guffa24-Sep-07 2:41
Guffa24-Sep-07 2:41 
QuestionWeb Service Project Build Events Pin
originSH24-Sep-07 2:12
originSH24-Sep-07 2:12 
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 
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 

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.