Forum: ASP.NET 20 Days Ago |
| Replies: 4 Views: 197 Hi
Try the query like this
SELECT count(*)
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = 'mytable' |
Forum: ASP.NET Jul 2nd, 2009 |
| Replies: 2 Views: 374 hey guys..
I got the solution...
Used setTimeout function for the alert.
this way
You can play with the timeout value (100 or other instead of 0).
I set the timeout to 50.. and it worked
... |
Forum: ASP.NET Jul 1st, 2009 |
| Replies: 2 Views: 374 Hi Friends,
I am using update Panel to update the records without being page refreshed...
and using updateProcess control to lock the screen with ModalPopup div Css..
After Updating... |
Forum: ASP.NET Jun 24th, 2009 |
| Replies: 6 Views: 500 Thank you friends form your replies...
hey mail2saion.. your link really helps..
I got the solution |
Forum: ASP.NET Jun 23rd, 2009 |
| Replies: 6 Views: 500 thanks ashish for your post
I want to alert the user only if he modified some of the data(may be a character) and trying to move on other links.. otherwise let him go if no changes made... ... |
Forum: ASP.NET Jun 23rd, 2009 |
| Replies: 6 Views: 500 Hi Friends,
I have a web Application created, there is an option to Add/Edit the forms.
My requirement is something like...
When a user opens any record for editing, the details are... |
Forum: ASP.NET Jun 23rd, 2009 |
| Replies: 2 Views: 633 Hey.. guys
I dint found any option to format it,
The link below gives the custom Auto CompleteExtender..
... |
Forum: ASP.NET Jun 16th, 2009 |
| Replies: 2 Views: 633 Hi Friends,
I am using Ajax AutoCompleteExtender for my search results(autoSuggest). The Control works fine
and I could get the results coming from WebService in Panel with scrollable... |
Forum: ASP.NET Jun 6th, 2009 |
| Replies: 2 Views: 706 Hey.. guys.
Thank you for your views and responses....
As I am updating the Listbox items.. using JS, the updated items cannot be received at the backend cs file..
The Solution I Used :... |
Forum: ASP.NET Jun 5th, 2009 |
| Replies: 2 Views: 706 Hi Guys,
I have 2 listboxes Listbox1,Lixtbox2..
I am moving items from Listbox1 to Listbox2.. and vice versa using Javascript with the button clicks.
The code is working fine.. but... |
Forum: C# Apr 17th, 2009 |
| Replies: 5 Views: 1,977 Hi Jerry,
Thank you, Please provide me the more info.. about the book and where can I get that... |
Forum: C# Apr 10th, 2009 |
| Replies: 2 Views: 399 Hi
Check this
http://www.sitepoint.com/article/net-web-services-5-steps/
A step by step example |
Forum: C# Apr 10th, 2009 |
| Replies: 5 Views: 1,977 Thank You,
I got something like this
http://amitpatriwala.wordpress.com/2008/12/03/convert-generic-list-in-to-datatable/
I particularly wanted as..
where fnAllGetProducts() returns the... |
Forum: C# Apr 10th, 2009 |
| Replies: 5 Views: 1,977 Hi Guys,
I am in situation.. where I need to Convert List of Class objects to DataTable.
for example :
- Class Product
- ProductId,ProductName,Description,Price are the Product... |
Forum: ASP Apr 5th, 2009 |
| Replies: 3 Views: 1,370 ok.. good
You are welcome..
please mark this thread as solved.. |
Forum: ASP Apr 2nd, 2009 |
| Replies: 3 Views: 1,370 Hi,
It seems your query is not returning any values.. try doing this
select * from Trains where Route like '%'+@Route1+'%' and Route like '%'+@Route2+'%' |
Forum: C# Apr 2nd, 2009 |
| Replies: 5 Views: 573 Hi,
For the Control Values.. U need to convert your Bound Controls to TemplateFields. chk this
then you can FindControl these values.. in your .cs file |
Forum: ASP.NET Apr 1st, 2009 |
| Replies: 1 Views: 698 Hi,
Try the regular expression as [0-9]+
Let me know if it works.. |
Forum: ASP.NET Apr 1st, 2009 |
| Replies: 2 Views: 417 Hi,
Here is the way. u can send mail to admin, while entering the data into DB
using System.Net.Mail;
MailMessage msgMail = null; |
Forum: C# Apr 1st, 2009 |
| Replies: 5 Views: 573 Hi
The code mentioned in PageLoad.. gets repeated for every postback,
try this way... |
Forum: ASP.NET Mar 24th, 2009 |
| Replies: 4 Views: 482 Hi..
Here may be you not are passing the Login correctly or connection string formed is incorrect...
Best way is to get your connection string from Server Explorer in Visual studio
Chk this :... |
Forum: ASP.NET Mar 24th, 2009 |
| Replies: 1 Views: 1,143 Hi..
U need to convert your Bound Field to Template field
Try doing this..
<asp:TemplateField HeaderText="Total Size">
<ItemTemplate>
<asp:Lable... |
Forum: C# Mar 23rd, 2009 |
| Replies: 1 Views: 590 Hi,
Yes while reading the lines from the files
you can save the data into DataTable in this way
try doing this... |
Forum: ASP.NET Jan 2nd, 2009 |
| Replies: 9 Views: 3,458 Hi...
Chk this link : http://www.dotnetfunda.com/articles/article29.aspx |
Forum: ASP.NET Dec 10th, 2008 |
| Replies: 11 Views: 1,418 Hi
did you tried doing this.. ?
protected void Page_Load(object sender, EventArgs e)
{
if(!IsPostback)
{
// your complete Country code here
} |
Forum: ASP.NET Dec 9th, 2008 |
| Replies: 11 Views: 1,418 Hi..
Put all the code in Page load event in !IspostBack like below..
protected void Page_Load(object sender, EventArgs e)
{
if(!IsPostback)
{
// your... |
Forum: ASP.NET Dec 3rd, 2008 |
| Replies: 3 Views: 524 Hi...
The code you are following does overwrites the Grid.
What you can do is
- Copy the data getting from the dsDetails.Table[0] into the DataTable
- Copy that Datatable into the session
-... |
Forum: ASP.NET Dec 3rd, 2008 |
| Replies: 12 Views: 4,503 ok..
try by putting alert("hello")
inside the function
and when are you calling the function, under which event ? |
Forum: ASP.NET Dec 3rd, 2008 |
| Replies: 12 Views: 4,503 Hi Sancti
Are you passing the parameter values to the function
As follows...
Response.write("<script>func('"+DropDownList1.SelectedIndex+"','"+ startDate+"','"+ endDate+"')</script>"); |
Forum: ASP.NET Dec 3rd, 2008 |
| Replies: 12 Views: 4,503 ok...
is previous error is solved ?
can u show me the code where you calling this function from .cs page ?
and what is error getting calling the function ?
is it the JavaScript error ? |
Forum: ASP.NET Dec 3rd, 2008 |
| Replies: 12 Views: 4,503 ok...
try using
HttpContext.Current.Response.Write("<script>YourFunctionName(); <\script>") |
Forum: ASP.NET Dec 3rd, 2008 |
| Replies: 19 Views: 2,014 Try doing this.. it should work
Replace this code :
ddlItems.DataSource = dsCategory;
ddlItems.DataMember = "Categories";
ddlItems.DataTextField = "Description";
With ... |
Forum: ASP.NET Dec 3rd, 2008 |
| Replies: 12 Views: 4,503 You can call that function using Page.ClientScript method
something like:
Page.ClientScript.RegisterStartupScript(this.GetType(), "Test", "YourFunctionName();",true);
Or you can also attach a... |
Forum: Java Dec 9th, 2007 |
| Replies: 10 Views: 2,294 At some point, Java source needs to become platform-native executable code. This typically requires a two-step process: the developer compiles his or her source into Java bytecode, and then a Java... |