|
The problem was actually in the code behind. But now I have solved it I was adding: InsertEmpty(); yet I was not supposed But now I'm facing another error after deploying it on server it works properly but when on the client side the user tries to insert data an error occurs:
Exception Details: System.Runtime.InteropServices.COMException: The network path was not found
Why would this happened.
Thanks
|
|
|
|
|
I have two webpages. In one Page I dispaly List of Products using dataGrid.
When I clicked Product id, I displayed another Page for Edit the product details. After edit when, I clcked the Update botton, I want close this Popup window and Refresh the DataGrid values of Previous Page.
Mohan Balal
|
|
|
|
|
Mkanchha wrote: I want close this Popup window and Refresh the DataGrid values of Previous Page.
Use javascript parent window properties to refresh the parent page and use window.close to close the page.
|
|
|
|
|
Thanks for your reply.
When I click update botton in Popup window at a time It should be close the popup and Refresh the Previous Page.
Mohan Balal
|
|
|
|
|
How ArrayList Sort? Numeric or Alphabetical. If you have some good example Please send Me.
Mohan Balal
|
|
|
|
|
If you're not using .NET 2.0, then you're stuck with ArrayList. ArrayLists can be sorted, you just need to provide a function that is used to specify sort order. You can sort them any way you like. MSDN has examples.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Have u tried Sort method of ArrayList?
Mubashir
Software Architect
Storan Technologies Inc, USA
Every job is a self portrait of the person who did it.
|
|
|
|
|
No, I am not tried. In one Interview they asked to Me
Mohan Balal
|
|
|
|
|
|
i think the interviewer was expecting internal Algorithm i think you should read
on MSDN
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
Dear All,
I am making web application using Asp.net C#(Visual Studio2005). And Sql server 2005 as a back End.
My question Is it possible to generate report in hindi (language) format( using anything crystal report or report services of sql server) . Every thing will be in English(all master and transaction entry form in english) only thing i want to generate report language be in hindi.
Please suggest me some idea.
Thanks
regards
imran khan
|
|
|
|
|
using DotNET Framework i.e asp.net , iwant to built application such a way that it must be able to run live video in my website(like cricket or CNN news channel,but it is live telecast).
Can any one suggest me,how to implement this project...........
what are the technologies & tools required,
please help me.;)
Suave shiva
|
|
|
|
|
Please don't cross post.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Suave can u contact me personally..caus i m also doing the same thing..
i m trying that as well..so if we can work together..
let me give u my msn id on ur testimonials
KHATRI
|
|
|
|
|
can u give me ur msn or yahoo id suave?
|
|
|
|
|
hi guys i was wondering how can i check if a string variable is all alphebate? (a-z)
|
|
|
|
|
Use a regular expression like "^[a-z]*$" to verify the string, or loop over the characters in the string and check each one.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi neodeaths,
Its simple. Convert string to char array and check each char for Char.IsLetter
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
good idea thx i'll try it out
|
|
|
|
|
The Best way is the regualar expression by performance wise also
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
when i am trying to send a mail with attatchment one error is coming like
Server Error in '/' Application.
--------------------------------------------------------------------------------
Invalid mail attachment 'C:\Documents and Settings\comp1\Desktop\6-20070329-anu.txt'.
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.Web.HttpException: Invalid mail attachment 'C:\Documents and Settings\comp1\Desktop\6-20070329-anu.txt'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Invalid mail attachment 'C:\Documents and Settings\comp1\Desktop\6-20070329-anu.txt'.]
System.Web.Mail.MailAttachment.VerifyFile() +143
System.Web.Mail.MailAttachment..ctor(String filename) +21
NetsoftInfotech.CorporatePostJob.Submit_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\netsoftinfotech\corporatepostjob.aspx.cs:92
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
ia m using the code for attatchment like
Dim m as mailmessage
m.attatchments.add(filename);
Can anyone help me with these problem.
Regards
Anu
|
|
|
|
|
try the following code for attachment
<br />
Dim mp as new MailMessage <br />
Dim attach as MailAttachment = new MailAttachment("c:\\file.txt")<br />
mp.Attachments.Add(attach)
Mubashir
Software Architect
Storan Technologies Inc, USA
Every job is a self portrait of the person who did it.
|
|
|
|
|
Hi how to validate two textbox values. ex, there are two textboxes, password and confirm password.. I want to compare these two. we can use comparevalidator in ASP.net. but how can we do in windows forms..? can any one send me code? thanks in advance? am using asp.net 2.0 and C#..
|
|
|
|
|
1- why you are posting this question in asp.net forum ??
2- why simply not to use this ??
if (txt1.text == txt2.text)
{
}
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
Hi..
My project was running on my old computer whithout any problem.But I copied the project to my new laptop.now when I try to run this project I face 2 errors that I couldn't solve:
1-the error:
Error while trying to run the project:unable to start debugging on the webserver.you dont have permissions to debug the server.verify that you are a member of the 'Debugger Users' group on the server.
2-If I click ctrl+F5 to pass this error I got the error:
SQL Server does not exist or access denied.
Iam getting the connection string from an xml configuration file as the following:
<ConnectionString>Server=MyLocalServerName;Integrated Security=SSPI;Initial Catalog=MyDatabaseName;</ConnectionString>
Iam running the project localy and Iam using asp.net.
|
|
|
|