Click here to Skip to main content
16,004,406 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: transfer a key value from a page to a popup page "on selected index change" of a gridview Pin
saurabh8april26-Nov-09 22:37
saurabh8april26-Nov-09 22:37 
AnswerRe: transfer a key value from a page to a popup page "on selected index change" of a gridview Pin
Anudeep Jaiswal2-Dec-09 23:49
Anudeep Jaiswal2-Dec-09 23:49 
QuestionLoading image into WebPage... Pin
Anil Kumar.Arvapalli26-Nov-09 21:18
Anil Kumar.Arvapalli26-Nov-09 21:18 
AnswerRe: Loading image into WebPage... Pin
Abhishek Sur26-Nov-09 21:24
professionalAbhishek Sur26-Nov-09 21:24 
GeneralRe: Loading image into WebPage... Pin
Anil Kumar.Arvapalli26-Nov-09 22:22
Anil Kumar.Arvapalli26-Nov-09 22:22 
GeneralRe: Loading image into WebPage... Pin
Abhishek Sur26-Nov-09 22:45
professionalAbhishek Sur26-Nov-09 22:45 
AnswerRe: Loading image into WebPage... [modified] Pin
Mark Graham27-Nov-09 0:42
Mark Graham27-Nov-09 0:42 
Questionforms Authentication Pin
geeeeeeeetha26-Nov-09 20:19
geeeeeeeetha26-Nov-09 20:19 
AnswerRe: forms Authentication Pin
Abhijit Jana26-Nov-09 20:25
professionalAbhijit Jana26-Nov-09 20:25 
GeneralRe: forms Authentication Pin
geeeeeeeetha26-Nov-09 20:26
geeeeeeeetha26-Nov-09 20:26 
GeneralRe: forms Authentication Pin
sashidhar26-Nov-09 20:31
sashidhar26-Nov-09 20:31 
GeneralRe: forms Authentication Pin
geeeeeeeetha26-Nov-09 21:48
geeeeeeeetha26-Nov-09 21:48 
GeneralRe: forms Authentication...[Modified] Pin
sashidhar26-Nov-09 21:51
sashidhar26-Nov-09 21:51 
GeneralRe: forms Authentication...[Modified] Pin
geeeeeeeetha26-Nov-09 22:37
geeeeeeeetha26-Nov-09 22:37 
GeneralRe: forms Authentication Pin
Abhijit Jana26-Nov-09 20:33
professionalAbhijit Jana26-Nov-09 20:33 
JokeRe: forms Authentication Pin
sashidhar26-Nov-09 20:34
sashidhar26-Nov-09 20:34 
GeneralRe: forms Authentication Pin
Abhijit Jana26-Nov-09 20:42
professionalAbhijit Jana26-Nov-09 20:42 
GeneralRe: forms Authentication Pin
sashidhar26-Nov-09 20:43
sashidhar26-Nov-09 20:43 
GeneralRe: forms Authentication Pin
geeeeeeeetha26-Nov-09 21:49
geeeeeeeetha26-Nov-09 21:49 
QuestionTranslate text from English to spainsh Pin
amit sahu2026-Nov-09 20:11
amit sahu2026-Nov-09 20:11 
AnswerRe: Translate text from English to spainsh Pin
Abhishek Sur26-Nov-09 20:39
professionalAbhishek Sur26-Nov-09 20:39 
AnswerRe: Translate text from English to spainsh Pin
sashidhar26-Nov-09 20:42
sashidhar26-Nov-09 20:42 
GeneralRe: Translate text from English to spainsh Pin
Abhishek Sur26-Nov-09 21:19
professionalAbhishek Sur26-Nov-09 21:19 
QuestionCannot assign to 'ActivateCode' because it is a 'method group' Pin
ademsandeepreddy26-Nov-09 20:05
ademsandeepreddy26-Nov-09 20:05 
protected void btnRegister_Click(object sender, EventArgs e)
{
objRegistration.UserName = txtUserName.Text.Trim();
string strGuid = Guid.NewGuid().ToString();
string strPassWord = BAMLibrary.Registration.GetRandomPassword(10);
if (int.Parse(objRegistration.CheckAvailability().Rows[0].ItemArray[0].ToString()) == 0)
{
objRegistration.FirstName = txtFirstName.Text;
objRegistration.LastName = txtLastName.Text;
objRegistration.Email = txtEmailID.Text;
objRegistration.DOB = DateTime.Parse(txtDOB.Text);
objRegistration.Address = txtPermanentAddress.Text;
objRegistration.City = txtCity.Text;
objRegistration.Country = ddlCountry.SelectedItem.Text;
objRegistration.AlternateEmailID = txtAlternateEmailID.Text;
objRegistration.ReferalID = int.Parse(hfReferalID.Value.ToString());
objRegistration.AccountNo = txtAccNo.Text;
objRegistration.AccountHolderName = txtAccountHolderName.Text;
objRegistration.BankName = txtBankName.Text;
objRegistration.Branch = txtBankBranch.Text;
objRegistration.PassWord = strPassWord;
objRegistration.IFCUCode = txtIFCUCode.Text;
objRegistration.ActivateCode = strGuid;
if (objRegistration.UserRegistration() > 0)
{
Response.Redirect(@"..\Conformation.aspx");
}
else
{
Response.Write("<script>alert('Unsuccessfull registration !')</script>");
}
}
else
{
Response.Write("<script>alert('User id already exist')</script>");
}

}
the following event is raising the error

Error 91 Cannot assign to 'ActivateCode' because it is a 'method group' E:\BEAMILLIONAIR\BAM\BAM\BAM\BAM\Register.aspx.cs 94 21 BAM

like this can anybody help me.

Thanks in advance

Sandeep adem

hi

AnswerRe: Cannot assign to 'ActivateCode' because it is a 'method group' Pin
Abhijit Jana26-Nov-09 20:13
professionalAbhijit Jana26-Nov-09 20:13 

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

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.