|
Ramana. G.V wrote: Urgent ********** please help me
I shall ignore your request, then.
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
Think you would have learned from your previous attempts. Marking it urgent just gets you ignored.
only two letters away from being an asset
|
|
|
|
|
Hi,
I am developing a web application and i am in the middle of the project.
There is a few textbox in a web form and a previous and next button to navigate records.
i want to know that how to navigate records in a textbox on the click event of previous and next button.
please provide me some link or some example throught which i can solve this problem.
Regards.
Pranav Dave
|
|
|
|
|
Respond to the click events raised by the previous/next button controls, fetch the previous/next record details from your database and populate the textboxes with the appropriate values.
This is pretty basic stuff. If you have no idea how to accomplish this, I suggest you purchase a beginner's ASP.NET book and read through it.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
I have a repeater control, with in that control I am creating html controls(like text box,checkbox) with id and runt=”server” dynamically. It’s giving error. So how to create html controls with dynamic id with in repeater control?.
modified on Sunday, March 16, 2008 6:58 AM
|
|
|
|
|
Dear Friends,
I have created an GridView in which i want to calculate amount using javascript the scenario is like this.
Row 1) Control * Control = Control 1
Row 2) -"-
Row 3) -"-
Row 4) -"-
Row nth) Control * Control = Control nth
Footer Row Total = Control 1 + control nth
Output:
Row 1) 1000 * 1 = 1000
Row 2) 10 * 1 = 10
Row 3) 100 * 1 = 100
Row 4) 1000 * 1 = 1000
Row nth) 1000 * 1 = 1000
Footer Row Total = 3110
the row created at runtime so that i cant used it properly can any one help me i am create this on ASP 2.0 using C# language
Help me thaks in advance
Sasmi
|
|
|
|
|
Hi,
the gridview has an OnRowDataBound event. In that event you can do your thing like:
Int32 Total = 0;
Int32 ValueCol1 = 0;
Int32 ValueCol2 = 0;
Int32 Together = 0;
if (e.Row.RowType.Equals(DataControlRowType.DataRow))
{
try
{
DataTable tabel = (DataTable)myGridView.DataSource;
ValueCol1 = Convert.ToInt32(tabel.Rows[e.Row.RowIndex].ItemArray[0]);
ValueCol2 = Convert.ToInt32(tabel.Rows[e.Row.RowIndex].ItemArray[1]);
Together = ValueCol1 * ValueCol2;
Total += Together;
}
catch (Exception err)
{
lblError.Text = err.Message;
}
}
if (e.Row.RowType.Equals(DataControlRowType.Footer))
{
e.Row.Cells[2].Text = Total.ToString();
}
for: ValueCol1 = Convert.ToInt32(tabel.Rows[e.Row.RowIndex].ItemArray[0]);
find the appropriate field in the ItemArray. Field[0] is the first displayed field
|
|
|
|
|
by using textbox1.focus().text box is focusing how to select the entire text in the textbox.
|
|
|
|
|
Hi all
I have a login form(user name and password) that reads its data from a database, I need to check the password textbox letters case, e.g. if the user wrote "admin" it will be different than "ADMIN"...
Is there is any function to do that?
Best Regards,
Trishul Tandel
Software Developer
|
|
|
|
|
hiii
in sql server we can't identify Case Sensitive..so if u want then store encripted password in database.means use the encription/decrition method for password .using that u can able to match exact value.
Jintal Patel
|
|
|
|
|
You are hashing your passwords aren't you? You're not just storing them in the database as clear text?
If you aren't, this is a big security risk. Password hashing is easy if you use the ASP.NET 2.0 Membership API; it does it for you with the default SQL provider.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
|
I have a javascript calender (Inside a Panel) that will not be displayed when the form load. when the user first click on the button, the invisible calender will be displayed. i want to hide this calender on the next click..how to do it continously..?
i have tried :
in page load: Pane1.visible=false;
onclick:panel1.visible=true;
it is working only once...how can i make it consequently..
|
|
|
|
|
onbuttonclick event
if(panel1.visible==true)
panel1.visible=false;
else
panel1.visible=true;
|
|
|
|
|
Hi all,
Can any one explain how will create a simple custom control.
What are the steps for doing this . I am new to this .
Thanks
modified on Saturday, March 15, 2008 6:13 AM
|
|
|
|
|
Check out this article !!!!
Creating Custom Control[^]
Best Regards
-----------------
Abhijit Jana
Microsoft Certified Professional
"Success is Journey it's not a destination"
|
|
|
|
|
How to bind RadioButtonList in a formview in insert mode.
Best Regards,
Trishul Tandel
Software Developer
|
|
|
|
|
I have a gridview,in that i have one column inside which another grid view.
I dont have any problem with this gridview having a single column.
But how can i bind the same dataset with two columns containing daatagrid.
Can anybody please help me?
VanithaVasu
|
|
|
|
|
Hi all,
I am using C# , asp.net2.0 , ajax1.0 and sql server 2005.
I am facing problem of slowness of web
http://www.bbraunconnect.co.in/HRMS/DailyCallReport/DCR.aspx
please click on the link ,this link will ask username and password . username is em194 and password is TEST123@
let me explain the problem. you will find subdivision .On its selection product dropdownlist is filled but it is consuming some time on main server(where database and code are not on the same machine ) whereas in test server (where database and code are on the same machine ) it does not consume any time I would like to know how to I speed up the process.
let me explain how I am filling the control
I made one class and defined method as shown below (earlier I tried by making datatable and filling in table but it was taking higher timespan then this )
<code>
public void FillctrlList2(DropDownList ctrl, string procedurename,string fieldtext ,string fieldvalue , string conn, SqlCommand cmd, int i)
{
try
{
if (con == null)
{
this.openconnection(conn);
this.con.Open(); // con.Open();
}
if (con.State == ConnectionState.Closed)
{
this.openconnection(conn);
con.Open();
}
ctrl.Items.Clear();
ctrl.Items.Add(new ListItem("Select One", "0"));
cmd.Connection = con;
cmd.CommandText = procedurename;
cmd.CommandType = CommandType.StoredProcedure;
rdr = cmd.ExecuteReader();
ctrl.DataSource = rdr;
ctrl.DataTextField = fieldtext;
ctrl.DataValueField = fieldvalue;
ctrl.DataBind();
}
catch (Exception ex)
{
throw ex;
}
finally
{
if (rdr != null)
{
rdr.Close();
}
if (con != null)
{
con.Close();
}
}
}
I have web config connection as
&lt;add name="bbraunemisconnectstring" connectionString="Data Source=bindh2,1433;Initial Catalog=bbraun_emis;User ID=sa;Password=LITTLEANGEL" providerName="System.Data.SqlClient"/&gt;
</code>
data is also not much in the table it 500 to 600 and also i am using ajax updatepanel too.
The procedure I am using to fetch the data is
<code>
ALTER PROCEDURE [dbo].[SPGETPRODUCT_GIVENSUB]
(
@SUBCODE VARCHAR(50)
)
AS
SELECT PM_PRD_CODE , PM_PRD_NAME FROM PROD_MASTER WHERE PM_PRD_GR_CODE = @SUBCODE
</code>
please suggest something to decrease time span
regards
imran khan
|
|
|
|
|
500-600 records is still quite a lot of data to display in one go. Do your users actually need to see this many records at one time? The amount of HTML required to render out all these items will increase your page size and therefore its download time. Consider fetching items asynchronously, so the dropdownlist loads in the background but the user can still use the page.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Following is the example that shows the utility of delegates .
Am i doing right?
or there is further need of code improvement ?
using System;<br />
using System.Collections.Generic;<br />
using System.ComponentModel;<br />
using System.Data;<br />
using System.Drawing;<br />
using System.Text;<br />
using System.Windows.Forms;<br />
<br />
namespace w<br />
{<br />
public partial class Form1 : Form<br />
{<br />
public Form1()<br />
{<br />
InitializeComponent();<br />
}<br />
<br />
private void Form1_Load(object sender, EventArgs e)<br />
{<br />
d ddd = new d();<br />
ddd.sd(0); <br />
}<br />
}<br />
<br />
}<br />
<br />
namespace w<br />
{<br />
public delegate void smartdelegate(int i);<br />
public class d<br />
{<br />
public smartdelegate sd;<br />
public d()<br />
{<br />
sd = new smartdelegate(aa);<br />
}<br />
private void aa(int i)<br />
{<br />
System.Windows.Forms.MessageBox.Show(i.ToString());<br />
}<br />
}<br />
}
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
Pankaj Garg wrote: If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
Your signature is good and optimistic. Perhaps in a way it also stands a good illustration of a saying "A candle that lights another and in the process there is an enhanced brightness in the area."
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
hi iam working in school website and i need to dir schedule so i create table but i want to merge cells in this table at run time to add controls at merged cells in my table server control
how??????????????????????????
md_refay
modified on Saturday, March 15, 2008 3:30 AM
|
|
|
|
|
which table cell are you talking is it cell in web page or cell in Excel .
Can you please confirm ?
Best Regards
-----------------
Abhijit Jana
Microsoft Certified Professional
"Success is Journey it's not a destination"
|
|
|
|
|
Dear Friends,
I have created one web application in a windows XP plateform with .NET 2003. Now when I deployed the application on a widows 2003 application server it is logged in successfully and then it gives me error as 'Access is Denied'
Your quick response would be highly appriciated
Regards
Murtuza Patel
|
|
|
|