16,004,778 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by tulasiram3975 (Top 195 by date)
tulasiram3975
9-Oct-12 4:04am
View
thank you...
working great
tulasiram3975
26-Sep-12 13:07pm
View
it not working correctly if so it needs to fetch 25th date after details employee details should show but it won't i think need to change query condition..
i tried in different ways but am not getting accurate result
tulasiram3975
26-Sep-12 11:39am
View
but i have a problem when it have more dates like 09/25/2012 and 09/26/2012 it is not showing rest of empids let my table be like
uid empid datetime
1 9003 2012-09-26 09:20:00
3 9000 2012-09-26 09:20:00
4 9004 2012-09-26 09:20:00
5 9002 2012-09-26 09:20:00
7 9001 2012-09-26 09:20:00
18 9004 2012-09-25 09:15:00
17 9000 2012-09-25 09:15:00
11 9004 2012-09-26 08:59:00
12 9002 2012-09-26 08:59:00
15 9003 2012-09-25 09:15:00
14 9001 2012-09-26 08:59:00
19 9002 2012-09-25 09:15:00
21 9001 2012-09-25 09:15:00
am trying like:
select * from attlog where TIME(datetime )>='09:00:00' and empid not in (select empid from attlog where TIME( datetime )<'09:00:00') AND DATE_FORMAT(DATE( datetime ) , '%m/%d/%Y' )
BETWEEN '09/25/2012'
AND '09/26/2012'
now it is show like:
uid empid datetime
1 9003 2012-09-26 09:20:00
3 9000 2012-09-26 09:20:00
17 9000 2012-09-25 09:15:00
15 9003 2012-09-25 09:15:00
but it has to show like
uid empid datetime
1 9003 2012-09-26 09:20:00
3 9000 2012-09-26 09:20:00
18 9004 2012-09-25 09:15:00
17 9000 2012-09-25 09:15:00
15 9003 2012-09-25 09:15:00
19 9002 2012-09-25 09:15:00
21 9001 2012-09-25 09:15:00
22 9000 2012-09-25 09:15:00
23 9003 2012-09-25 09:15:00
like it should show..
tulasiram3975
26-Sep-12 11:22am
View
ok sir thank you i got some idea am checking like TIME(datetime) <'09:00:00'
in this way..
tulasiram3975
26-Sep-12 11:13am
View
Yes you are absolutely right but there is no DATEPART function sir...
tulasiram3975
26-Sep-12 11:06am
View
no sir actually what i need is display the results after 9 but not befor 9 so that i tried in this way
select * from tm where DATEPART(hh, [savedate])>=9 and empid not in (select empid from tm where DATEPART(hh, [savedate])<9) AND DATE_FORMAT(DATE(datetime),'%d/%m/%y') BETWEEN '25/09/2012' AND '26/09/2012'
but it is not showing results of 25/09/2012 empids
tulasiram3975
20-Sep-12 5:42am
View
i did it sir..
it is taking and processing request and displaying result..
but from code it is not taking..
i dont know why..??
tulasiram3975
18-Sep-12 10:10am
View
please dont keep this type of solutions...
tulasiram3975
13-Sep-12 0:42am
View
ok sir... but i did some changes in control panel-->windows firewall -> inbound --> created one rule ..
but it did't worked for me..
tulasiram3975
8-Sep-12 0:00am
View
internet is working in client PC ping his ip address it is showing correct (0% loss) but ping our API server address it is not showing..(100% loss) how can i rectify this problem please help me..
tulasiram3975
7-Sep-12 12:35pm
View
this is all i had sir...
i had many things but am just post some thing so that people understand quickly and find solution quickly..
tulasiram3975
7-Sep-12 12:30pm
View
ok can i change those settings. right now am connected with client PC
am unable to find where it is blocking my request in client PC
i just uninstalled anti-virus and turned-off firewall and also not woking
tulasiram3975
7-Sep-12 12:27pm
View
fulluri is valid and have correct credentials sir because it is working on my local iis server. i think it is taking long time to respond and finally showing unable to connect remote server
and in cmd prompt ping 202.xx.xx.xx--> it is show timeout for every request packets sent 4 recieved 0 (100% loss)
tulasiram3975
7-Sep-12 12:18pm
View
sir i got the same problem after using your code block at this line : HttpWebResponse response = (HttpWebResponse)request.GetResponse();
Error:A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 202.xx.xx.xx:80
sir may i change any internet settings in client PC or any other changes required..
tulasiram3975
7-Sep-12 12:00pm
View
Deleted
ok sir am checking...
tulasiram3975
7-Sep-12 11:58am
View
for more details regarding the issue:
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 202.xx.67.xx:80
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 202.62.67.34:80
Source Error:
Collapse | Copy Code
Line 471: StreamReader ResponseReader;
Line 472: Request = ((HttpWebRequest)(WebRequest.Create(FullUri)));
Line 473: ResponseReader = new StreamReader(Request.GetResponse().GetResponseStream());
Line 474: return ResponseReader.ReadToEnd();
Line 475: }
Source File: c:\inetpub\wwwroot\vardhaman\fees\createuser.aspx.cs Line: 473
Stack Trace:
[SocketException (0x274c): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 202.xx.xx.xx:80]
System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +239
System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +35
System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) +224
[WebException: Unable to connect to the remote server]
System.Net.HttpWebRequest.GetResponse() +5386189
fees_createuser.GetPageContent(String FullUri) in c:\inetpub\wwwroot\vardhaman\fees\createuser.aspx.cs:473
fees_createuser.Testmsgbtn_Click(Object sender, ImageClickEventArgs e) in c:\inetpub\wwwroot\vardhaman\fees\createuser.aspx.cs:455
System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +108
System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +118
System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
Version Information: Microsoft .NET Framework Version:2.0.50727.5420; ASP.NET Version:2.0.50727.5420
please can any help me please
thanks in advance..
tulasiram3975
7-Sep-12 11:56am
View
fulluri is valid and have correct credentials sir because it is working on my local iis server. i think it is taking long time to respond and finally showing unable to connect remote server
tulasiram3975
7-Sep-12 11:47am
View
sir that is different issue error code 10060.but in my case it is likeSocketException (0x274c)
i have just hosted on clients local iis server..
may i solve the issue through programming sir..
tulasiram3975
19-Jun-12 2:53am
View
both sir..
it wont giving dates i think i need to use mysql case condition
tulasiram3975
18-Jun-12 22:25pm
View
sir it returns empty result set...
tulasiram3975
18-Jun-12 15:10pm
View
Deleted
Thank you Mr Sandeep Mewara
tulasiram3975
30-Apr-12 2:35am
View
then it will show div after 9th item. i did 3 items as a group every two rows in the sense 6 items so here i need to add after 6th item not after 9th item
i think you did't get my question right?
solution:
i just place div instead td's and apply some sort of styles that it .
it is now working fine...
tulasiram3975
30-Apr-12 2:03am
View
thank you for your replay sir...
Sorry i did't get you.. i need to add div every after two rows here group item count is 3 so am adding after 6th td so this is((Container.DataItemIndex != 0 && (Container.DataItemIndex+1) % 6 == 0)) correct condition if i go like what you say there is a simple way adding group separator thats it...
but here i need to add after every two group items that means every after two rows...
tulasiram3975
30-Apr-12 0:15am
View
yes sir i tried like this also but the problem is it is showing div under a particular td not below of entire row..
tulasiram3975
30-Apr-12 0:12am
View
yes sir your right overlap takes place how can i solve this problem is my question i have added another tr in layout template but again same thing happening.. i need a layout like
<tr>
<td></td>
<td></td>
<td></td>
<tr>
<tr>
<td colspan='3'></td>
<tr>
tulasiram3975
10-Apr-12 7:07am
View
When and which values we need to insert brother...
Can you Elaborate Clearly..
so that we can help you...
tulasiram3975
10-Apr-12 7:03am
View
you have to write script if there any problems we are here to solve your prob..
brother..
take one html button and asp button write code for onclick event and check the variation i think you come to know what the thing is...
no one is willing to give you their developed code block may cause lose of your knowledge ..you have to implement your own ideas...
tulasiram3975
9-Apr-12 7:11am
View
have you completed exporting excel sheet...
tulasiram3975
9-Apr-12 7:04am
View
ok let him know..
tulasiram3975
9-Apr-12 6:25am
View
Good One
tulasiram3975
9-Apr-12 6:07am
View
Yes It is possible from code behind Better use bound field or template field in order to maintain columns order in our way....
tulasiram3975
9-Apr-12 6:01am
View
Am not using try catch thats why am not able show you what the exception is..
tulasiram3975
9-Apr-12 6:00am
View
Thank you..
tulasiram3975
9-Apr-12 5:50am
View
Can You Elaborate Clearly....
tulasiram3975
9-Apr-12 5:29am
View
Have You Seen Tags for this question Its A windows app..
tulasiram3975
9-Apr-12 5:18am
View
Thank You....
tulasiram3975
9-Apr-12 2:12am
View
hey don't play games with code project and our time..
tulasiram3975
9-Apr-12 2:09am
View
That means first time it wont have valid date string after that it may have valid date string..
can you show your code so that we can give you proper solution..
tulasiram3975
9-Apr-12 2:05am
View
You can call java script function when exam starts when user click on start exam button you can call onclick or onclientclick event that's it.
tulasiram3975
5-Apr-12 2:20am
View
I was Done BY Server Side Code finally...
tulasiram3975
5-Apr-12 2:17am
View
Better Do it in server side Check Dates And Do Your Work..
tulasiram3975
5-Apr-12 1:09am
View
can you give logic for server side..
tulasiram3975
5-Apr-12 0:50am
View
You did't Close TD in second row...
tulasiram3975
5-Apr-12 0:14am
View
of course but i need to reduce lines of code that's Why..!!! we can't do it in mysql?
tulasiram3975
26-Mar-12 8:22am
View
thank you for giving solution
it is firing sir. but after timer tick event the div is showing content it needs to hide until user click on div...
but this time also same thing happening sir...
tulasiram3975
7-Mar-12 1:14am
View
Thanks U So much....
tulasiram3975
22-Feb-12 12:20pm
View
dear digimanus,
i appreciate you for giving reply at least
Messages is not a column name here its a reference for "( DISTINCT '',`fromfirstname`,':','',`message` SEPARATOR '<br />' )" this combination of columns and here my problem is it fetching data but characters are limited it is not getting whole text from columns...
for example i was stored a long size paragraph when i retrieving back to gridview it is not showing whole paragraph it shows upto some limited lines in paragraph..
i hope you understand my problem
thank you...
tulasiram3975
22-Feb-12 4:04am
View
Dear Patil Nilesh,
say for example the message column contains this text-->
don't read this text and wont waste your time
-------------
A BLOB is a binary large object that can hold a variable amount of data. The four BLOB types are TINYBLOB, BLOB, MEDIUMBLOB, and LONGBLOB. These differ only in the maximum length of the values they can hold. The four TEXT types are TINYTEXT, TEXT, MEDIUMTEXT, and LONGTEXT. These correspond to the four BLOB types and have the same maximum lengths and storage requirements. See Section 10.5, “Data Type Storage Requirements”.
BLOB values are treated as binary strings (byte strings). They have no character set, and sorting and comparison are based on the numeric values of the bytes in column values. TEXT values are treated as nonbinary strings (character strings). They have a character set, and values are sorted and compared based on the collation of the character set.
If strict SQL mode is not enabled and you assign a value to a BLOB or TEXT column that exceeds the column's maximum length, the value is truncated to fit and a warning is generated. For truncation of nonspace characters, you can cause an error to occur (rather than a warning) and suppress insertion of the value by using strict SQL mode. See Section 5.1.6, “Server SQL Modes”.
Beginning with MySQL 5.0.60, truncation of excess trailing spaces from values to be inserted into TEXT columns always generates a warning, regardless of the SQL mode.
If a TEXT column is indexed, index entry comparisons are space-padded at the end. This means that, if the index requires unique values, duplicate-key errors will occur for values that differ only in the number of trailing spaces. For example, if a table contains 'a', an attempt to store 'a ' causes a duplicate-key error. This is not true for BLOB columns.
In most respects, you can regard a BLOB column as a VARBINARY column that can be as large as you like. Similarly, you can regard a TEXT column as a VARCHAR column. BLOB and TEXT differ from VARBINARY and VARCHAR in the following ways:
----------------------------------------------------------------
but
the query retrieve this much text:-
A BLOB is a binary large object that can hold a variable amount of data. The four BLOB types are TINYBLOB, BLOB, MEDIUMBLOB, and LONGBLOB. These differ only in the maximum length of the values they can hold. The four TEXT types are TINYTEXT, TEXT, MEDIUMTEXT, and LONGTEXT. These correspond to the four BLOB types and have the same maximum lengths and storage requirements. See Section 10.5, “Data Type Storage Requirements”. BLOB values are treated as binary strings (byte strings). They have no character set, and sorting and comparison are based on the numeric values of the bytes in column values. TEXT values are treated as nonbinary strings (character strings). They have a character set, and values are sorted and compared based on the collation of the character set. If strict SQL mode is not enabled and you assign a value to a BLOB or TEXT column that exceeds the column's maximum length, the value is truncated to fit and a warning is generated. For truncation of non
-------------------------------------------------
"so here i need to get whole text(from starting to ending)
tulasiram3975
26-Dec-11 4:29am
View
Sir I added this To config File But It wont calling...
tulasiram3975
15-Dec-11 4:27am
View
Thank You Sir.....
tulasiram3975
15-Dec-11 4:27am
View
Deleted
Thank You Sir...
tulasiram3975
15-Dec-11 1:11am
View
i Did't Get Anything From Your Answer can You Please Clarify Clearly. i dont have any problem with inserting data....
tulasiram3975
28-Nov-11 2:35am
View
Thanks For The Help..
tulasiram3975
28-Nov-11 2:35am
View
Thanks For The Help..
tulasiram3975
28-Nov-11 2:35am
View
Thanks For The Help..
tulasiram3975
28-Nov-11 2:31am
View
thank you Very Much..
tulasiram3975
26-Nov-11 5:37am
View
It Wont Working i need
uid name
3 jhon
4 watson
5 backinsale
these records.......
thank you
tulasiram3975
26-Nov-11 5:35am
View
it is also not returning result set it gives me answer as
MySQL returned an empty result set (i.e. zero rows).
tulasiram3975
3-Nov-11 7:06am
View
i think cast with (short) is working......
thank you......
tulasiram3975
3-Nov-11 6:33am
View
yes i used this but am getting error like Cannot implicitly convert type 'int' to 'short'. An explicit conversion exists (are you missing a cast?)
tulasiram3975
3-Nov-11 6:16am
View
Thank You.....( CodeHelper_PS)
tulasiram3975
10-Oct-11 10:41am
View
i think it is problem with spaces between "Vaishnavi" and "V"
thanks which helps me
tulasiram3975
4-Oct-11 5:11am
View
i have check with this also
Table tbl = PlaceHolder1.FindControl("tbl1") as Table;
same result the object showing null value
thank you for reply
tulasiram3975
3-Oct-11 9:42am
View
ok i show you whole table
Table tbl = new Table();
tbl.ID = "tbl1";
tbl.Attributes.Add("runat", "server");
tbl.CellSpacing = 0;
tbl.CellPadding = 4;
TableHeaderRow thr = new TableHeaderRow();
TableHeaderCell thc = new TableHeaderCell();
Label lbrolno = new Label();
lbrolno.Text = "Roll No";
thc.Controls.Add(lbrolno);
thr.Cells.Add(thc);
tbl.Controls.Add(thr);
ViewState["nofsub"] = length;
// TableHeaderRow thr1 = new TableHeaderRow();
for (int n = 0; n < length; n++)
{
TableHeaderCell thc1 = new TableHeaderCell();
//thc1.ColumnSpan = 2;
Label lbsubjects = new Label();
lbsubjects.ID = "subject" + n;
lbsubjects.Text = sid.Split(',')[n];
thc1.Controls.Add(lbsubjects);
thr.Cells.Add(thc1);
}
tbl.Controls.Add(thr);
int increm = 0;
while (dr77.Read())
{
TableRow tr = new TableRow();
tr.BorderWidth = 1;
tr.BorderColor = Color.Black;
tr.BorderStyle = BorderStyle.Solid;
TableCell tc = new TableCell();
// tc.RowSpan = 2;
tc.BorderWidth = 1;
tc.BorderColor = Color.Black;
tc.BorderStyle = BorderStyle.Solid;
Label lbrolnocel = new Label();
lbrolnocel.Text = dr77["sno"].ToString();
tc.Controls.Add(lbrolnocel);
tr.Cells.Add(tc);
tbl.Controls.Add(tr);
// TableRow th1 = new TableRow();
for (int n = 0; n < length; n++)
{
TableCell tc1 = new TableHeaderCell();
//tc1.Width = 50;
// TableCell tc2 = new TableHeaderCell();
tc1.BorderWidth = 1;
tc1.BorderColor = Color.Black;
tc1.BorderStyle = BorderStyle.Solid;
RadioButton rbpres = new RadioButton();
rbpres.ID = "rbone" + increm;
rbpres.Checked = true;
rbpres.GroupName = "g1" + increm;
RadioButton rbabs = new RadioButton();
rbabs.ID = "rbtwo" + increm;
rbabs.GroupName = "g1" + increm;
tc1.Controls.Add(rbpres);
tc1.Controls.Add(rbabs);
tr.Cells.Add(tc1);
tr.Cells.Add(tc1);
increm++;
}
tbl.Controls.Add(tr);
}
PlaceHolder1.Controls.Add(tbl);
this is my dynamic table i was added to placeholder
first i need to get the dynamic table reference so that i was tried like
Table tbl = this.Page.FindControl("tbl1") as Table;
IT WONT WORK OUT i need to check weather radio button is checked or not
so that am try to get the radio button reference like
RadioButton rbpres = this.Page.FindControl("rbone" + increm) as RadioButton;
RadioButton rbpres1 = (RadioButton)PlaceHolder1.NamingContainer.FindControl("rbone" + increm);
but it is not finding radio button control it shows null value
waiting for you response
thank you
tulasiram3975
3-Oct-11 8:59am
View
HOW CAN I GET RUN TIME TABLE ID ON BUTTON CLICK
BUT I TRIED IN THIS WAY
Table tbl = this.Page.FindControl("tbl1") as Table;
IT WONT WORK OUT CAN YOU SHOW ME THE WAY TO GET IT
THANK YOU
tulasiram3975
3-Oct-11 8:57am
View
UPDATED MY QUSTION KINDLY CHECK ONCE
tulasiram3975
22-Sep-11 2:45am
View
dear sandeep08mca,
it is returning dd/mm/yyyy formate only no need to cast it again it won't work out because its a string not a date
tulasiram3975
21-Sep-11 8:45am
View
yes the date is coming to the data reader
it is displayed in label
tulasiram3975
3-Aug-11 10:17am
View
i have seen this page when i print particular grid it will gives me the out put as grid content + Remaining window white space i need to print only grid content
tulasiram3975
19-Jul-11 8:57am
View
Button is Present in the Grid Only Both upload control and button kept in single cell
tulasiram3975
19-Jul-11 8:42am
View
Button is Present in the Grid Only Both upload control and button kept in single cell
tulasiram3975
19-Jul-11 6:54am
View
NO Here it is going to else Block of fu.HasFile.file upload controler is not having file
tulasiram3975
18-Jul-11 2:41am
View
dr SanjeevSingh,
first it won't going into if(fu.HasFile) loop it means it wont have file it seems how could i?
tulasiram3975
15-Jul-11 9:10am
View
Sir actually it is taking Out Side my root Directory Content also.... i mean out side of our application folder
tulasiram3975
10-Jul-11 21:22pm
View
mysql statement will be Like this:
MySqlCommand cmd = new MySqlCommand("select * from history order by uid desc", con);
MySqlDataAdapter da = new MySqlDataAdapter(cmd);
DataSet ds = new DataSet();
da.Fill(ds, "history");
ListView1.DataSource = ds.Tables["history"];
ListView1.DataBind();
i have more than 20 records here i can see first 10 records only when pressing next button it wont go to next 10 records.
tulasiram3975
10-Jul-11 15:31pm
View
Thank You....
tulasiram3975
10-Jul-11 15:31pm
View
Thanks You Sir Solves The Problem
tulasiram3975
8-Jul-11 5:47am
View
Thank You Sir....
How Stupid am!!
My Mind Not Working Properly Due To Heavy Work
tulasiram3975
15-Jun-11 5:41am
View
Good Call.. Thank You
tulasiram3975
15-Jun-11 3:02am
View
Oh Great Thank You Sir
tulasiram3975
30-May-11 6:36am
View
But I Want TO Do In Php Mysql EDIT Window With out using SP & TRIGGERS
tulasiram3975
13-May-11 11:39am
View
No No...
ok i will do something thank you i got some idea
tulasiram3975
13-May-11 7:04am
View
Sir Actually I Need In Between Dates I Think It Will Converts Date to yyyy-mm-dd This Format And Returns All Dates As yyyy-mm-dd. But How To Retrive In Between Dates
tulasiram3975
13-May-11 5:53am
View
Thanks For Suggestion...
tulasiram3975
13-May-11 5:47am
View
Next Time I Wont Do This Mistake But This Is Third Party Application Database Been Set In Client System Already Thats Why Am Not Changing Type.
tulasiram3975
13-May-11 5:44am
View
Sir,
Can You Give A Sample Query For Above Table So That I May Proceed I tried Many Ways But Am Not Getting
tulasiram3975
13-May-11 5:31am
View
Its not possible ...
tulasiram3975
13-May-11 3:52am
View
The Problem Is I developed My Software Already I dont want to Change if changes happen it takes lots of risk for me convertion the type may solves the problem i know but i need to do with out changs
tulasiram3975
30-Apr-11 5:17am
View
Take One int value and Place in row[int value] increment for every iteration
tulasiram3975
26-Apr-11 5:33am
View
1a:Yes But Not With sno its sid (sid is auto increment)
2a:No Not auto increment Set Manually
3a:Because names must be in alphabetical order so sno also in that order only
thank you in advance
tulasiram3975
26-Apr-11 3:26am
View
Am Feel Fear To Do can You Give Me A Sample Fro That
thank you
tulasiram3975
26-Apr-11 2:56am
View
Thanks For Repley I dont Want To Use Stored Procedure
i Want To Do In Code Behind Only
tulasiram3975
26-Apr-11 2:06am
View
Can You Give Me A sample
tulasiram3975
26-Apr-11 2:04am
View
I need to do in code behind
tulasiram3975
22-Apr-11 4:33am
View
Thank You For valuable Answer...
tulasiram3975
22-Apr-11 3:18am
View
If i Do id=id then i get only Jhon And neo value and their total. But I Want Not Equal ID's Also.
I Want Like This
jhon 3000
neeo 5000
rams 0
raj 0
anna 0
tulasiram3975
16-Apr-11 10:59am
View
What Is The Error Message?
tulasiram3975
16-Apr-11 10:57am
View
What Is Your Database Server?
tulasiram3975
16-Apr-11 7:39am
View
Oops I went more
tulasiram3975
16-Apr-11 7:34am
View
You Are Using Two Separate Datalists if Yes Check In Page_Load Dont Bind Data to data list control At PostBack
tulasiram3975
16-Apr-11 4:07am
View
Could You Please Elaborate Clearly
tulasiram3975
15-Apr-11 5:46am
View
Not Clear!!!
tulasiram3975
12-Apr-11 7:14am
View
Thanks For The Replay,
Sir What I Need to Do Now(itr was installed correctly some times working but not taking
back up it returns 1kb .sql file.
tulasiram3975
8-Apr-11 9:12am
View
What Kind Of Option ???
tulasiram3975
8-Apr-11 6:18am
View
Ok Sir I Got Idea Thank You Very Very Much.........
tulasiram3975
8-Apr-11 6:17am
View
Am Really Very Sorry Sir,
If String Came Like (3,4,7) Here I Need To Add (1,2) First And Then Only Add 6,7
tulasiram3975
8-Apr-11 5:55am
View
Dear Sir,
I Get String From Runtime I Dont Know How It Will Came Either Like (1,2,5,7) Or Else (3,4,6) So On.. Here My Problem Is I Need To Add Missing Values
tulasiram3975
8-Apr-11 4:34am
View
Thank you Sir But I Have 6 String Like '3,5,6" here i need to add 1,2,4 I need Clear Solution For Different Strings
tulasiram3975
7-Apr-11 8:42am
View
am sorry for that...
but your solution is good for that question
thank you
tulasiram3975
7-Apr-11 8:40am
View
Thank You But I tried Like concatenated two strings as 2->anna,3->kasper,8->jhon,1->peter sended to array after that sorted the array (in my way) but your code seems good .
thank you
tulasiram3975
7-Apr-11 6:22am
View
am sorry for asking this small question
tulasiram3975
7-Apr-11 6:05am
View
Dear Sir,
i think this is not a correct way, why should i create a generic class for small amount of code
tulasiram3975
7-Apr-11 6:04am
View
i told you my problem this is not A small task to do myself here second string elements not in order that means name3 will be jhon, name4 will be Pallini and so on here my intention is string1 and string2 must match each other sooo how can i sort second array if i do sort still order will miss.
tulasiram3975
7-Apr-11 6:01am
View
thanks for reply but here second string elements not in order that means name3 will be jhon, name4 will be Pallini and so on here my intention is string1 and string2 must match each other sooo
how can i sort second array if i do sort still order will miss.
tulasiram3975
31-Mar-11 6:08am
View
Ok Sir,
My Problem Is It Returns All Details
I Need The Values Which Is Not Present In Table2
Please Help Me
Thank You
tulasiram3975
31-Mar-11 4:12am
View
Dear Sir,
I tried With Both The Operators (<> or !=)
but result will be same
Here What I need is
in my two tables i Placed one Unique Column called (sid) I need to Get The Values from table1 in which Sid Not Presented In Table2
Could You Please Help Me Out
thanks in advance
tulasiram3975
10-Mar-11 3:22am
View
Make Sure Do Not Bind Data to Grid View Before RowUpdating Block
BindGrid() This Method Will Run After RowUpdating Block
Check In Page_Load BindGrid() --> Call This Method Page Is Not Post Back Only
tulasiram3975
7-Mar-11 13:22pm
View
thanks you for trying .....
tulasiram3975
7-Mar-11 13:06pm
View
am tried in this way now also but still Date Column Not Coming...
Please Help Me Out
thank you
tulasiram3975
7-Mar-11 12:57pm
View
Deleted
let me know where do i pass connection string please...
i need to define one method for a connection here....
tulasiram3975
7-Mar-11 12:47pm
View
ok am very sorry for late replay
this is my table :
sno int(11) NO PRI NULL auto_increment
sid int(11) NO NULL
fistfeetype varchar(50) NO NULL
feestypes varchar(50) NO NULL
feesamount varchar(10) NO NULL
totalpaid varchar(15) NO NULL
dueamount varchar(15) NO NULL
paymentdate date NO NULL
paymode varchar(10) NO NULL
bank varchar(20) NO NULL
checkno varchar(25) NO NULL
status varchar(15) NO NULL
thank you for answering sir
tulasiram3975
7-Mar-11 5:47am
View
But sir, Remaining All Columns coming into gridview e.g:select sid from paymentdetails works fine sid coming. the only problem is date please help me sir ...
thank you
tulasiram3975
7-Mar-11 5:24am
View
am really sorry,
i got an error from this query(select paymentdate from paymentdetails)
error is:
The data source for GridView with id 'GridView1' did not have any properties or attributes from which to generate columns. Ensure that your data source has content.
tulasiram3975
7-Mar-11 5:09am
View
Deleted
No Sir ,
if i use (select paymentdate from paymentdetails) then GridView Not Appearing
tulasiram3975
7-Mar-11 3:48am
View
No sir,
if i use this(select paymentdate from paymentdetails) gridview not appearing sir...
tulasiram3975
7-Mar-11 3:43am
View
if i use this query(select p.sno, p.paymentdate from paymentdetails p) then i get only sno . date column not coming i think this is a problem of date format in mysql and gridview thank you
tulasiram3975
7-Mar-11 2:44am
View
i removed quotation, had column in table and is a Date DataType third one is i had more than 30 columns but it won't work my code is:
MySqlDataAdapter da = new MySqlDataAdapter("select p.sno as RecieptNo,p.feesamount,p.totalpaid,p.dueamount,p.paymentdate,p.paymode,p.bank,p.checkno,p.status from paymentdetails p,studentdetails s where p.sid=s.sid and s.class='" + DropDownList2.SelectedValue + "' and s.division='" + DropDownList3.SelectedValue + "' and s.rollno='" + DropDownList4.SelectedValue + "' order by p.sno", con);
DataSet ds = new DataSet();
da.Fill(ds);
GridView1.DataSource = ds.Tables[0];
GridView1.DataBind();
remaining all columns coming into gridview except paymentdate
no error message while showing output
thank you
tulasiram3975
7-Mar-11 2:01am
View
i tried in many ways like this way also. in order to escape from predefined keywords
tulasiram3975
7-Mar-11 1:59am
View
thanks for suggestion
tulasiram3975
1-Feb-11 3:16am
View
i am trying to solve my problem but it still remains
tulasiram3975
31-Jan-11 5:25am
View
thank you very much
tulasiram3975
28-Jan-11 3:27am
View
sir could you please give me the directions to play video using DirectShow i have seen DirectShow library but i don't know how to use(i am seriously doing sir) please help me. you only the person helps me kindly help me thank you
tulasiram3975
28-Jan-11 3:21am
View
actually i used mysql-coonecter installed in my system its a strong names assembly which is in GAC
but now i need to give the reference to windows server i am new to do everything so please kindly tell me the process(step by step) thank you in advance
tulasiram3975
25-Jan-11 5:45am
View
actually am unzip a video file from .zip file it takes long time to extracting the file at specified location after that i am playing the unzipped file the entire process take long time so that i need to reduce the time that's why i need to play from memory stream
tulasiram3975
25-Jan-11 0:04am
View
in order to reduce time i need to play from memory stream
tulasiram3975
19-Jan-11 6:08am
View
Thank you very much
tulasiram3975
11-Jan-11 6:50am
View
can we generate dynamically
tulasiram3975
11-Jan-11 6:16am
View
i am using dynamic text boxes only i dont have knowledge of ajax
tulasiram3975
23-Dec-10 3:44am
View
Good Call
thank you i get you thank you very much
tulasiram3975
23-Dec-10 3:11am
View
$(myNewTextbox).datepicker(); if i do like this i am not getting datepicker on clicking text box
tulasiram3975
23-Dec-10 0:36am
View
Thank You Very Much Sir
Great Answer For Me Thank You.
tulasiram3975
22-Dec-10 2:01am
View
if i click on first text box i get datepicker if i click second text box i need to get datepicker and so on.. because each text box contains different dates i hope you understand please help me sir..
tulasiram3975
22-Dec-10 1:58am
View
assign datepicker to each textbox not value
like $("#txtdate").datepicker();
tulasiram3975
22-Dec-10 0:25am
View
i did't get you but i tried datepicker disappear
tulasiram3975
18-Dec-10 9:16am
View
You Are My God Thank You Very Much sir.......
tulasiram3975
18-Dec-10 9:13am
View
Deleted
'System.Web.UI.Control' does not contain a definition for 'Text' and no extension method 'Text' accepting a first argument of type 'System.Web.UI.Control' could be found (are you missing a using directive or an assembly reference?)
cObject.Text This line also shows error sir
tulasiram3975
18-Dec-10 8:37am
View
i am Sorry to ask You sir Please Execuse me
tulasiram3975
18-Dec-10 8:30am
View
'System.Web.UI.Control' does not contain a definition for 'Name' and no extension method 'Name' accepting a first argument of type 'System.Web.UI.Control' could be found (are you missing a using directive or an assembly reference?
cObject.Name.Contains("tot") for this line Showing this exeception sir
tulasiram3975
18-Dec-10 8:17am
View
text is not a same value it varies every time means if textbox1 contains david textbox2 contains ram like that
tulasiram3975
18-Dec-10 8:14am
View
not at java script
at code behind
tulasiram3975
18-Dec-10 6:43am
View
not work sir
i have created only with one TextBox class
like
for(i=0;i<10;i++)
{
TextBox txt=new TextBox()
txt.id="txt"+i;
controls.add(txt);
}
}
tulasiram3975
10-Dec-10 6:17am
View
Thank you
tulasiram3975
10-Dec-10 4:50am
View
i have seen many web site but i did get solution thats why i did like this sorry
tulasiram3975
8-Dec-10 4:23am
View
if(people behave like you)
{
no one willing to ask question;
}
tulasiram3975
7-Dec-10 2:38am
View
the way i proceed like this situations
tulasiram3975
7-Dec-10 2:05am
View
i want to add unbound field to grid view at my specific position
tulasiram3975
6-Dec-10 7:16am
View
can you give me a sample code or the process
tulasiram3975
3-Dec-10 4:32am
View
thanks for compliment
tulasiram3975
3-Dec-10 2:30am
View
problem is solved sir i change event
tulasiram3975
1-Dec-10 2:02am
View
i used mysql database i invoked through command and i add radio button as item template here my problem is it add to the first column but i need to add end column of grid view
tulasiram3975
29-Nov-10 1:45am
View
i have seen sir but i need to add at the end column of grid view
tulasiram3975
29-Nov-10 1:41am
View
you did't understand my question sir i need to place check box to the end of the column
tulasiram3975
27-Nov-10 2:17am
View
sir textbox it's ok but i used radio buttons
i need find out it is cheched or not on button click
tulasiram3975
27-Nov-10 1:16am
View
ok if i recreated then i lost previous radio button id's after button click
again new id's created for every radio button all are unchecked again
so what can i do how can i find dropdown_selected index changed events radio button id's please help me i am doing from yesterday
tulasiram3975
27-Nov-10 0:31am
View
remaining code sir
<option selected="selected" value="division B">division B</option>
</select>
</td>
</tr>
<tr>
<td align="left">
Todays Date:
</td>
<td colspan='2' align="left">
<input name="datepicker" type="text" id="datepicker" />
</td>
</tr>
<tr>
<td class="style1">
Roll No
</td>
<td class="style1">
Student Name
</td>
<td class="style1">
Prent/opsnt
</td>
</tr>
</table>
<br />
<table id="atntab" border="0">
<tr id="tr0">
<td><span>1235</span></td><td><span>ram1</span></td><td id="tc20"><input id="attrad0" type="radio" name="attrad0" value="attrad0" /></td>
</tr><tr id="tr1">
<td><span>1236</span></td><td><span>ram2</span></td><td id="tc21"><input id="attrad1" type="radio" name="attrad1" value="attrad1" /></td>
</tr><tr id="tr2">
<td><span>1237</span></td><td><span>ram3</span></td><td id="tc22"><input id="attrad2" type="radio" name="attrad2" value="attrad2" /></td>
</tr><tr id="tr3">
<td><span>1238</span></td><td><span>ram4</span></td><td id="tc23"><input id="attrad3" type="radio" name="attrad3" value="attrad3" /></td>
</tr><tr id="tr4">
<td><span>1239</span></td><td><span>ram5</span></td><td id="tc24"><input id="attrad4" type="radio" name="attrad4" value="attrad4" /></td>
</tr><tr id="tr5">
<td><span>1240</span></td><td><span>ram6</span></td><td id="tc25"><input id="attrad5" type="radio" name="attrad5" value="attrad5" /></td>
</tr><tr id="tr6">
<td><span>1241</span></td><td><span>ram7</span></td><td id="tc26"><input id="attrad6" type="radio" name="attrad6" value="attrad6" /></td>
</tr>
</table>
<br />
<br />
<input type="submit" name="Button" value="Submit" id="Button" />
<br />
<br />
</div>
</form>
</body>
</html>
tulasiram3975
27-Nov-10 0:30am
View
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>
Untitled Page
</title><link href="jquery-ui-1.8.6.custom.css" rel="stylesheet" type="text/css" />
<script src="jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="jquery-ui-1.8.6.custom.min.js" type="text/javascript"></script>
<script>
$(document).ready(function() {
$("#datepicker").datepicker();
});
</script>
<style type="text/css">
.style1
{
height: 22px;
}
</style>
</head>
<body>
<form name="form1" method="post" action="Attedence.aspx" id="form1">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKLTcxMTE3OTg2MA9kFgICAw9kFgQCAQ8QZGQWAQIIZAIDDxBkEBUCCmRpdmlzaW9uIEEKZGl2aXNpb24gQhUCCmRpdmlzaW9uIEEKZGl2aXNpb24gQhQrAwJnZxYBAgFkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYOBQdhdHRyYWQwBQdhdHRyYWQwBQdhdHRyYWQxBQdhdHRyYWQxBQdhdHRyYWQyBQdhdHRyYWQyBQdhdHRyYWQzBQdhdHRyYWQzBQdhdHRyYWQ0BQdhdHRyYWQ0BQdhdHRyYWQ1BQdhdHRyYWQ1BQdhdHRyYWQ2BQdhdHRyYWQ2e7exRwXjFbZYM3UPmwyjvOnHLtM=" />
</div>
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</script>
<div>
<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWGgLGqLjvCgKd5I/lCgKW2f7iCwK/3v7iCwKSi6WLBgKTi6WLBgKQi6WLBgKRi6WLBgKWi6WLBgKXi6WLBgKUi6WLBgKFi6WLBgKKi6WLBgKSi+WIBgKe5I/lCgKhzLugAQKhzKegAQKl7vr7B2ZmZmZmZmYC0/6+wASeztqqcgGPsUs/8hqBF0wzu3AY1w==" />
</div>
<div>
<table style="height: 57px; width: 461px">
<tr>
<td colspan='3'>
Attendence
</td>
</tr>
<tr>
<td align="left">
Select Class
</td>
<td colspan='2' align="left">
<select name="DropDownList1" önchange="javascript:setTimeout('__doPostBack(\'DropDownList1\',\'\')', 0)" id="DropDownList1" style="height:16px;width:105px;">
<option value="U.K.G">U.K.G</option>
<option value="L.K.G">L.K.G</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option selected="selected" value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select>
</td>
</tr>
<tr>
<td align="left">
Select Division
</td>
<td colspan='2' align="left">
<select name="DropDownList2" önchange="javascript:setTimeout('__doPostBack(\'DropDownList2\',\'\')', 0)" id="DropDownList2" style="height:16px;width:105px;">
<option value="division A">division A</option>
tulasiram3975
27-Nov-10 0:30am
View
i had tried many times with find control method
tulasiram3975
27-Nov-10 0:29am
View
Please check and give me reply sir
tulasiram3975
27-Nov-10 0:29am
View
Remaining code sir
<option selected="selected" value="division B">division B</option>
</select>
</td>
</tr>
<tr>
<td align="left">
Todays Date:
</td>
<td colspan='2' align="left">
<input name="datepicker" type="text" id="datepicker" />
</td>
</tr>
<tr>
<td class="style1">
Roll No
</td>
<td class="style1">
Student Name
</td>
<td class="style1">
Prent/opsnt
</td>
</tr>
</table>
<br />
<table id="atntab" border="0">
<tr id="tr0">
<td><span>1235</span></td><td><span>ram1</span></td><td id="tc20"><input id="attrad0" type="radio" name="attrad0" value="attrad0" /></td>
</tr><tr id="tr1">
<td><span>1236</span></td><td><span>ram2</span></td><td id="tc21"><input id="attrad1" type="radio" name="attrad1" value="attrad1" /></td>
</tr><tr id="tr2">
<td><span>1237</span></td><td><span>ram3</span></td><td id="tc22"><input id="attrad2" type="radio" name="attrad2" value="attrad2" /></td>
</tr><tr id="tr3">
<td><span>1238</span></td><td><span>ram4</span></td><td id="tc23"><input id="attrad3" type="radio" name="attrad3" value="attrad3" /></td>
</tr><tr id="tr4">
<td><span>1239</span></td><td><span>ram5</span></td><td id="tc24"><input id="attrad4" type="radio" name="attrad4" value="attrad4" /></td>
</tr><tr id="tr5">
<td><span>1240</span></td><td><span>ram6</span></td><td id="tc25"><input id="attrad5" type="radio" name="attrad5" value="attrad5" /></td>
</tr><tr id="tr6">
<td><span>1241</span></td><td><span>ram7</span></td><td id="tc26"><input id="attrad6" type="radio" name="attrad6" value="attrad6" /></td>
</tr>
</table>
<br />
<br />
<input type="submit" name="Button" value="Submit" id="Button" />
<br />
<br />
</div>
</form>
</body>
</html>
tulasiram3975
27-Nov-10 0:28am
View
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>
Untitled Page
</title><link href="jquery-ui-1.8.6.custom.css" rel="stylesheet" type="text/css" />
<script src="jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="jquery-ui-1.8.6.custom.min.js" type="text/javascript"></script>
<script>
$(document).ready(function() {
$("#datepicker").datepicker();
});
</script>
<style type="text/css">
.style1
{
height: 22px;
}
</style>
</head>
<body>
<form name="form1" method="post" action="Attedence.aspx" id="form1">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKLTcxMTE3OTg2MA9kFgICAw9kFgQCAQ8QZGQWAQIIZAIDDxBkEBUCCmRpdmlzaW9uIEEKZGl2aXNpb24gQhUCCmRpdmlzaW9uIEEKZGl2aXNpb24gQhQrAwJnZxYBAgFkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYOBQdhdHRyYWQwBQdhdHRyYWQwBQdhdHRyYWQxBQdhdHRyYWQxBQdhdHRyYWQyBQdhdHRyYWQyBQdhdHRyYWQzBQdhdHRyYWQzBQdhdHRyYWQ0BQdhdHRyYWQ0BQdhdHRyYWQ1BQdhdHRyYWQ1BQdhdHRyYWQ2BQdhdHRyYWQ2e7exRwXjFbZYM3UPmwyjvOnHLtM=" />
</div>
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</script>
<div>
<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWGgLGqLjvCgKd5I/lCgKW2f7iCwK/3v7iCwKSi6WLBgKTi6WLBgKQi6WLBgKRi6WLBgKWi6WLBgKXi6WLBgKUi6WLBgKFi6WLBgKKi6WLBgKSi+WIBgKe5I/lCgKhzLugAQKhzKegAQKl7vr7B2ZmZmZmZmYC0/6+wASeztqqcgGPsUs/8hqBF0wzu3AY1w==" />
</div>
<div>
<table style="height: 57px; width: 461px">
<tr>
<td colspan='3'>
Attendence
</td>
</tr>
<tr>
<td align="left">
Select Class
</td>
<td colspan='2' align="left">
<select name="DropDownList1" önchange="javascript:setTimeout('__doPostBack(\'DropDownList1\',\'\')', 0)" id="DropDownList1" style="height:16px;width:105px;">
<option value="U.K.G">U.K.G</option>
<option value="L.K.G">L.K.G</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option selected="selected" value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select>
</td>
</tr>
<tr>
<td align="left">
Select Division
</td>
<td colspan='2' align="left">
<select name="DropDownList2" önchange="javascript:setTimeout('__doPostBack(\'DropDownList2\',\'\')', 0)" id="DropDownList2" style="height:16px;width:105px;">
<option value="division A">division A</option>
tulasiram3975
26-Nov-10 8:14am
View
i write code again in button click but
the problem is again new id's created for the control
then no one is checked i did't get previous radio button values
so my problem remains sir
tulasiram3975
26-Nov-10 8:01am
View
you are my god sir
thank you for saving me
i like you and i miss you sir
tulasiram3975
26-Nov-10 7:49am
View
sir under dropdownlist selected chenged it is working
but on button click it won't working
tulasiram3975
26-Nov-10 7:30am
View
RadioButton rb = (RadioButton)Page.FindControl("form1").FindControl("atntab").FindControl("tr"+i).FindControl("tc2"+i).FindControl("attrad"+i);
i tried in this way also sir but same exception coming
tulasiram3975
26-Nov-10 7:11am
View
under submit button click sir
tulasiram3975
26-Nov-10 7:03am
View
REMAINING CODE SIR
<option selected="selected" value="division B">division B</option>
</select>
</td>
</tr>
<tr>
<td align="left">
Todays Date:
</td>
<td colspan='2' align="left">
<input name="datepicker" type="text" id="datepicker" />
</td>
</tr>
<tr>
<td class="style1">
Roll No
</td>
<td class="style1">
Student Name
</td>
<td class="style1">
Prent/opsnt
</td>
</tr>
</table>
<br />
<table id="atntab" border="0">
<tr>
<td><span>1235</span></td><td><span>ram1</span></td><td id="tc20"><input id="attrad0" type="radio" name="attrad0" value="attrad0" /></td>
</tr><tr>
<td><span>1236</span></td><td><span>ram2</span></td><td id="tc21"><input id="attrad1" type="radio" name="attrad1" value="attrad1" /></td>
</tr><tr>
<td><span>1237</span></td><td><span>ram3</span></td><td id="tc22"><input id="attrad2" type="radio" name="attrad2" value="attrad2" /></td>
</tr><tr>
<td><span>1238</span></td><td><span>ram4</span></td><td id="tc23"><input id="attrad3" type="radio" name="attrad3" value="attrad3" /></td>
</tr><tr>
<td><span>1239</span></td><td><span>ram5</span></td><td id="tc24"><input id="attrad4" type="radio" name="attrad4" value="attrad4" /></td>
</tr><tr>
<td><span>1240</span></td><td><span>ram6</span></td><td id="tc25"><input id="attrad5" type="radio" name="attrad5" value="attrad5" /></td>
</tr><tr>
<td><span>1241</span></td><td><span>ram7</span></td><td id="tc26"><input id="attrad6" type="radio" name="attrad6" value="attrad6" /></td>
</tr>
</table>
<br />
<br />
<input type="submit" name="Button" value="Submit" id="Button" />
<br />
<br />
</div>
</form>
</body>
</html>
tulasiram3975
26-Nov-10 6:59am
View
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>
Untitled Page
</title><link href="jquery-ui-1.8.6.custom.css" rel="stylesheet" type="text/css" />
<script src="jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="jquery-ui-1.8.6.custom.min.js" type="text/javascript"></script>
<script>
$(document).ready(function() {
$("#datepicker").datepicker();
});
</script>
<style type="text/css">
.style1
{
height: 22px;
}
</style>
</head>
<body>
<form name="form1" method="post" action="Attedence.aspx" id="form1">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKLTcxMTE3OTg2MA9kFgICAw9kFgQCAQ8QZGQWAQIIZAIDDxBkEBUCCmRpdmlzaW9uIEEKZGl2aXNpb24gQhUCCmRpdmlzaW9uIEEKZGl2aXNpb24gQhQrAwJnZxYBAgFkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYOBQdhdHRyYWQwBQdhdHRyYWQwBQdhdHRyYWQxBQdhdHRyYWQxBQdhdHRyYWQyBQdhdHRyYWQyBQdhdHRyYWQzBQdhdHRyYWQzBQdhdHRyYWQ0BQdhdHRyYWQ0BQdhdHRyYWQ1BQdhdHRyYWQ1BQdhdHRyYWQ2BQdhdHRyYWQ2e7exRwXjFbZYM3UPmwyjvOnHLtM=" />
</div>
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</script>
<div>
<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWGgLGqLjvCgKd5I/lCgKW2f7iCwK/3v7iCwKSi6WLBgKTi6WLBgKQi6WLBgKRi6WLBgKWi6WLBgKXi6WLBgKUi6WLBgKFi6WLBgKKi6WLBgKSi+WIBgKe5I/lCgKhzLugAQKhzKegAQKl7vr7B2ZmZmZmZmYC0/6+wASeztqqcgGPsUs/8hqBF0wzu3AY1w==" />
</div>
<div>
<table style="height: 57px; width: 461px">
<tr>
<td colspan='3'>
Attendence
</td>
</tr>
<tr>
<td align="left">
Select Class
</td>
<td colspan='2' align="left">
<select name="DropDownList1" önchange="javascript:setTimeout('__doPostBack(\'DropDownList1\',\'\')', 0)" id="DropDownList1" style="height:16px;width:105px;">
<option value="U.K.G">U.K.G</option>
<option value="L.K.G">L.K.G</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option selected="selected" value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select>
</td>
</tr>
<tr>
<td align="left">
Select Division
</td>
<td colspan='2' align="left">
<select name="DropDownList2" önchange="javascript:setTimeout('__doPostBack(\'DropDownList2\',\'\')', 0)" id="DropDownList2" style="height:16px;width:105px;">
<option value="division A">division A</option>
tulasiram3975
26-Nov-10 6:51am
View
thanks for giving response sir,
sir then also i am getting same exception sir
on second line i created anttab.ID="anttab" but
it won't accepting i don't know please sir you
only the person helps me i like you alot
tulasiram3975
26-Nov-10 6:36am
View
sir can you give me a sample code please so that
i can go through them
tulasiram3975
26-Nov-10 6:24am
View
dynamic table name sir
tulasiram3975
26-Nov-10 6:17am
View
for (int i = 0; i < rows; i++)
{
TableRow tr = new TableRow();
for (int j = 0; j < 1; j++)
{
RadioButton attrad = new RadioButton();
attrad.ID = "attrad" + i.ToString();
TableCell tc = new TableCell();
tc2.Controls.Add(attrad);
tr.Cells.Add(tc2);
}
atntab.Controls.Add(tr);
}
PlaceHolder1.Controls.Add(atntab);
then on button click
i write code like
for (int i = 0; i < 7; i++)
{
string status=null;
RadioButton rb=(RadioButton)PlaceHolder1.FindControl("attrad"+i);
if(rb.Checked)
status="p";
else
status="A";
}
please help me sir thank you
tulasiram3975
26-Nov-10 6:12am
View
sir actually i generated radio buttons dynamically
i had more then 10 id's and i need to know each id is checked or not
tulasiram3975
26-Nov-10 6:09am
View
i tried sir but getting same result(null reference exception)
tulasiram3975
26-Nov-10 6:03am
View
RadioButton rb = (RadioButton)PlaceHolder1.FindControl(Request.Form["attrad"+i]);
i tried in this way but getting null reference exception sir
tulasiram3975
26-Nov-10 5:42am
View
But I had more then 10 id's
tulasiram3975
22-Nov-10 4:39am
View
sir
i stored in databse image link as path
with the path i retrieving image to imagebutton
i did't get your answer
can you tell me clearly please
thanks in advance
tulasiram3975
22-Nov-10 3:12am
View
OleDbCommand cmd = new OleDbCommand("select path from images where imgname='"+TextBox3.Text+"'", con);
OleDbDataReader dr;
dr = cmd.ExecuteReader();
if (dr.Read())
{
foreach (GridViewRow myRow in GridView1.Rows)
{
ImageButton myButton = myRow.Cells[0].Controls[1] as ImageButton;
if (myButton != null)
{
myButton.ImageUrl = dr["path"].ToString();
}
}
}
this is my code and now my problem is after close the webpage and again at
the time of debugging the image what i placed in image button did't appearing
thats the main problem please save me i hope you will solve this problem
thanks in advance
tulasiram3975
22-Nov-10 2:59am
View
thank you for giving answer it was small mistake but you did't tell second problem now code working fine thanks anil
tulasiram3975
20-Nov-10 7:59am
View
Please Excuse Me for asking many times a qustion
i did not get answer thats why asking many time
please beg my apologies
tulasiram3975
8-Sep-10 2:06am
View
Reason for my vote of 1
good one
tulasiram3975
8-Sep-10 2:04am
View
Reason for my vote of 4
good answer
tulasiram3975
7-Sep-10 16:15pm
View
Reason for my vote of 2
good answe
tulasiram3975
7-Sep-10 16:15pm
View
Reason for my vote of 3
he is working well
tulasiram3975
23-Aug-10 0:16am
View
i should move it along the mouse position
tulasiram3975
20-Aug-10 2:14am
View
thank you ok fine
Show More