|
mehrdadc48 wrote: And what should I do if it's post back ?
Well, that is for your to decide. normally you do
if(!IsPostBack)
{
}
mehrdadc48 wrote: The event automatically fires again.
what event?
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
try that but your problem is not solve although bcos
last event automatically handle when page refresh.
try it if its work reply me with code
|
|
|
|
|
Hi, I need to connect to a specified Report Server and get list of reports on it (via code). How can I do this?
Best wishes
|
|
|
|
|
Rent a coder.
Sathesh.
Blessed is the season which engages the whole world in a conspiracy of love.
|
|
|
|
|
I need just some guidelines...
Best wishes
|
|
|
|
|
Did you google it?
Sathesh.
Blessed is the season which engages the whole world in a conspiracy of love.
|
|
|
|
|
Yes, I've googled it, but I didn't find anything...
Best wishes
|
|
|
|
|
Try this[^]
Sathesh.
Blessed is the season which engages the whole world in a conspiracy of love.
|
|
|
|
|
hi
i ma new in gridview
i have gridview,the gridviwe contain below code
<asp:TemplateField HeaderText="Question">
<ItemStyle />
<ItemTemplate>
asp:Label ID="Qid" runat="server" Text='<%# Eval("QID") %>'></asp:Label>
<a href="FlashQuestion.aspx?mode=showEditForm&id=<%# Eval("QID") %>"><%#Eval("Question")%></a>
</ItemTemplate>
</asp:TemplateField>
here id bind in label..how can i get id in codebehind
rgs
sara
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
just read some books and practice it first.
Sathesh.
Blessed is the season which engages the whole world in a conspiracy of love.
|
|
|
|
|
send the code in proper way. i am not getting your code?
Ignore html tag in question.
|
|
|
|
|
hi
i ma new in gridview
i have gridview,the gridviwe contain below code
<asp:TemplateField HeaderText="Question>;
<ItemStyle >;
<ItemTemplate&>;
<asp:Label ID="Qid" runat="server" Text='<%# Eval("QID") %></asp:Label>;
</asp:TemplateField>;
here id bind in label..how can i get id in codebehind
rgs
sara
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
why should you need the id. if u want to access the label u can access
the label by its ID.
tell me perfectly what u want to do?
|
|
|
|
|
hi
i want delete particular id data
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
place on delete link in gridview and bind data with it.
use follwing code
<asp:LinkButton ID="lnkDelete" Text="Delete" runat="server"
CommandArgument='<%#Eval("iPageId")%>' CommandName="deletebtn">
when user click on delete particular row be delete.
use "e.commandargument" to get the id in code file.
regards
keyur satyadev
|
|
|
|
|
saravanan05 wrote: i ma new in gridview
saravanan05 wrote: the gridviwe contain below code
You appear to be new to using computers in general. I suggest you contact your client, tell them you are a liar and a thief, refund their deposit, buy an ASP.NET book and work through it and then STILL realise you're not fit for taking on contract work, but merely for being a junior employee. If you're a junior employee now, talk to your supervisor and ask them to give you jobs you can do, and resources with which to do them.
This place is becoming an advertisement for all that's stupid about outsourcing. Every time I come here, I feel a burst of job security.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Christian Graus wrote: Every time I come here, I feel a burst of job security.
It is shame what companies are doing nowadays. I have experienced it first hand and we have seen the quality of the outsourced job.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
I've set up a 'quiz' site and have used a RadioButtonList to answer the questions, the problem I have is that for each question there are 5 possible answers, each answer is held in a column in my database (SQL) but I can only bind the RadioButtonList to one column.
Does anybody know how to set the text for each ListItem with data from multiple columns in an SQL database?
That's the SQL DataSource if it helps?
<asp:sqldatasource id="SqlDataSource1" runat="server" connectionstring="<%$ ConnectionStrings:ConnectionString %>" xmlns:asp="#unknown">
SelectCommand="SELECT QuestionID, QuestionImage, QuestionText, Answer1, Answer3, Answer2, Answer4, Answer5, CorrectAnswer, QuestionOrder FROM Questions WHERE (TestID = @TestID) ORDER BY QuestionOrder">
<selectparameters>
<asp:sessionparameter defaultvalue="0" name="TestID" sessionfield="TestID" />
</selectparameters>
</asp:sqldatasource>
Thanks a lot!
|
|
|
|
|
You need to change your SQL or write code to turn your 5 columns into five objects in an array ( for example ), to create a valid data source.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Change the database itself or the code in the page? Could you give me an example of what you're suggesting? I've been going over other sites that "explain" how to change the RadioButtonList to allow the text value to be changed but none of it's working, I'm so lost with this it's stupid
|
|
|
|
|
List<string> list = new List<string>();
list.Add((string)myRow[1]);
list.Add((string)myRow[2]);
list.Add((string)myRow[3]); // whatever columns in your row contain the answers
myRadioButtons.DataSource = list;
myRadioButtons.DataBind();
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Thanks ever so much! I'll let you know how it goes!
|
|
|
|
|
http://lh5.ggpht.com/_BnCCXr6jD8U/Sdclyw8eVXI/AAAAAAAAAC8/5xHWT_MQY_s/s400/image1.jpg[^]
please check out that link..
I have swf file in my page i also used ajax autocomplete in my textbox..when autocomplete done & dropdownlist comes at that time it will show back side of swf..how to put it in front side..the dropdownlist comes only when i write some char on textbos as i used autocomplete..so tell me how to put it front side or how to put swf back side.....mail me on bhrugu143@yahoo.co.in
|
|
|
|
|
bhrugu4me wrote: mail me on bhrugu143@yahoo.co.in
This makes you a moron
1 - now spam bots will find this email and spam you
2 - any response on these boards is emailed to you
3 - why would we help you if you're not interested enough in our community to read the forum to see replies ?
The SWF control is being rendered on top of the HTML. There is no way around this, you need to redesign how your page is laid out. If you had a basic understanding of waht ASP.NET is and does, what AJAX does and doesn't bring to the equation, and how a plug in like Flash works, you'd see why this would be the case.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|