|
sory..the coding is not complete.
for(int i=0;i<dataset11.tables["table"].rows.count;i++)
{
oledbdataadapter1.fill(dataset11,"tables1");
page.databind();
}
okey...i found="" two="" lines="" of="" coding="" about="" navigating="" the="" database="" but="" they="" are="" written="" in="" vb="" language.="" i="" don't="" know="" to="" convert="" it="" c#="" nor="" use="" it.
dataset.tables("table").rows(0).item("field")="" ---="">this will return the first record.
dataset.Tables["table"] .Rows.Count()--->this will return the total number of rows.
|
|
|
|
|
Hello Friends,
My client wants online chatting to other clients.So i want to include chat in my project.How i chat with different online users by conference.Please send some tips related to this question.If i add a user and chat with him by conference.Please send code related to this..Please avoid my query and mail it.Thanks
|
|
|
|
|
SreejithAchutan wrote: Please avoid my query and mail it.
hum? what?
SreejithAchutan wrote: .So i want to include chat in my project.
You mean, you wanna include the chat application in your project, right?
Search in CP
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
how can we stop the user not to select zero bytes in the choose file its self using file upload control...when user selects a zero bytes file the prompt message should come that file zero bytes will not accepted
|
|
|
|
|
if(FileUpload.PostedFile.ContentLength >=0 )
function to execute
else
Prompt the message
AS
|
|
|
|
|
hi now iam having the code file if(upload1.hasfile)in that some other function call is there.instead of this can i write like this
if(FileUpload.PostedFile.ContentLength >=0 )
function to execute
else
|
|
|
|
|
Hi,
url for the next page is like:
MyDomain/Products.apsx?CatID=20
And I want to display it like this:
MyDomain/Category1_Name.aspx
So what should I do. I does not have any idea regarding this.
Naresh Patel
|
|
|
|
|
N a r e s h P a t e l wrote: So what should I do
Search in google[^]
|
|
|
|
|
Search for URL mappings also
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
URL Rewriting[^]
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
Hi All,
I want to use Excel WorkSheet and Crystal Reports in my project
so anyone give me some idea or tools for implmenting this particular in my project.
I had use successfully into my localhost but my IIS and Web Server throwing an error from web.config as configuration error for crystal reports when I used crystal reports assemblies.
And When I use Excel Sheet through
System.Runtime.InteropServices.Marshal.ReleaseComObject
the error is following
"Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154"
so give me some idea or suggestions.
Thanks And Regards
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
You might want to put the whole error message in a google search and see what comes up.
"I've seen more information on a frickin' sticky note!" - Dave Kreskowiak
|
|
|
|
|
Hello Friends,
I'm working on a project in which the admin. can change the contents of his/her site dynamically.
I've to create dynamic hyperlink to a text as the admin wants. As the code project provides this facility as given below
google(Click Here To Visit google)
|
|
|
|
|
Here you can done this thing like same as page cms.
1. At admin side create table and store the links into that table and fetch
2. Fetch that links on that pages u wants by coding.
|
|
|
|
|
Hello,
Can u explain it ...........plz
|
|
|
|
|
1.Create one page at the admin side for the Link_Title and it's Url and add this into database and Also Add the active and order field.
2.Front side get all this link by coding .
lbllink + = "<a href='+ Server.UrlEncode(dt.Rows[i]["url"].ToString()) + "'>" + dt.Rows[i]["link"].ToString() + "</a> | ";
|
|
|
|
|
iam having two file upload controls now i want if i select a file with zero bytes in of the file upload control it should prompt file with zero bytes is not accepted...
|
|
|
|
|
Get a Content Length of the file and compare it with 0 than will display the message that 0 size file is not accept
|
|
|
|
|
You can only check the size of the file once it has been posted to the server. Check PostedFile.ContentLength in your postback to get the size of the file in bytes.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
if(FileUpload.PostedFile.ContentLength <=0 )
?
|
|
|
|
|
hi now iam having the code file if(upload1.hasfile)in that some other function call is there.instead of this can i write
if(FileUpload.PostedFile.ContentLength >=0 )
function to execute
else
not execute
|
|
|
|
|
Hello,
VB 2005
I have taken over a project.
The web forms displays a frame one with a tree view and one will display the content of what the node on the tree view is clicked.
However, even though the tree view is displayed the content doesn't display in the other main frame. However, everything works fine in IE 6 but not in IE 7.
Is there something that need to be configured to make this work in IE 7.
Many thanks for any suggestions,
Steve
|
|
|
|
|
steve_rm wrote: Is there something that need to be configured to make this work in IE 7.
Nope. I think there might be some issues in your Javascript code only.. If the code doesn't work on IE7 then it might not work on non-IE browsers (e.g. Firefox.) What I wanna suggest you is that try to test your page in Firebug.. then, you will know which code has the problem...
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
i want create a aspmenu in office designer can anybody know about it?
|
|
|
|
|
Hi
i have a project in visual studio2005 and c#.net. i want check my yahoo email with my project and i want know that howmany email there are that i dont read them. can i do? is it possible?
|
|
|
|