|
i want to create a datatable from FileInfoCollection object .Can you help me out .
|
|
|
|
|
hai friends,
I already used cookies to transfer the value from one Webform to other.But in session concept it didn't work properly.
webform1
---------
session["session_name"]=100;
webform2
---------
int x;
x=session["session_name"];
The Session example of above is right?
if it wrong means? plz give the solution.
m.s.senthil kumar
|
|
|
|
|
int x;
x=(int)session["session_name"];
or
x=Convert.ToInt32(session["session_name"]);
|
|
|
|
|
How can i send an emailmesssage from my webform
|
|
|
|
|
It's very easy to send and receve email in asp 2.0
first include following files in ur code filed
1)Imports System.Web.Mail
2)Imports System.Net
You can send mail in following way
' Creating the Mail Message
Dim objMailMessage As MailMessage
objMailMessage = New MailMessage
objMailMessage.From = "youremailaddress@yahoo.com"
objMailMessage.To = custemail.ToString
objMailMessage.Subject = "Subject Heading"
objMailMessage.Body = "Thank you (any Description in body)"
objMailMessage.BodyFormat = MailFormat.Html
' Sending Mail Message
SmtpMail.Send(objMailMessage)
'And also set ur Web.config file by defining your network host ipaddress, username and password
Regards,
Vidhin Shah
|
|
|
|
|
where and how i will define in web config my network host ip address,username and password.
|
|
|
|
|
<system.net>
<mailsettings>
<smtp from="youremail@yahoo.com">
<network host="xxx.xxx.xxx.xxx" password="abc" username="xyz">
(your network host ip address and username and password)
|
|
|
|
|
in webconfig file how i will define that.can u send that coding
|
|
|
|
|
my code is like this
MailMessage mail=new MailMessage();
mail.To ="anu@gmail.com";
mail.From ="anu2@gmail.com";
mail.Subject = "your subject";
mail.Body = "your subject";
SmtpMail.Send(mail);
it's executing.but i am not getting msg in my mail?what is the problem
|
|
|
|
|
hi i tried to paste the code but i dont know why its not displaying here so i have mailed the code to ur email address. so read that code and copy paste that code in ur web.config file
Regards,
Vidhin Shah
|
|
|
|
|
i didn't get mail in my email why?..............
|
|
|
|
|
|
Any body give the small example program(free from errors) for authentication and authorization ?plz...
m.s.senthil kumar
|
|
|
|
|
Hello I have multiple Command Fields in my grid view and I want to perform different functions on both command fields. so how can I identify that which specific command fields is selected ???
If Any one have any idea about this then please reply me as early as possible.
Thanks in Advance
-- modified at 4:37 Thursday 1st March, 2007
|
|
|
|
|
Set CommandName or CommandArgument property of the Command Fields.
Regards,
Mark
|
|
|
|
|
Hai,
I want a solution to update the datas in the grid directly in asp.net(c#)
,if anybody having sample coding or examples ,please post it .
m.s.senthil kumar
|
|
|
|
|
Use dataset.update method
Thomas
|
|
|
|
|
Hai Friends ,i havea doubt in implementing the master pages ,i red the articles through the google search but unable to execute without error.
please tell me clearly about the implementation.
m.s.senthil kumar
|
|
|
|
|
first include a MasterPage.master in your project then
Just add a new aspx page and name it as "Sample1.aspx". Now you want to use the Sample1.master file in your aspx page. Just go to the html view of your page and add a MasterPageFile attribute in the page directive and delete all the other html that is written in the aspx page. The MasterPageFile attribute denotes that the Page is inheriting from the master page.
<%@ Page MasterPageFile="~/Sample1.master" %>
then add child page like following code.
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="Default3.aspx.vb" Inherits="Default3" title="Untitled Page" %>
<asp:content id="Content1" contentplaceholderid="ContentPlaceHolder1212" runat="Server">
Mahendra
|
|
|
|
|
Please help anybody,where the global assembly cache located?,when it is use?
(already red through the article that it meant for sharing assembly files by all applications) is it real meaning?
m.s.senthil kumar
|
|
|
|
|
It is located in C:\WINNT\assembly folder.
it is used when more then application required same assembly functionality.
Mahendra
|
|
|
|
|
|
How to explicitly call to Gc to realese the object from memory.
Mahendra
|
|
|
|
|
Does anyone read documentation these days? The API docs are there for a reason!
System.GC.Collect()
This doesn't guarantee collection, just suggest to the GC that it might want to think about it.
|
|
|
|
|
hi all,
I want to show an aspx page as a tooltip for the gridHyperlinkcolumn
when mouse is over on that particular column.
Please give reply soon...
Thanks a Ton in advance.
|
|
|
|