Add this tag before head tag in the page html. HTH
Coding C# ExciteTemplate
Add this tag before head tag in the page html. HTH
Coding C# ExciteTemplate
Have you enabled Client Protocol > Named Pipes ?
Coding C# ExciteTemplate
Restart your pc or restart the SQL services. Control Panel > Administrative Tools > Services
Coding C# ExciteTemplate
Data Source=./SQLEXPRESS ./SQLEXPRESS This is instance name. Check in your management studio if this is correct. HTH
Coding C# ExciteTemplate
Check the above reply.
Coding C# ExciteTemplate
You are missing DATABASE name in connection string.
Coding C# ExciteTemplate
http://www.connectionstrings.com/ This shall help you!!
Coding C# ExciteTemplate
Is your connection string correct? Post it
Coding C# ExciteTemplate
Is Remote Connection enabled for your SQL server instance? Goto Configuration Tools >> SQL SErver Surface Area Configuration >> Surface area configuration for services and connections Enable the remote connection by selecting local and remote connection (using both TCP/IP and named pipes) HTH
Coding C# ExciteTemplate
Put your gridview inside div and set the overflow property of the div, also set height and width properties of the div. HTH
Coding C# ExciteTemplate
nagendrathecoder wrote:
[Instead call javascript function on onClick of link
function OpenWindow()
{
var txtValue=document.getElementByID('textboxid').value;
window.open('SearchBOM.aspx&searchvalue=' + txtValue,'myWin','scrollbars=yes,width=500,height=500,resizable=no');}
HTH](javascript:;)
[Coding C#](javascript:;) ExciteTemplate
You cannot! How you think you will make 5 into 4 and 1??? It could either be 2 and 3!! Save comma separated values like 1,4 in database and then fetch, split and use them. HTH
Coding C# ExciteTemplate
Ask your question in pure English so that everybody can understand.
Coding C# ExciteTemplate
Save it in that folder using FileUpload control method. Google on FileUpload control usage.
Coding C# ExciteTemplate
Why you are repeating the post?? This should be your answer http://www.codeproject.com/Messages/3179523/access.aspx
Coding C# ExciteTemplate
mylogics wrote:
PID:Autonumber
mylogics wrote:
string str1 = "Select MAX(PID) From Product"; OleDbCommand cmd = new OleDbCommand(str1, conn); OleDbDataReader dr = null; conn.Open(); string max = cmd.ExecuteScalar().ToString(); if (max != "") { max = "PID" + max; } else { max = "PID" + 1; }
You have set the PID:Autonumber in database? If yes then no need to include it in insert/update query. It will be automatically created by database. Just include the other fields in insert/update query except PID. HTH
Coding C# ExciteTemplate
Yes - Its possible :)
Coding C# ExciteTemplate
Why do you want a custom validator even? You can just check the value of textbox before your processing begins and if its empty just display error message (whatever you want). For example on button click event you can check the value of textbox and avoid further action if its empty. HTH
Coding C# ExciteTemplate
That event calendar control should have some databinding event? You can handle that event and then use it to add controls to it. HTH
Coding C# ExciteTemplate
I haven't tried but don't this is possible. What you want to achieve? And we normally add controls to the page.
Coding C# ExciteTemplate