But how to create such this
jojoba2011
Posts
-
how to have -
how to haveHow to have windows app c# in adobe flash player? Like this link [^]
-
error in sql server 2008One of my Stored Procedures was using ۀ in its name and when i am getting script it was giving error!
-
SELECT * INTO OPENDATASOURCE<pre lang="sql">SELECT *
INTO OPENDATASOURCE('SQLNCLI',
'Data Source=.\sqlexpress;User ID=sa;Password=sa')
.[fuzzyTest].dbo.tblGroup
FROM [CMS].[Common].[File];</pre>This is not working and giving error !
I dont wanna to use
<pre lang="sql">INSERT INTO [CMS].[Common].[File]
(Name,IdParent,[Desc])
SELECT [Name],[IdOstan]+30,''
FROM OPENDATASOURCE(
'SQLOLEDB',
'Data Source=.\sqlexpress;User ID=sa;Password=sa'
).[fuzzyTest].dbo.tblGroup</pre> -
error in sql server 2008when i wanna to get script from my DB in sql server management 2008 i get this error : There is already an open DataReader associated with this Command which must be closed first.....what is meann of this error note : 1.even i stop start the instance. 2.copy the DB to other system also but same error ! thanks in advnaced !
-
Janus GridEx + asp.netcheck this site : almaselectric.tinagroup.ir when scrolling the grid,It goes out of box????/ when running on local it doesnt work correctly ?
-
Janus GridEx + asp.netI am using GridEx in VS2008 (windows 8 - x64). when i publish the app and run in IIS the janus GridEx doesnt work? my janus version is : Janus ASP.NET Server Controls 3.0.0.56 Thanks in advnaced!
-
How to execute c# statment in a string?(Compiling and Running code at runtime)thanks in advanced! My question is this : Is it possible to excute code without creating any class ....?
string sources = @"
using System;
public static class ExampleClass
{
public static void ExampleMethod()
{
Console.WriteLine(""Hello World!"");
}
}";and one more : How to use the textBox1.Text and other controls values?
-
How to execute c# statment in a string?(Compiling and Running code at runtime)thanks but i get error. Can u give me a small example!
-
How to execute c# statment in a string?(Compiling and Running code at runtime)I'm trying to find the way how to execute a string contain c# code.
Example
string st = "if (textBox1.Text == "Jon" && chkText.Checked)
MessageBox.Show("Yes!");
else
MessageBox.Show(textBox1.Text);";I want to execute st then i want to see the result in a message box.
Please kindly help me. Thank in advance!
-
how to customize datatable.Selectthanks in advnaced! But i wanna to return all cells of my datatable ! (Not filter some !!! [No where])
-
how to customize datatable.SelectI am writing a windows desktop application in C# 2008 and i wanna to have select for datatable :
IEnumerable<string> idsInA = dtd.AsEnumerable().Select(row => (string)row["ID"]);
it filters only on one row (ex.ID) but the thing i wanna is for three rows (ex:ID , Title , Path) Ho i can do that ?
-
javascript __dopostback System.NullReferenceExceptionQuote:
**_This doesn't seem like it should be that hard, so if someone could just give me a kick in the right direction, that'd be awesome._**
-
javascript __dopostback System.NullReferenceExceptionnot used! Cause :
var grid = document.getElementById('<%=gvWorkReportList.ClientID%>');
is not null . but this code :
gvWorkReportList.FooterRow
is null. Thnaks in advanced!
-
javascript __dopostback System.NullReferenceExceptionthanks for solution. But i dont need to get access when it is invisible. How i can control it if gridview in invisible the the code
__doPostBack('<%=gvWorkReportList.FooterRow.FindControl("lnkAdd").UniqueID%>', '');
doesnt run. Thanks in advanced!
-
javascript __dopostback System.NullReferenceExceptionHere's the problem : When the gvWorkReportList is invisble and gvWorkReportList.FooterRow =null in page loading i get the bellow error :
Quote:
System.NullReferenceException: Object reference not set to an instance of an object. the error is on this part of code : __doPostBack('<%=gvWorkReportList.FooterRow.FindControl("lnkAdd").UniqueID%>', '');
Quote:
this is the piece of my code!
<script type="text/javascript">
function KeyDownHandler() { // process only the Enter key if (event.keyCode == 13) { \_\_doPostBack('<%=gvWorkReportList.FooterRow.FindControl("lnkAdd").UniqueID%>', ''); } } </script>
This doesn't seem like it should be that hard, so if someone could just give me a kick in the right direction, that'd be awesome. I have used these solution but it dosen't work :
var grid = document.getElementById('<%=gvWorkReportList.FooterRow.FindControl("lnkAdd").UniqueID%>');
if (grid != null) {
__doPostBack('<%=gvWorkReportList.FooterRow.FindControl("lnkAdd").UniqueID%>', '');}
var grid = document.getElementById("ctl00_ContentPlaceHolderContent_gvWorkReportList");
if (grid != null) {
__doPostBack('<%=gvWorkReportList.FooterRow.FindControl("lnkAdd").UniqueID%>', '');}
var gridFooter = gvWorkReportList.FooterRow;
if (gridFooter != null) {
__doPostBack('<%=gvWorkReportList.FooterRow.FindControl("lnkAdd").UniqueID%>', '');}
-
three div side by sidethanks for solution but i wanna to have something like this and increase center div width automatically
Quote:
this is image when i have three divs : http://i49.tinypic.com/35l85jc.jpg and when the left div is empty i wanna have like : http://i49.tinypic.com/24zfwug.jpg
-
three div side by sidethnaks in advanced but i wanna do without Ajax or ... Just with CSS only! Thanks in advanced !
-
three div side by sidethanks in advanced but its not working! In other word :
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication1.WebForm2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
<style type="text/css">
#left
{
width: 270px;
float: left;
border: solid 1px red;
}
#center
{
margin-left: 10px;
width: 740px;
border: solid 1px green;
float: left;
margin-right: 10px;
}
#right
{
width: 255px;
float: right;
border: solid 1px red;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<br />
<div id="left">
Test Left</div>
<div id="center">
Test center</div>
<div id="right">
Test Right</div>
<br />
<br />
</form>
</body>
</html>this is image when i have three divs : http://i49.tinypic.com/35l85jc.jpg and when the left div is empty i wanna have like : http://i49.tinypic.com/24zfwug.jpg
-
three div side by sideThis doesn't seem like it should be that hard, so if someone could just give me a kick in the right direction, that'd be awesome. I have googled for two div bellow code : $(function() { var right = $("#center"); $("#toggle").click(function() { $("#left").animate({ "width": "toggle" }, { duration: 250, step: function() { right.css("margin-left", $(this).width()); } }, function() { right.css("margin-left", $("#left").width()); }); }); }); #left { width: 270px; float: left; border: solid 1px red; } #center { margin-left: 270px; border: solid 1px green; } <pre lang="xml"><div id="left"> Test</div> <div id="center"> Test Right</div></pre> now guess that i have three div, i wanna to have same as above. ------------------------------- |left div|center div|right div | ------------------------------- the right and left div are always 170 px (for ex.) and i wanna do that when my left div is empty my center div become bigger (same as below code) and all three div should be side by side .and when my left div is empty the center div become bigger and right div be side of center div. Thanks in advanced !</x-turndown>