Click here to Skip to main content
       

ASP.NET

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
GeneralRe: how to linbutton's text on another page button click eventmemberMember 870181323 Feb '13 - 6:55 
if it doesn't make sense....i vil change linkbutton's text on webform1.aspx
GeneralRe: how to linbutton's text on another page button click eventmemberMember 870181323 Feb '13 - 22:40 
could u tell me how to set a flag pls
i have written my code...when i visit webform1.aspx 2nd time ,that record is not shown .....ie verfied record...so i have to set linkbutton's text to "verifid"....pls help me...what is d syntax to get linkbutton's text...pls help me
GeneralRe: how to linbutton's text on another page button click eventmvpSandeep Mewara23 Feb '13 - 22:46 
Member 8701813 wrote:
i have to set linkbutton's text to "verifid"....pls help me...what is d syntax to get linkbutton's text.

You sound totally lost/new and would be difficult to help like this. It would be better for you to read a book and start of. Know basics before starting to code. It would help you.
Sandeep Mewara
Microsoft ASP.NET MVP 2012 & 2013

[My Blog]: Sandeep Mewara's Tech Journal!
[My Latest Article]: HTML5 Quick Start Web Application

Questionhtml5 with vs2010membermanoranjan gupta23 Feb '13 - 2:07 
Wink | ;) how to create playlist in html5
i m using html5 along with visual studio2010
end of previous song next song should be start .....

AnswerRe: html5 with vs2010mvpSandeep Mewara23 Feb '13 - 3:10 
It does not work like this here.
 
Here is what is expected of enquirers:
1. TRY first what you want to do! You may find that it's not that hard.
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.
Members will be more than happy to help like this.

 

Via JavaScript, you can access the list and use following audio events to have a continuous playlist, using ended event along with play() and load().
 
I am not sharing more for you to try in the direction said.
Sandeep Mewara
Microsoft ASP.NET MVP 2012 & 2013

[My Blog]: Sandeep Mewara's Tech Journal!
[My Latest Article]: HTML5 Quick Start Web Application

Question70-480 Course Bookmembersilentspeaker23 Feb '13 - 0:35 
Anyone plz help me to find 70-480 Book plz
AnswerRe: 70-480 Course BookmvpRichard MacCutchan23 Feb '13 - 1:07 
This is not the right forum; try Google or a book store.
Questionvisul studio installingmemberagrigold22 Feb '13 - 22:48 
i am beginer in dotnet ,I have dotnet4.0 installed in my computer
but inbulit sql server in dotnet4.0 how to using sql server management studio 2008
AnswerRe: visul studio installingmemberMarco Bertschi23 Feb '13 - 1:42 
You question is neither clear nor understandable.
A google search is always helpful. Can you further clarify your question?
cheers
Marco Bertschi

Software Developer & Founder SMGT Web-Portal
CP Profile | My Articles | Twitter | Facebook | SMGT Web-Portal

AnswerRe: visul studio installingmvpSandeep Mewara23 Feb '13 - 3:13 
agrigold wrote:
but inbulit sql server in dotnet4.0 how to using sql server management studio 2008

No. SQLServer is not installed along with .NET 4.0.
 
You need to install SQL Server 2008[^] separately to use management studio.
Sandeep Mewara
Microsoft ASP.NET MVP 2012 & 2013

[My Blog]: Sandeep Mewara's Tech Journal!
[My Latest Article]: HTML5 Quick Start Web Application

Questionhow to increment column value by 1memberMember 870181322 Feb '13 - 21:39 
hi in my table request i have columns as follows
requestid,applicationid,statusid,usertypeid & the data is
1,xxxxx, 1,6
2,xxxxx,2,7
3,xxxxx,3,8
i vil pass requestid to a storedprocedure , and i want to increment statusid,usertype by 1.
create procedure updateusertypeid_statusid
@requestid int
as
begin
update request set usertypeid += 1, statusid += 1 where requestid = @requestid.....this is not working
pls help me to implement this requirement
AnswerRe: how to increment column value by 1memberMember 870181322 Feb '13 - 22:33 
usertypeid =usertypeid + 1 i am getting the required o/p
QuestionWeb Task SchedulermemberMohamad Hoosein Fakhravary22 Feb '13 - 11:17 
Sniff | :^)    Sniff | :^)    Sniff | :^)    OMG | :OMG:    D'Oh! | :doh:    Poke tongue | ;-P    Poke tongue | ;-P
What is the timing of the implementation of the web؟
 
هـر جا چراغی روشنه از ترس تنها بودنه ای ترس تنهایی من ، اینجا چراغی روشنه
AnswerRe: Web Task SchedulermvpRichard MacCutchan22 Feb '13 - 23:23 
I am sorry but this question makes no sense. Can you try explaining your problem in more detail?
 
من متاسفم، اما این سوال باعث می شود حس. آیا شما سعی می کنید تا مشکل شما را در جزئیات بیشتر است.
GeneralRe: Web Task SchedulermemberMohamad Hoosein Fakhravary23 Feb '13 - 0:21 
What tools should be used for scheduling the Web?
 
هـر جا چراغی روشنه از ترس تنها بودنه ای ترس تنهایی من ، اینجا چراغی روشنه
GeneralRe: Web Task SchedulermvpRichard MacCutchan23 Feb '13 - 0:35 
What do you mean scheduling the web? The web is the internet, it is always there.
GeneralRe: Web Task SchedulermemberMohamad Hoosein Fakhravary24 Feb '13 - 1:01 
Method of Application
At different time intervals
Non-stop
 
هـر جا چراغی روشنه از ترس تنها بودنه ای ترس تنهایی من ، اینجا چراغی روشنه
GeneralRe: Web Task SchedulermvpRichard MacCutchan24 Feb '13 - 1:10 
I still have no idea what you are trying to do or what your problem is. Please try a full description of what you want to do including any problems you are having. Not just three or four words.
Use the best guess

GeneralRe: Web Task SchedulermemberMohamad Hoosein Fakhravary24 Feb '13 - 20:17 
Thanks Richard MacCutchan
Write a program that
See news sites I read RSS.
insert data to table
-------
Writing software not hard.
My main question is the timing of the implementation of this method in
Task Scheduler
How to create ??
 
That automatically Ranged time Will work.
-----------------------
Example asp.net
 
Global.asax
<pre lang="c#">protected void Application_Start(object sender, EventArgs e)
      {
            this._scheduler.StartTask();
      }</pre>
هـر جا چراغی روشنه از ترس تنها بودنه ای ترس تنهایی من ، اینجا چراغی روشنه
GeneralRe: Web Task SchedulermvpRichard MacCutchan25 Feb '13 - 0:10 
Sorry I don't know the answer, and I could not find any useful references to _scheduler.StartTask() in the MSDN documentation.
Use the best guess

Questiongridview [modified]memberMember 870181322 Feb '13 - 7:34 
i wrote below code for gridview columns
<Columns>
  <asp:TemplateField HeaderText="S.No">
                            <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" />
                            <ItemTemplate>
 
                                <asp:Label ID="Lblslno" Visible="false" runat="server" Text='<%#Eval("RequestId")%>' />
                                <%#Container.DataItemIndex+1 %>
                            </ItemTemplate>
 
                        </asp:TemplateField>
<asp:BoundField DataField="RequestId" HeaderText="RequestId"
        ItemStyle-VerticalAlign="Top" ItemStyle-HorizontalAlign="Left"
        SortExpression="RequestId" >
    <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
    </asp:BoundField>
<asp:BoundField DataField="ApplicationId" HeaderText="ApplicationId"
        ItemStyle-VerticalAlign="Top" ItemStyle-HorizontalAlign="Left"
        SortExpression="ApplicationId" >
    <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
    </asp:BoundField>
<asp:BoundField DataField="Document1location" HeaderText="Document1 Location"
        ItemStyle-VerticalAlign="Top" ItemStyle-HorizontalAlign="Left"
        SortExpression="Document1location" >
    <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
    </asp:BoundField>
<asp:BoundField DataField="Document2location" HeaderText="Document2 Location"
        ItemStyle-VerticalAlign="Top" ItemStyle-HorizontalAlign="Left"
        SortExpression="Document2location" >
    <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
    </asp:BoundField>
<asp:BoundField DataField="Document3location" HeaderText="Document3 Location"
        ItemStyle-VerticalAlign="Top" ItemStyle-HorizontalAlign="Left"
        SortExpression="Document3location" >
    <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
    </asp:BoundField>
  <asp:BoundField DataField="descr" HeaderText="Description" ItemStyle-VerticalAlign="Top" ItemStyle-HorizontalAlign="Left" SortExpression="descr"  />
  <asp:TemplateField ItemStyle-HorizontalAlign="left" ItemStyle-VerticalAlign="Top">
           <HeaderTemplate>Action</HeaderTemplate>
           <HeaderStyle  />
           <ItemTemplate>
              <asp:LinkButton ID="lnkverify"  runat="server" Text="Verify" CommandName="Application_verify"  CommandArgument='<%#Eval("RequestId") %>' />&nbsp;&nbsp;&nbsp;&nbsp;
              <asp:LinkButton ID="lnkreject"  runat="server"  Text="Reject" CommandName="Appication_reject" CommandArgument='<%#Eval("RequestId") %>' />
           </ItemTemplate>
        </asp:TemplateField>
</Columns>
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
       {
           try
           {
               if (e.CommandName == "Application_verify")
               {
                   int projectid = Convert.ToInt32(e.CommandArgument);
                   Response.Redirect("~/details.aspx?RequestId=" + RequestId);
               }
}
catch (ApplicationException ex)
{
lblsuccess.Visible = true;
lblsuccess.Text = ex.Message;
}
catch (Exception ex)
{
StackTrace st = new StackTrace(new StackFrame(true));
StackFrame sf = st.GetFrame(0);
 
int line = sf.GetFileLineNumber() - 1;
if (ex.Message.StartsWith("Thread") == false) { Response.Redirect("~/HandleError.aspx?ID=" + ex.Message, false); }
}
}
can anyone tell me why i am getting "RequestId" doesn't exist in the current context on response.redirect(~/details.aspx?RequestId=" + RequestId);pls help me
i got solution


modified 22 Feb '13 - 13:43.

Questiondelete a table data&structurememberMember 870181322 Feb '13 - 3:25 
hi ,this is my code
DataTable dt = new DataTable();
dt =
conn.select_usertypeid(Convert.ToString(txtemailid.Text),Convert.ToString(txtPassword.Text));
here i am getting data for dt
for ex
column1 column2 column3
data1 data2 data3
now i want to delete data as well as columns....when i use dt.clear() only data is getting deleted...ie the o/p is as follows
column1 column2 column3
 
what is d syntax to delete data as well as column names.....pls help me
QuestionRe: delete a table data&structuremvpRichard MacCutchan22 Feb '13 - 4:01 
Why are you using Convert.ToString() on the Text properties of TextBoxes?
AnswerRe: delete a table data&structurememberMember 870181322 Feb '13 - 4:30 
because i want to pass textboxe's value as string
GeneralRe: delete a table data&structuremvpRichard MacCutchan22 Feb '13 - 4:45 
It's already a string; please make use of the documentation[^].

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 25 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid