|
1 - Read this[^]. Specially point 5
2 - Goto correct forum.
|
|
|
|
|
Yors given link navigate to to some page
url of it is http://www.codeproject.com/script/Forums/View.aspx?fid=12076&select=2775545&tid=1278599
which shows nothing to me sir
Please give me some hint bcose it is really urgent to me
Raghvendra
|
|
|
|
|
I m eagerly waiting urs response sir
Raghvendra
|
|
|
|
|
stp tlking in txt, go to rite forum an u mite get an anser
|
|
|
|
|
You need to stick this in the SQL forum, but you might want to look at the fact that you are declaring a global cursor within a procedure that you recursively call from within the cursor...
|
|
|
|
|
Sir If u can Give me some help regarding i would be thankful to u bcos i nedd it urgent
i m facing same prob since last 2 days
Raghvendra
|
|
|
|
|
He did give you some help. Read the post and look at what you were told about global cursors.
Member 4659001 wrote: i nedd it urgent
Urgency is all in the eye of the beholder.
More urgently, you nedd a new keyboard, some of ur keys r mssing
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Hi
I want to know a way by which i can create a .txt file in another system having username and password connecting through a path
Eg:"ftp//68.288.132.109/UserName/Password"
|
|
|
|
|
As you have IP/Username/Pwd, WMI should allow u to connect to remote computer and create files in it. So google your problem with WMI in the search query and u should be able to get some code snippets
srinivaskonijeti wrote: Subject:Creating a .txt file in a web form (Urgent)
Urgent is beautifully ignored by all of us
-------------------------------------------
It's code that drives you - Shyam
|
|
|
|
|
srinivaskonijeti wrote: create a .txt file in another system having username and password connecting through a path
You can't. ASP.NET is not built for that.
|
|
|
|
|
Hi all
I am developing a web application wher i need to have some parent child relations.
I need a special gridview (something else doesn't matter) where i can do multiple add/update/delete events then in one click save all. My client cann't handle a server trip on each event.
Any Help !!!!
|
|
|
|
|
This is my first.cs page.....
namespace testvalueobject
{
/// <summary>
/// Summary description for first
/// </summary>
[Serializable]
public class first
{
int a, b, c;
public first()
{
a = 10;
b = 20;
}
[XmlAttribute]
public int add()
{
c = a + b;
return c;
}
}
}
this is my default.aspx.cs page....
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using App_Data.testvalueobject;
using App_Data.testvalueobject.first;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
i can't access the methods of cs page in aspx.cs page......
kindly help me soon
sarala.s
|
|
|
|
|
Create an object of the class file in aspx file and then you can access the variables. You can also access it using properties.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
First F=new First();
int a=F.Add()
What is issue with that ? are you talking about some thing different ?
cheers,
Abhijit
|
|
|
|
|
I am using an Update Panel in my page called Company.aspx for populating Countries and States. There are two dropdownlists for the States and Countries. This is working perfectly fine.
In the database, there is a table called Company where the StateId and CompanyId is stored.
Now, if I want to display back the Country and State in the particular dropdownlists, how should I do that in the dropdownlists which is in the UpdtePanel? When I try to do as follows, it doesn't give me any error, but not selecting that particular value:
ddlCountry.SelectedItem.Value = Codtls.CountryName; // CoDtls.CountryName is a property having the country name.
Can anybody pls help me? Any code examples? Thanks in advance for any help.
Please let me know if I need to clarify more.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
Couldn't get your problem
Can you explain a bit little more
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... "
Check My Blog
|
|
|
|
|
I have two dropdownlist in my form for populating Country and States. When user selects a Country, the corresponding States will populate in the State dropdownlist. I have done this using the UpdatePanel. So whenever user selects a country, the States dropdownlist will automatically populated without a postback. While saving the data, I'm passing the selected CountryId and StateId.
Now, if I want to show those selected values back in the respective dropdownlists from the database, how should I do that? I can get the value from DB, but not able to show those selected values while loading. By default, in the Country Dropdownlist the first item is selected and nothing in StateDropdownlist.
For eg: While inserting, if the user selects Country as India and State as Karnataka, then while doing modificiations,the page should show in the respective dropdownlists those values selected.
Sorry for a long post. Hope now it is more clear.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
hi
i have a gridview manually bounded to an accsess db. how can i adjust (in my case reduce) the width of specific columns?
i've tried to set the width for the header,footer and item templates but all it did was narrowing an invisible text area - caused the text to wrap down but the size of the column remained the same...
help on this will be very appreciated..
thanks
j
|
|
|
|
|
try, eg:
....Columns(1).ItemStyle.Width = System.Web.UI.WebControls.Unit.Percentage(30)
or
....Columns(1).ItemStyle.Width = System.Web.UI.WebControls.Unit.Pixel(100)
|
|
|
|
|
thanks Phil but i've tried that and didnt effect the columns width
j
|
|
|
|
|
hmm, well... remember that web-controls are rendered on the page as straight HTML - tables in this case. Take a look at the page source of one of your pages and see the HTML code there - is there an appropriate
<td width="XX">
in there?
Assuming so, remember that the width may still display incorrectly if the other column widths are either not set or are contradictory...
|
|
|
|
|
i've looked at the source code and width is appearing as i've set it, i.e. if i'm using:
gridView.Columns[4].ItemStyle.Width = Unit.Percentage(30);
i'm getting:
td style="width:30%;"
how do you think setting the width issue can be solved?
thanks,
J
|
|
|
|
|
Then something else is throwing it off - you will have to examine the HTML to see what it might be:
- something with a non-variable width (eg an image) that is wider than the column width allocated
- are column widths set for ALL columns?
- if so, are they contradictory (maybe they add up to only 90%, or 110%)
- is an overall table width set? if so, does it tally with the sum of the column widths?
- have you taken table borders, cellspacing and cellpadding into account, as well as margins/borders round objects within (eg images, again)
- is this a browser-specific issue?
All sorts of things can combine to throw off a table display - but at least you know the correct width is being applied via your code. All you need to do is figure out what's wrong in the resultant HTML and adjust things accordingly....
|
|
|
|
|
thanks... i will examine all that i can think of
j
|
|
|
|
|
Hi All,
I was developed a site, in that there is a form enquiry.aspx. The problem is when is try to run the site in dubug mode(By press F5 from my VS) it works fine. Even the enquiry also work fine. But when i uplad the site on the server the mail send option is not working.
What would the problem.
Awaiting for reply
Yogesh Agarwal
|
|
|
|