|
Hello all,
How i can write a connection for connecting to SQL Server via a button .i want connect to my sql via double click on my button in ASP via C#.net, that when i click on a button my information comes from my database.
thank you.
|
|
|
|
|
I assume you mean ASP.NET, they are different things.
You are asking about SQL Server, or My SQL ? In both cases the answer would be that
1 - web sites do not support double clicking
2 - the core of what you want to do is well and widely documented, have you tried google ?
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Hello,
thanks for your response,
but my purpose from double click was :i want connect to sql server when i click on the button in my site.i know how i connect to sql server for a page that my information be in my page from sql server, but i don't know how i obtain my information from sql server, when i click on my button .
i double clicked in my design page on my button but i don't know what i must write there my purpose is here :
protected void btn_Click(object sender, EventArgs e)
{
}
thank you
|
|
|
|
|
I am using LoginName control inside LoginStatus control. Plz tell me how can i redirect LoginName Value to another aspx page.
Regards Ahmad
|
|
|
|
|
either u can store the login name in any session variable eg. session("LoginName") = loginname.text this will vailable u on any page.
|
|
|
|
|
hi friend's
i have an array with special size such as 10
and the problem is that i want to resize this array without loosing data of this array.
and i can't...
sample:
my array is :
1 ,2 , 3 , 4, 5 {size:5}
and after running my project and after clicking the special button i want to have an array like this:
1 , 2 , 3 , 4 , 5 , , , , , {size=10}
thank you.
msma
|
|
|
|
|
|
thank you
but my array is very large
my array size is 1500 that will increase to 15,000,000 cells and i have to work on this array 1,000,000 times.so i must to declare this array once time with 15,000,000 cells or i increase that size when is need.
with your method, i need a super mainframe for compute...
thank you.
msma
|
|
|
|
|
Use the List class, which is a dynamic array. Arrays can't be resized, you can only create a new array and copy elements from the old one into it.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Hello all,,
i need a Contact List Grabber/importer for ( ASP.NET )
How To import (Hotmail, Yahoo, Gmail, AOL) Contacts...??
Like when you want to invite your friends to websites like (Facebook,, Hi5,, Myspace)
you enter your email and password.. and the script Get's your Contacts... and send them a invite Or Check "Who Is In!" ...
this is a sample of what i need but it's not FREE:
http://www.contactimporter.info/index.aspx
Thanks...
Monir Kh. Abu Hilal
============
Programmer ,, WebDeveloper & WebDesigner
============================
Website : http://www.monirabuhilal.com/
|
|
|
|
|
|
Have you got any solution for this. I have the code to import (Yahoo, Rediff, Outlook, Gmail, Hotmail and AOL) but it is showing some issues with the hotmail and aol. Can you help me out for correcting this.
|
|
|
|
|
Hi,
I am working on Marriage agency website where uploaded images to be saved in database in binary format. and on other page I want to retrive that images in gridview.
Can any one give me idea and sample code ?
Thanks in advance.
|
|
|
|
|
hi
you can load your picture from your database on the another empty page and in your gridview you must to addressed this page instead of the image url
in the other word:
you have to first load your picture from your db and write on the empty page with response.write() command for starting and response.end() after the write and then this page is your loaded image and use this and enjoy.
msma
|
|
|
|
|
Hi fellas.
I am currently working on a website for my project. I am trying to create a settings page where users can change the color schemes (via css) of the page via a dropdown menu.
My question is after the user has inputted the color schema, or in other words, the appropriate css file to load, how do I load that particular css file to the current page?
And even if I managed to load it to the current page, the entire site is supposed to use that particular css file. How do I ensure that?
Thank you and looking forward to your replies!
~A confused and desperate newbie.
|
|
|
|
|
|
Hello,
I have very basic questions:
a) How data is trasnfered from client to server and vice versa on Internet.? Is it binary format or something else....
b) Where viewstate is stored? Is it on server memory?
c) Type are stored in which namespaces? Is it system?
Thanks!!
Thanks!!
|
|
|
|
|
Amit Kumar G wrote: a) How data is trasnfered from client to server and vice versa on Internet.? Is it binary format or something else....
Data is transferred on HTTP (Hyper Text Transfer Protocol) which sits on top of TCP/IP. As the name suggests it is a text based protocol.
Amit Kumar G wrote: b) Where viewstate is stored? Is it on server memory?
On the page. While the server is processing the page a copy be held in the ViewState property.
Amit Kumar G wrote: c) Type are stored in which namespaces? Is it system?
Types in general? Or the Type type. There is a class called System.Type. But types, in general, are placed in the namespace in which they were defined.
-- Always write code as if the maintenance programmer were an axe murderer who knows where you live.
Upcoming FREE developer events:
* Glasgow: Agile in the Enterprise Vs. ISVs, Mock Objects, SQL Server CLR Integration, Reporting Services, db4o ...
* Reading: SQL Bits
My website
|
|
|
|
|
I download one Malayalam unicode font and install it in the windows fonts.i could see this font in the word,but i cannot change the words to this font.My question is how we can use the unicode font in our webpage.i want to show some text in Malayalam,i had given the font for the Textbox is this Unicode font and when i open the webpage what all letters am typing in the Textbox still showing in English.suppose if we are using some unicode font in the webpage and when the people are opening the webpage will they get words in this font.how we can show a text in unicode fonts without installing the fonts in the clients machine.Because the contents every week it is changing so administrator has to do the changes.
|
|
|
|
|
Hi everyone,
I want to develop a simple text editor where i can change text, images,hyperlink,font & color using ASP.NET(C#) 2005.
please show me some code with little explanation.
Waiting for positive reply.
Regards,
ASIF
asif
|
|
|
|
|
bhuraasif wrote: show me some code with little explanation.
Most code I've seen has little explanation. People really need to learn how to document code.
-- Always write code as if the maintenance programmer were an axe murderer who knows where you live.
Upcoming FREE developer events:
* Glasgow: Agile in the Enterprise Vs. ISVs, Mock Objects, SQL Server CLR Integration, Reporting Services, db4o ...
* Reading: SQL Bits
My website
|
|
|
|
|
As a more sensible answer. There are open source projects out there that already do this. Why don't you look for them?
-- Always write code as if the maintenance programmer were an axe murderer who knows where you live.
Upcoming FREE developer events:
* Glasgow: Agile in the Enterprise Vs. ISVs, Mock Objects, SQL Server CLR Integration, Reporting Services, db4o ...
* Reading: SQL Bits
My website
|
|
|
|
|
How to add or show a web part in grid view . we ahpuld be able to move the webpart in the grid view
|
|
|
|
|
Hi.
Here's my situation...
I'm currently working on an ASP.net application that uses the OWC11 components and I'm putting it on a client's machine that's running Windows Vista. I've been able to upgrade all of my code to work with Vista (MySQL, etc), however, I'm hitting a brick wall with OWC11. Everytime I use the ExportPicture method from the ChartSpace class, I get a blank image on the Vista server. However, I will also mention that the exact same code works perfectly on a server with Windows XP Pro SP2, with the same components installed (.Net 3.0, OWC11, and so on).
I've tried regestering the OWC11.dll file using regsvr32 OWC11.dll on the Vista machine, but that has proven to be of no help to my current situation.
Is there a setting in the IIS Management Console that I'm missing on the Vista computer?
Any suggestions are appreciated!
Thanks in advance,
Mitch F.
My sig:
"And it is a professional faux pas to pay someone else to destroy your computer when you are perfectly capable of destroying it yourself." - Roger Wright
|
|
|
|
|
How to check while submitted emailid is exit or not.
|
|
|
|