|
long ContentLeghnth = 0;
SendingParameter.Url =
"http://localhost:8851/Mobily%20reminder/Default.aspx";
string sbData = strDataToPost(SendingParameter, ref ContentLeghnth);
System.IO.StreamWriter srWriter = null;
System.Net.HttpWebRequest Request = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(SendingParameter.Url);
Request.Method = "POST";
Request.ContentLength = ContentLeghnth;
Request.ContentType = "application/x-www-form-urlencoded";
try
{
srWriter = new System.IO.StreamWriter (Request.GetRequestStream());
srWriter.Write(sbData);
srWriter.Flush();
}
catch (Exception ex)
{
string msg = ex.Message;
}
System.Net.HttpWebResponse Response =(System.Net.HttpWebResponse)Request.GetResponse();
using (System.IO.StreamReader sr = new System.IO.StreamReader(Response.GetResponseStream()))
{
string result = sr.ReadToEnd();
// Close and clean up the StreamReader
sr.Close();
}
return true;
}
the compiler stops at the bold statment
plz help
|
|
|
|
|
how to load any dll on run time. please help me.
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
HI All,
Iam calling a web services method using javascript ajax.
If I make the web method at my own system then it work fine .
But if I host the web services into another system,then iam not able to get web method name .
In this iam using Script Manager which take the Service path,I passed the Complete path of Web services but iam not able to get method name in JavaScript(Saying undefined method Name).
Has any body got any idea ???
How to resolve this problem.
Thanks
Rahul
|
|
|
|
|
Hello,
I am conversant with VC++,MFC .Now I want to develop website so what should I start reading .
I have started with HTML .
What is ASP.Net?
Is it related to Web development?
Prithaa
|
|
|
|
|
Start with www.asp.net or www.w3schools.com u will get all the information...
|
|
|
|
|
Shortly, HTML refers more or less to static sites (content is not easily updatable). ASP is a dynamic web page development technology whereby you can connect your web page to a database or whatever and have your content updated without having to go in the code. However, ASP.NET is the newer and easier to use version of ASP (to some extent) and it gives the possibility of building web pages using any of your favourite languages found in Visual Studio.NET framework (usually people use C#, VB.NET or J# to code their ASP.NET pages).
Hope this helps
Carpe diem
Krg
|
|
|
|
|
I have a datagrid in my page which has 5 columns.
While first column being a template column with item template a checkbox and followed by 3 bound column.
The last column is a EditCommand column.
The problem which i face is when the Edit is clicked in EditCommand column the bound column are getting changed to editable mode in a textbox. But i couldnt access the text entered by the user in these editable columns which has to bo updated.
i tried typecasting the controls[0] property of the item to textbox and access it but the text value is empty.
Similar is the case for checkbox.
Kindly help me out.
Thanks,
Srikanth
|
|
|
|
|
Make the column as readonly..
|
|
|
|
|
Making the column readonly will only restrict user from editing the column. ofcourse i have made the columns which i dont want the user to edit as read only.
But the column which should be edited by the user cannot be set as readonly. i need to know how to access the data entered by the user in the editable column.
Thanks,
Srikanth
|
|
|
|
|
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
|
|
|
|