|
Why are you trying to insert an identity value? These are usually incremented automatically when a row is inserted into the DB and inserting your own value could cause a duplication in this column. You can open the table in Management Studio and turn off the indentity property for the column.
Mike
|
|
|
|
|
i'm using BlogID as primary key in Blog table & as a foreign key in Comment table.i'm trying to save BlogID manually in comment table from Query String in comment page.Tell me how i can do it?
|
|
|
|
|
|
Hi fellows,
How could i access an ms outlook public calendar and add events or appointment through code into that calendear?
Could anyone of you suggest me some guidelines.
Thanks
|
|
|
|
|
|
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
|
|
|
|
|
|
|
Hi,
I dont work with vb.net I added this code in the file Default.aspx.vb
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />
fldRoles.Text = String.Format("User {0} has in the following roles:", My.User.Name)<br />
For Each arole As String In Roles.GetRolesForUser(My.User.Name)<br />
fldRoles.Text += String.Format("<br/>{0}", arole)<br />
Next<br />
If My.User.IsInRole("AdminModule1") Then<br />
Response.Redirect("adminM1/nn.aspx")<br />
Response.End()<br />
ElseIf My.User.IsInRole("AdminModule2") Then<br />
Response.Redirect("adminM2/nn.aspx")<br />
Response.End()<br />
ElseIf My.User.IsInRole("AdminModule3") Then<br />
Response.Redirect("adminM3/nn.aspx")<br />
Response.End()<br />
<br />
End If<br />
End Sub but no result
Thanks
|
|
|
|
|
Hi To All,
Please help me to solve my problem.
I am developing a web application. In that I need To Scan Document Through Scanner. I am not getting how i should implement, What resources I should use to get the device. I also want to set the path through code and after scanning the image, It should be displayed on My webPage.
Please Help Me. And I will be glad if you Reply with Sample Code.
Thanks & Regards
Sanket Patil
.
|
|
|
|
|
Hi,
I use a package from "VintaSoft Twain.NET SDK" for scanning. Really easy to use and implemented. I am new to C# dev and I managed to build a scanning app in a day or two. They inlcude a sample application to get you started. (http://www.vintasoft.com/[^])
Cheers
Q
|
|
|
|
|
Hi,
I have a webform with many controls. On click of a button a jquery modal window populates with the details of say products of an organisation. in the popup these results are being rendered thru a webservice and bound to a gridview. on selecting any one product I want to transfer all the details back to main form and close the modal. Also if user doesn't want any of the products, user should just close and come back to main page.
Till now I have been able to get a jquery modal in button click and have loaded the other aspx form in the modal dialog. I am able to pass hardcoded values but unable to pass selected parameters !! Also I cannot return the values back from the aspx loaded in modal back to parent form.
<pre>
$(
function(){
/* Modal Dialog Box Configuration */
$(
"#addproductsForm").dialog({
autoOpen:
false,
modal:
true,
overlay: {
"background-color": "#000",
"opacity": "0.5",
"-moz-opacity": "0.5"
}
});
$(
"#btnAddSession").click(function(event){
$(
"#addproductsForm").dialog("open");
//event.preventDefault();
return false;
});
});
<
div id="addproductsForm" title="Dialog Title" >
<
iframe src = "WebForm4.aspx?id='jack'&id2='jill'" width="480"></iframe>
</
div>
</pre>
How do i trap the click event of the gridview checkbox select to send the vales back to the parent window and also close the modal
|
|
|
|
|
problem solved already...
suchita
modified on Monday, January 31, 2011 10:39 AM
|
|
|
|
|
I want to check event when textBox get focus.
i search internet and find out a way which use javascript.
Blow address is which i found out.
http://ryanfarley.com/blog/archive/2004/12/21/1325.aspx
but i want to control in server control.
Is it possible?
Have a nice Day.
hi
My english is a little.
anyway, nice to meet you~~
and give me your advice anytime~
|
|
|
|
|
Use the JavaScript way and fire a PostBack from the client-side.
|
|
|
|
|
Hi,
I'm using at my application a serval sessions.
For ex:
Session["StartTime"]
Session["EndTime"]
Session["UserName"]
and i'm trying to give them a time out
I tried to add to the web.config:
<SessionState TimeOut="60"/></
But it dosen't work.
How i can give each session a time out?
Can someone please help me?
|
|
|
|
|
You are somewhat confused about what Session is. Session is one single object. You do not have three Sessions, you have three Session variables.
ASP.NET Session State Overview[^]
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
error web service hexadecimal value 0x0E, is an invalid character.
what is soluation for this problem?
Regards,
Rami Sa'id Abdalhalim
Technical Team Leader
Amman Commercial Complex
Ommayah Str. Al-Abdali
Tel: +962 6 5696500 Ext.235
Mobile:+962 79 5366016
Email:r.abdalhalim@alghanem.com.jo
www.alghanemgroup.com
|
|
|
|
|
hi,
please check whether Webservice has any error. If not, check the response you are receiving from web service contains any invalid char to xml(like '&'). hope it would shed some light on your problem.
|
|
|
|
|
Error Webservice (hexadecimal value 0x0E, is an invalid character)
how can solve this problem?
Regards,
Rami Sa'id Abdalhalim
Technical Team Leader
Amman Commercial Complex
Ommayah Str. Al-Abdali
Tel: +962 6 5696500 Ext.235
Mobile:+962 79 5366016
Email:r.abdalhalim@alghanem.com.jo
www.alghanemgroup.com
|
|
|
|
|
1) Remove the duplicate posting.
2) We need more details.
3) Google.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
By providing more information.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
How to put logo(jpeg image) in crystal reports in vb .net?Hope ur help.
|
|
|
|
|
|
hi,
follow below steps..
1. create one typed dataset with binary (blob) column or add new column of blob if you are already using the typed dataset.
2. convert your image into binary object
3. load it in that column and bind it in your rpt of crystal report.
Hope this helps..
|
|
|
|