|
How i can get my system Password ,
Acturally i am able to retive username with this code(in asp.net)
System.Security.Principal.IPrincipal User ;
User = System.Web.HttpContext.Current.User;
domainAndUsername = User.Identity.Name;
but can u give me idea about System Password..
Thanks In Advanced.
Ashish
|
|
|
|
|
ashishnagar1 wrote: How i can get my system Password ,
In ASP.NET ?
You won't be able to get your system password. It will be encrypted and I don't think that windows will provide class libraries to do so
|
|
|
|
|
Hi,
I have 3 columns in a gridview statrtAmount, endAmount, account and a btnColumn which is of type link(remove)
and I have two text boxes on a page txtStartAmount and txtEndAmount, on a button click i want to add a row to the gridview with the values of the textBoxes and the StartAmount column being 1+ the latest EndAmount.
On clicking the remove link in the row it will delete the clicked row and the subsequent rows start amount will be 1+ EndAmount of the previous row then the row deleted.
i am a little confused please help.....
Account will be just input withiout calculations and the first value of the StartAmount will be 1 on page load
Help....
Sangram
(A battle with self)
Life is simple, we are the ones makes the living difficult
|
|
|
|
|
create one datatable dynamically,add four columns startAmount,endamount,account and one column for ID(autoincreament)
Add rows in the datatable when u click to add values.
bind gridview with this datatable.
Now when u click on remove button then u can get clicked rows ID and U can delete rows using this ID from datatable.
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
Thanks Pathan....
Now I want to store the values of the gridview to store in a database table....
Sangram
(A battle with self)
Life is simple, we are the ones makes the living difficult
|
|
|
|
|
looping through GridView.Rows.Count , find controls , get values and store in dataBase
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
hi
i have requiremennt in which i need to count all the URL's Iin a given website
regards
winnie
|
|
|
|
|
Web site may contains n number of pages ..
Do you know all the pages ? if yes then i think you have to check each page with its html
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
how can i use the pie charts in crystal reports in asp.net
Soniagupta1@yahoo.co.in
|
|
|
|
|
Sonia Gupta wrote: how can i use the pie charts in crystal reports in asp.net
It's your homework. Do you know how to use charts in crystal reports. If yes there is no specialties for pie charts.
1 - Open crystal report
2 - Set the database connection using database expert
3 - Choose the chart type
4 - Check the preview
|
|
|
|
|
hi, I am sandipan,
i have a mail server.i want to create a mail account using asp.net.how can i do that.
Thanks in advance
|
|
|
|
|
Hi...
I am using a Gridview in my project, which contains 5 checkboxes in a row. when i select a checkbox in a row i want to uncheck other 4 checkboxes (if they are checked already)in the same row. How can i perform this.
Thanks
|
|
|
|
|
Use Radio Buttons Instead of Checkbox.
Best Regards,
Chetan Patel
|
|
|
|
|
No i have to use checkboxes only
|
|
|
|
|
even you can select multiple radio buttons in datagrid
Paras Kaneriya The difference between genius and stupidity is that genius has its limits.
|
|
|
|
|
Write the javscript for it i think that is better option
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
good day im going nuts about this please help..
i want to display a string (html source) from database and i want it to formatted like this
"<table width="100%" border="0" cellspacing="5" cellpadding="0">
<tr>
<td class="titleFeature">Complete</td>
</tr>
<tr>
<td>Hardwood floors, indoor-outdoor tables and chairs, kitchen and catering prep area, 4 restrooms, onsite hourly parking, online digital sound and video system, and large boat dock.</td>
</tr>
</table>"
with indentions and all...
not like this:
"<table width="100%" border="0" cellspacing="5" cellpadding="0"><tr><td class="titleFeature">Complete</td></tr><tr><td>Hardwood floors, indoor-outdoor tables and chairs, kitchen and catering prep area, 4 restrooms, onsite hourly parking, online digital sound and video system, and large boat dock.</td></tr></table>"
so that it will be easy to read...
|
|
|
|
|
Use
Tag to diaplay the Content in Preformatted text
You have to format the source when you are storing it to database and when you are going to print it then use <pre> tag..
<div class="ForumSig">Best Regards,
Chetan Patel</div>
|
|
|
|
|
replace '<' with '& lt;' and '>' with '& gt;' (without space between & and lt; , & and gt) then use HTML tags I mean like <BR /> etc. to format your string and when displaying use server.encodeHTML(string) or may be server.decodeHTML(string) I don't remember which one to use try using both and see the result
Paras Kaneriya The difference between genius and stupidity is that genius has its limits.
|
|
|
|
|
my problem is that I am attempting to create a page with a numericupdownextender. I am creating a kind of time (1am, 2am, 3am... 6pm, etc)so that it goes up and down through it. the problem I am finding is that when I put 1am etc is that it is jumping up in 2s, and doesn't even decrease (like a normal increment should go 1,2,3, this goes 1,3...).
the following is just the snippet for the extender:
<ajaxToolkit:NumericUpDownExtender ID="NumericUpDownExtender1" runat="server" RefValues="01AM;02AM;03AM;04AM;05AM;06AM;07AM;08AM;09AM;10AM;11AM;12PM;1PM;02PM;03PM;04PM;05PM;06PM;07PM;08PM;09PM;10PM;11PM;12AM"
TargetControlID="TextBox1" Width="100">
</ajaxToolkit:NumericUpDownExtender>
any help would be much appreciated.
|
|
|
|
|
Please, Do Not Post Duplicate Questions
Best Regards,
Chetan Patel
|
|
|
|
|
Hi,
I have kept ScriptManager in MasterPage and UpdatePanel in contentpage.My code in content page is as follows:
<asp:UpdatePanel ID="pnl1" runat ="server" >
<ContentTemplate >
<asp:DropDownList ID="ddl1" runat ="server" AutoPostBack="True" OnSelectedIndexChanged="ddl1_SelectedIndexChanged" >
</asp:DropDownList>
<asp:DropDownList ID="ddl2" runat ="server" >
</asp:DropDownList>
</ContentTemplate>
<Triggers >
<asp:AsyncPostBackTrigger ControlID ="ddl1" EventName ="SelectedIndexChanged" />
</Triggers>
</asp:UpdatePanel>
But selectedIndexchaged event is not firing.
Can anyone help me in this regard.Thanks in Advance,.................
|
|
|
|
|
hi friends,
I am converting my sound file in to mp3 file format using lameShell.however My file get converted into mp3 file but when i want to delete orignal file after conversion it gives me error
"The process cannot access the file because it is being used by another process."
pls help me solving this problem
Thanks in advance
|
|
|
|
|
I think the file is opened first close the file then delete
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
actually i am not using file stream can u pls tell me how can i explicitly close file
|
|
|
|