|
Something like this:
foreach (GridViewRow item in GridView1.Rows)
{
string firstName = ((TextBox)item.Cells[4].FindControl("txtValue")).Text;
string pending = ((TextBox)item.Cells[4].FindControl("txtComment")).Text;
}
|
|
|
|
|
yes i tried this and also the other i.e in OnEditCommand event
TextBox txtTemp = (TextBox)e.item.Cells[2].Controls[0];
and then used the Text property of txtTemp.
But i am getting the value as empty even after the user has entered some text.
Are you getting me??
Kindly help me out.
Thanks,
Srikanth
|
|
|
|
|
Check this link:
http://www.gridviewguy.com/ArticleDetails.aspx?articleID=146
|
|
|
|
|
Hi
Im using Fusion Charts.
My problem is that i have a page that generates a chart BUT the page itself does not seem to be able to store the value of a variable. Cos I want to print out the objects values in a panel next to the chart.
It looks like the Fusion Chart uses Javascript, i dont know if this is the problem here.
What i think could solve my problem was if i could create a page within a page. So ie. my panel could be in one page and the chart in another.Kind of like Outlook. If this will help, will someone please help me out with how to go about doing this??
|
|
|
|
|
HI
In my page i have 2 search Buttons
1. DB search (3 Textboxes)
2. Local search (5 Textboxes)
I gave the DB and Local search textboxes RequiredFieldValidators for validation
When i click Local search button DB serach validation working
How can i fix this
Than Q
Keerthi
|
|
|
|
|
Use ValidationGroup property for Both searching Criteria
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
what u want to fix. plz explain in brief
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
In properties change the Causes validation to false
|
|
|
|
|
HI thx for reply
My prblm is
2 search buttons (search 1 = 3 textboxs::search 2 = 5 textboxs )
i put RequiredFieldValidator's for both search fields
when i click search 2 button the search 1 textboxs validation are working
i want to do is when i click search 2 button only search 2 textboxs validation shud work
how can i do this
Than Q
Keerthi
|
|
|
|
|
I have given u solution .
read my first post.
use ValidationGroup Property for both.
Give ValidationGroup="group1" for DBs RequiredFiledValidators,Textboxes and Buttons
and Give ValidationGroup="group2" for other RequiredFiledValidators,Textboxes and Buttons
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
HI
ValidationGroup="group1" is not working
I think my ver. prblm i am using 1.1
is there any other way to use RequiredFieldValidator
Than Q
Keerthi
|
|
|
|
|
Hi to all.
I have some ASPX pages which are to be converted to PDF formate:
I have successfully to convert DaTAtable to pdf. but that's not enough.
So if anyone has a little idea
'or'
any method
'or'
any .DLL
'or'
code
So,Please post as soon as possible.
|
|
|
|
|
maybe this will help?
http://www.codeproject.com/script/comments/forums.asp?msg=2231475&forumid=12076#xx2231475xx
|
|
|
|
|
Hi
I want to implement forum in asp.net.Can any body tell me how can i
implement forum in asp.net.Is there any softwre available to implemnt
forum which support asp.net like wordpress is available for php through
which we make forum in php.
Please tell me how can i procedd.
Thanks.
Rahul
|
|
|
|
|
http://communityserver.org/ [free + paid]
http://www.yetanotherforum.net/ [free]
http://sourceforge.net/projects/dnfbb [free]
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Thanks
Can i integrate with this software to create forum.Can u little
bit guide me how can i start and how can i use/integrate with that.
Thanks.
Rahul
|
|
|
|
|
No. You don't need to create anymore.. Just download and configure it. and you can use it directly...
Try to download and see the documentation for installing......
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Thanks a lot
I m now dowloading it. After downloading it i have to setup it
on my machiene then i can directly interact with it i am also
read documention after downloading.I i want to enable forum
i have to run setup on my server then i can directly use it.
Rahul
|
|
|
|
|
Ya. You need to upload "PreComplied" folder to your server.. then, run the database setup script thru Web Database manager.. and you can use it..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Precomplied folder means folder which contain setup.exe? and which database
script i have to run?in forum we have to store all question into database?
Ok i will try it?
thanx for u r help?
Rahul.
|
|
|
|
|
>>Precomplied folder means folder which contain setup.exe?
Nope.
Which one did you download? Yet Another Forum.NET?
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
HI
i am downloading http://sourceforge.net/projects/dnfbb this.
which one is user friendly and easy to use?
df
|
|
|
|
|
Hi,
i have given form authentication for my Member page, i kept my Member page in Secure folder.
now i added one more page in Secure folder and i want to assaign form authentication for that page too, but the thing is when i try to click the button instead of redirect to the corresponding page its redirecting to the login page,
Can any body help me how to solve this probs.
Her i am patig my web.config file tooo,
<system.web>
<authentication mode="Forms">
<forms name="frmLogin"
="" loginurl="Login.aspx" defaulturl=".\Secure\Member.aspx">
<authorization>
<allow users="?">
<location path="Secure">
<system.web>
<authorization>
<deny users="?">
|
|
|
|
|
i created the virtual directory and after then i browsed the page on the same machine in the IIS.it is giving the following eror
operation must use an updateable query.i am usinf c# asp.net
the code is following.
IPAddress[] ip;
string str = Dns.GetHostName();
IPHostEntry hostentry = Dns.GetHostByName(str);
ip = hostentry.AddressList;
// return;
OleDbConnection con;
con = new OleDbConnection("provider=Microsoft.Jet.oledb.4.0;data source=" + Server.MapPath("abc.mdb"));
OleDbCommand cmd;
try
{
con.Open();
cmd = new OleDbCommand("insert into a(a)values('" + ip.GetValue(0).ToString() + "')", con);
cmd.ExecuteNonQuery();
con.Close();
}
catch (Exception ex)
{
Response.Write(ex.Message());
con.Close();
}
please help
Soniagupta1@yahoo.co.in
|
|
|
|
|
HI
Its not the IIS problem. If u r using MS Access database then u
have to set accession permission for the database.Once u set
the permission u didn't get this error.
Thanks.
Rahul
|
|
|
|