|
Dear All,
i am making web application using asp.net, C# ,sql2005 using visual studio 2005
i am trying to use membership feature of asp.net2.0 and i did manage aomewhat.
Now i can create user through Createuserwizard But i want after user creates his profile. he need to authorized or activated by administrator
then only will be able to login. Is it possible ?
how to do it
please give me some useful link
Please help
thanks
regards
imran khan
|
|
|
|
|
Hi all
actually on my webpage am displaying some data on the datagrid row wise...as per the project requirement am exposing the data to be editable(displaying in the text boxex) by making use of the itemtempale ...and am keeping one button outside the datagird.and while cliking on the button i am updating the entire datagrid by accepting what ever the data is modified
i.e by calling like
foreach(DataGridItem itm in DataGrid1.Items)
{
string st,st1,st2;
st=((Label)itm.Cells[0].FindControl("lblAccountId")).Text;
st1=((TextBox)itm.Cells[1].FindControl("AccCode")).Text;
st2=((TextBox)itm.Cells[2].FindControl("Descrip")).Text;
dataAdapter=new SqlDataAdapter("update AccountCode set AccountCode='" + st1 + "',Description='" + st2 + "'where AccountId=" + st,con);
dataAdapter.Fill(ds,"contentTable");
}
Know what the problem is...there was somany records like (100+ in the database)..if i did like this,it took a database interaction
to update each row ...i.e,for the single click it will take 100+ times of database interaction...
bcz of performance resion i want to avoid these interactions...i want the updation to be done by making single interaction with the database(i.e i want to handle all the datagrid data and take the updation at single time)......Plz help me out ,,or let me have some articles related to this....
regards
yuva
|
|
|
|
|
|
Gday everyone,
I have a new problem that I need some help
I have a horizontal menu using SiteMapDataSource. I need to put a separator or an image between menu items, I looked at menu control property, but it seems there is no such property to select.
Please guide me.
Thanks in advance
eric
|
|
|
|
|
include class file in aspx source file
I have list.cs class file, which contains methods
Is it possible for me to include in source file ( default.aspx* )
And to call its method by the following methods when button clicked
methods
thank you
vijaya
vijaya
|
|
|
|
|
You have posted the SAME question three times within an hour! You need to be patient. Multiple posts will most likely get you ignored, rather than getting you help.
__________________
Bob is my homeboy.
|
|
|
|
|
Go error while posting question. so I finally cut short the heading and posted the question. but I found many copies of same question.
Thank you
vijaya
vijaya
|
|
|
|
|
I have list.cs class file, which contains methods
Is it possible for me to include in source file ( default.aspx* )
And to call its method by the following methods when button clicked
methods
vijaya
|
|
|
|
|
I have list.cs class file, which contains methods
Is it possible for me to include in source file ( default.aspx* )
And to call its method by the following methods when button clicked
methods
thank you
vijaya
vijaya
|
|
|
|
|
I have list.cs class file, which contains methods
Is it possible for me to include in source file ( default.aspx* )
And to call its method by the following methods when button clicked
methods
thank you
vijaya
vijaya
|
|
|
|
|
Hi,
I have a two buttons for e.g. Button1 and button2.
On button1_click event of button1, i want to call the button2_click event of button2.
How can i achieve this?
Plz help
Riz
|
|
|
|
|
Hi,
Put OnClick = "button2_Click" for button1.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
Simply add a event hamdler in the OnInit Method
Button1.Click += new EventHandler(Button2_Click1);
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... "
|
|
|
|
|
Hi,
Actually i want the button2_click() event to be fired on click of a <td> in the table of my aspx code.
i.e.
<TD id="D0" onmouseover="this.style.backgroundColor='#ffeb99'; style="CURSOR: hand" onmouseout="this.style.backgroundColor='';" align="center" onclick="btnMarkRead_Click;"></TD>
here on click of this <td> i want to call the btnMarkRead_Click event.
How to achieve this?
Riz
|
|
|
|
|
you can't do like this as the is not going to run at server
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... "
|
|
|
|
|
hi! i want a Rich Text Editor for my asp.net web aplication. can any one help me for an free or open source or custom control Rich Text Editor ?
Thanks & Regards,
SAMir Nigam,
Software Engineer,
STPL, Lucknow, India.
|
|
|
|
|
Hope the article by Haissam Abdul Malak Rich Text Editor[^] will help you.
Regards,
Satips.
|
|
|
|
|
Thanks!
Thanks & Regards,
SAMir Nigam,
Software Engineer,
STPL, Lucknow, India.
|
|
|
|
|
Welcome
Regards,
Satips.
|
|
|
|
|
hi friend.
in sql server2005 text save in MIME format for Example->
---------------------------------------------------------------------------------------------------
This is a multi-part message in MIME format. ------=_NextPart_034_0265_011ABCC4.0E3F1F48 Content-Type: text/plain; charset=UTF-8;msgr=WAAtAE0ATQBTAC0ASQBNAC0ARgBvAHIAbQBhAHQAOgAgAEYATgA9AE0AUwAlADIAMABTAGgAZQBsAGwAJQAyADAARABsAGcAJQAyADAAMgA7ACAARQBGAD0AOwAgAEMATwA9ADAAOwAgAEMAUwA9ADAAOwAgAFAARgA9ADAACgANAAoADQA Content-Transfer-Encoding: binary piyush ------=_NextPart_034_0265_011ABCC4.0E3F1F48 Content-Type: text/rtf Content-Transfer-Encoding: binary {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 MS Shell Dlg 2;}} {\colortbl ;\red0\green0\blue0;} {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\tx720\cf1\f0\fs20 piyush\par } ------=_NextPart_034_0265_011ABCC4.0E3F1F48--
----------------------------------------------------------------------------------------------------
Input Text is->piyush
so I want to filter only input text. how it possible...
please help me......
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
i am having gridview control in which an update image is there. ON rowcommand event of gridview i am updating database. ON commandargument the primary key of the gridview is there. but to get the values of textboxes on that row i want row index property of the gridview which i am not getting on row command . How to solve this.
if (e.CommandName == "Update")
{
GridViewRow gvr= GrdFormType.Rows[0];
TextBox txtFormType = (TextBox)gvr.FindControl("txtformtype");
string txtformtype1 = txtFormType.Text;
DropDownList ddlformgroup = (DropDownList)gvr.FindControl("DropDowmFormGroup1");
int ddlformgroup1 = Convert.ToInt32(ddlformgroup.SelectedValue.ToString());
// int formtypeid = (int)Convert.ToInt32((GrdFormType.DataKeys[e.RowIndex].Value.ToString()));
int formtypeid = Convert.ToInt32(e.CommandArgument.ToString());
maintainance mc = new maintainance();
mc.Edit_Form_Type(formtypeid, txtformtype1, ddlformgroup1);
this.GrdFormType.EditIndex = -1;
FillFormType();
}
|
|
|
|
|
ritu4321 wrote: i am having gridview control in which an update image is there
Bind the Update Image's CommandArgument with the primary key. If you do this, you should have the ability to get the primary key as e.CommandArgument.
Try this...
Else use the RowUpdating Event, since you are using the "Update" as your CommandName of the Update Image.
|
|
|
|
|
i dont want primary key i am getting that i need row index on row command
its urgent!!!!!!!
|
|
|
|
|
how to convert the following asp code to asp.net code
<%
Set jpeg = Server.CreateObject("Persits.Jpeg")
jpeg.Open(Request("path"))
jpeg.Width=Jpeg.OriginalWidth/4
jpeg.Height=Jpeg.OriginalHeight/4
' Send thumbnail data to client browser
jpeg.SendBinary
%>
plz help me
Thanks in advance.
Haritha
|
|
|
|
|