|
You mean you want to access the Controls of one page to another page with its last value?
Naresh Patel
|
|
|
|
|
Dear Frnd,
Just use the repose.redirect statement
check out following link
http://msdn2.microsoft.com/en-us/library/ms524309.aspx[^]
regards,
koolprasad2003
If the message is useful for U then please Rate This message...
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
hi friends
how to authenticate connection string using asp.net 2.0
without write any encryption and decryption code in codebehind.
regards
saravanan
|
|
|
|
|
saravanan05 wrote: how to authenticate connection string using asp.net 2.0
What do you mean by authenticating connection string ? What is there to authenticate in connection string ?
|
|
|
|
|
i need to encrypt web config connection string without write any code in codebehind.
Is this possible
|
|
|
|
|
You will have to put some code in your codebehind - at least in a seperate page to handle the encryption. Put you connection string in as normal, and then call this code once from some temporary button on a page to protect it.
The code that uses the connection string wont know any different.
<br />
Public Sub EncryptConnStr<br />
'Open the web config<br />
Dim config As Configuration = ConfigurationManager.OpenWebConfiguration(Request.ApplicationPath)<br />
<br />
'Grab the section<br />
Dim section As ConfigurationSection = config.Sections("connectionStrings")<br />
<br />
'Specify the DPAPI provider<br />
section.SectionInformation.ProtectSection("DataProtectionConfigurationProvider")<br />
<br />
'Save the new config<br />
config.Save()<br />
End Sub<br />
|
|
|
|
|
i have date in string x=2007-08-24T00;00;00+5:30 Format.
I need in mm/dd/yyyy format in C#
plz help
CARE CAREER
|
|
|
|
|
string x=2007-08-24T00;00;00+5:30
Use,
string []array=x.split("-");
Output:
Here you have
array[0]="2007";
array[1]="08";
array[2]="24T00;00;00+5:30
Now you can concate the string and use it as you wish.
Naresh Patel
|
|
|
|
|
DateTime d = DateTime.Parse(x);
d.ToString("MM/dd/yyyy");
-^-^-^-^-^-
no risk no funk ................... please vote ------>
|
|
|
|
|
I am working in asp.net 2.0
I am using SQL-Server 2000 OS
I am need a reports using crystal report.
How to implement a crystal report. Could you please help me and give a samples using vb coding.
thanking you
berkmans
|
|
|
|
|
|
http://sarith.wordpress.com/treasure/
Hope this vl help u
Sarith...
|
|
|
|
|
How to use the variable value in html tag in asp.net form?
example:
My String as = <%=myvariable%> |
in above example myvariable is call from .vb files of the particular aspx form.
In above technique applied my form but result not show and no display the error message.
Please help me to above problem at earliest.
thanking you.
berkmans
|
|
|
|
|
Your variable should be public in the class
|
|
|
|
|
hi frnd,
make your "myvariable" as public
and
abglorie wrote: My String as = <%=myvariable%>
OR
try it
My String as = <#=myvariable#>regards,
koolprasad2003
If the message is useful for U then please Rate This message...
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
Hi i am using Mozila browser i am getting error in oveflow CSS property , here oveflow is not working . please help for this one
Reg
nantha
|
|
|
|
|
Use the latest version of Mozilla.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Hi Michael thank u soo much , i am using Mozila 5.0 and Firefox 2.0 only after that any new version came?
reg
nantha
|
|
|
|
|
Hi nantha,
AFAIK, the earlier version of Mozilla doesn't support CSS overflow property which is not standard. but that property does support in the later version.
Can you give me the code that you are getting error?
Is this like that?
.a{<br />
overflow:auto;<br />
}
I will try to reproduce this issue in my computer and will let you know as soon as possible.
Edit: one more trick.
try this too.
overflow: -moz-scrollbars-horizontal;
-- modified at 3:16 Friday 17th August, 2007
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Hi Mr.Michael Sync...
thank u soo much i tried that one yesterday but its not working . i sent my CSS code and aspx code please clear that error thank u soo much ..
.aspx code
DIV id="div-datagrid" class='gridFixedHeader' style="OVERFLOW: auto; WIDTH: 100%; HEIGHT: 120px">
CSS code
.gridFixedHeader
{
background-color:white;
font-size: 9pt;
color: #FFFFFF;
position: relative;
font-family: Airal,sans-serif;
border:#0066CC;
top:expression(this.offsetParent.scrollTop-0);
z-index: 1;
}
thank u once again
reg
nantha
-- modified at 6:08 Friday 17th August, 2007
|
|
|
|
|
in my project, i use toolbar toolbar in my buttons...i used case structure for the functions of each buttons in the toolbar but theres an error in it...
my codes goes like this:
Select Case<br />
Case 0<br />
Dim subjects As New subjects<br />
subjects.Show()<br />
Me.Hide()<br />
Case 1<br />
Dim file_maintenance As New file_maintenance<br />
file_maintenance.Show()<br />
Me.Hide()<br />
Case 2<br />
Dim grade_entry As New grade_entry<br />
grade_entry.Show()<br />
Me.Hide()<br />
End Select
is this code correct???
or this:
dim keyin as integer<br />
Select Case keyIn<br />
Case 0<br />
Dim subjects As New subjects<br />
subjects.Show()<br />
Me.Hide()<br />
Case 1<br />
Dim file_maintenance As New file_maintenance<br />
file_maintenance.Show()<br />
Me.Hide()<br />
Case 2<br />
Dim grade_entry As New grade_entry<br />
grade_entry.Show()<br />
Me.Hide()<br />
End Select<br />
in the first code, there is an error so i can't run my program...
in the other code, the 1st button is only functioning...
what is the really correct code for this???
|
|
|
|
|
Second one is correct.
Rharzkie wrote: in the other code, the 1st button is only functioning..
It depend on what this variable got. dim keyin as integer
My example ~
Private Sub ToolStrip1_ItemClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ToolStripItemClickedEventArgs) Handles ToolStrip1.ItemClicked<br />
Select Case e.ClickedItem.Text<br />
Case "&New" : MessageBox.Show("this is New")<br />
Case "&Open" : MessageBox.Show("this is New")<br />
End Select<br />
End Sub<br />
<br />
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
in your example, the case "&New" and case "&Open" stands for what??? is it integer or string??? where did you get it???
|
|
|
|
|
Friend WithEvents NewToolStripButton As System.Windows.Forms.ToolStripButton<br />
Friend WithEvents OpenToolStripButton As System.Windows.Forms.ToolStripButton<br />
<br />
Me.NewToolStripButton.Text = "&New"<br />
Me.OpenToolStripButton.Text = "&Open"<br />
<br />
Me.ToolStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.NewToolStripButton, Me.OpenToolStripButton)<br />
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
but in the second code i made, the first button is only funtioning...
i will try your example...
|
|
|
|